certauth 1.8.2
This commit is contained in:
		@@ -1,20 +1,21 @@
 | 
			
		||||
<? I18N znc-certauth ?>
 | 
			
		||||
<? INC Header.tmpl ?>
 | 
			
		||||
 | 
			
		||||
<div class="container col-md-10 col-md-offset-1">
 | 
			
		||||
	<div class="panel panel-default">
 | 
			
		||||
		<div class="panel-heading">Certauth — Add A Note</div>
 | 
			
		||||
		<div class="panel-heading"><? FORMAT "Add a key" ?></div>
 | 
			
		||||
			<div class="panel-body">
 | 
			
		||||
				<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>add">
 | 
			
		||||
				<? INC _csrf_check.tmpl ?>
 | 
			
		||||
				<div class="form-group">
 | 
			
		||||
					<label for="inputKey" class="col-sm-2 control-label">Key:</label>
 | 
			
		||||
					<label for="inputKey" class="col-sm-2 control-label"><? FORMAT "Key:" ?></label>
 | 
			
		||||
						<div class="col-sm-10">
 | 
			
		||||
							<input type="text" class="form-control" id="inputKey" name="key" size="40">
 | 
			
		||||
						</div>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<? IF !KeyLoop ?>
 | 
			
		||||
					<p class="text-center">You have no keys.</p>
 | 
			
		||||
					<p class="text-center"><? FORMAT "You have no keys." ?></p>
 | 
			
		||||
				<? ELSE ?>
 | 
			
		||||
				
 | 
			
		||||
				<br />
 | 
			
		||||
@@ -22,14 +23,14 @@
 | 
			
		||||
				<table class="table table-bordered table-hover">
 | 
			
		||||
					<thead>
 | 
			
		||||
						<tr>
 | 
			
		||||
							<td>Action</td>
 | 
			
		||||
							<td>Key</td>
 | 
			
		||||
							<td></td>
 | 
			
		||||
							<td><? FORMAT CTX="web" "Key" ?></td>
 | 
			
		||||
						</tr>
 | 
			
		||||
					</thead>
 | 
			
		||||
					<tbody>
 | 
			
		||||
						<? LOOP KeyLoop ?>
 | 
			
		||||
						<tr>
 | 
			
		||||
							<td><a href="<? VAR ModPath ?>delete?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs">Delete</a></td>
 | 
			
		||||
							<td><a href="<? VAR ModPath ?>delete?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs"><? FORMAT "del" ?></a></td>
 | 
			
		||||
							<td><? VAR Key ?></td>
 | 
			
		||||
						</tr>
 | 
			
		||||
						<? ENDLOOP ?>
 | 
			
		||||
@@ -40,7 +41,7 @@
 | 
			
		||||
			
 | 
			
		||||
			<div class="panel-footer text-right">
 | 
			
		||||
				<input class="btn btn-danger" type="reset" value="Reset">
 | 
			
		||||
				<input class="btn btn-success" type="submit" name="add" value="Add Key" />
 | 
			
		||||
				<input class="btn btn-success" type="submit" name="add" value="<? FORMAT "Add Key" ?>" />
 | 
			
		||||
			</div>	
 | 
			
		||||
			</form>
 | 
			
		||||
	</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user