cert 1.8.2
This commit is contained in:
parent
670e8c8b02
commit
df3deb7dc4
@ -1,19 +1,21 @@
|
|||||||
|
<? I18N znc-cert ?>
|
||||||
<? INC Header.tmpl ?>
|
<? INC Header.tmpl ?>
|
||||||
|
|
||||||
<div class="container col-md-10 col-md-offset-1">
|
<div class="container col-md-10 col-md-offset-1">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">Certificate</div>
|
<div class="panel-heading"><? FORMAT "Certificate" ?></div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<? IF Cert ?>
|
<? 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 ?>
|
<? 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 ?>
|
<? ENDIF ?>
|
||||||
|
|
||||||
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
|
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
|
||||||
<? INC _csrf_check.tmpl ?>
|
<? INC _csrf_check.tmpl ?>
|
||||||
<div class="form-group">
|
<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">
|
<div class="col-sm-10">
|
||||||
<textarea class="form-control" rows="5" name="cert"></textarea>
|
<textarea class="form-control" rows="5" name="cert"></textarea>
|
||||||
</div>
|
</div>
|
||||||
@ -21,9 +23,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-footer text-right">
|
<div class="panel-footer text-right">
|
||||||
<input class="btn btn-danger" type="reset" value="Reset">
|
<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>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user