cert 1.8.2
This commit is contained in:
		@@ -1,19 +1,21 @@
 | 
			
		||||
<? I18N znc-cert ?>
 | 
			
		||||
<? INC Header.tmpl ?>
 | 
			
		||||
 | 
			
		||||
<div class="container col-md-10 col-md-offset-1">
 | 
			
		||||
	<div class="panel panel-default">
 | 
			
		||||
		<div class="panel-heading">Certificate</div>
 | 
			
		||||
		<div class="panel-heading"><? FORMAT "Certificate" ?></div>
 | 
			
		||||
			<div class="panel-body">
 | 
			
		||||
				<? IF Cert ?>
 | 
			
		||||
					<div class="alert alert-success">You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click <a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">here</a> to <a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">delete</a> your certificate.</div>
 | 
			
		||||
				<? SETBLOCK DELLINK ?><a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete"><? FORMAT "here" "TRANSLATORS: this text is inserted into `click here` in the other string"?></a><? ENDSETBLOCK ?>
 | 
			
		||||
					<div class="alert alert-success"><? FORMAT "You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click {1} to delete your certificate." "DELLINK ESC=" "TRANSLATORS: {1} is `here`, translateable in the other string" ?></div>
 | 
			
		||||
				<? ELSE ?>
 | 
			
		||||
					<div class="alert alert-danger">You do not have a cert.</div>
 | 
			
		||||
					<div class="alert alert-danger"><? FORMAT "You do not have a certificate yet." ?></div>
 | 
			
		||||
				<? ENDIF ?>
 | 
			
		||||
 | 
			
		||||
				<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
 | 
			
		||||
				<? INC _csrf_check.tmpl ?>
 | 
			
		||||
					<div class="form-group">
 | 
			
		||||
					<label for="inputPEM" class="col-sm-2 control-label">PEM File: </label>
 | 
			
		||||
					<label for="inputPEM" class="col-sm-2 control-label"><? FORMAT "PEM File:" ?></label>
 | 
			
		||||
						<div class="col-sm-10">
 | 
			
		||||
							<textarea class="form-control" rows="5" name="cert"></textarea>
 | 
			
		||||
						</div>
 | 
			
		||||
@@ -21,7 +23,7 @@
 | 
			
		||||
			</div>	
 | 
			
		||||
			<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="Update" />
 | 
			
		||||
				<input class="btn btn-success" type="submit" name="add" value="<? FORMAT "Update" ?>" />
 | 
			
		||||
			</div>
 | 
			
		||||
		</form>	
 | 
			
		||||
	</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user