Files
znc/modules/data/cert/tmpl/index.tmpl
T
Kyle Fuller b1ed9c9b74 Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
2012-02-09 17:07:28 +00:00

28 lines
831 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 ModPath ?>delete">here</a> to <a href="<? VAR ModPath ?>delete">delete</a> your certificate.</p>
<? ELSE ?>
<p>You do not have a cert.</p>
<? ENDIF ?>
<form method="post" action="<? 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>
<div><textarea name="cert" style="height: 300px;"></textarea></div>
</div>
<div class="subsection submitline">
<input type="submit" name="add" value="Update" />
</div>
</div>
</div>
</div>
</form>
<? INC Footer.tmpl ?>