mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Prefix links in templates with URIPrefix and add the input field to the Listener editor. The URIPrefix is provided as a top-level template variable. All URIs have been changed to have the prefix prepended.
28 lines
889 B
Cheetah
28 lines
889 B
Cheetah
<? INC Header.tmpl ?>
|
|
|
|
<? IF Cert ?>
|
|
<p>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.</p>
|
|
<? ELSE ?>
|
|
<p>You do not have a cert.</p>
|
|
<? ENDIF ?>
|
|
|
|
<form method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
|
|
<? INC _csrf_check.tmpl ?>
|
|
<div class="section">
|
|
<h3>Certificate</h3>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection full">
|
|
<div class="inputlabel">PEM File:</div>
|
|
<textarea name="cert" style="height: 300px;"></textarea>
|
|
</div>
|
|
<div class="subsection submitline">
|
|
<input type="submit" name="add" value="Update" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<? INC Footer.tmpl ?>
|