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.
29 lines
685 B
Cheetah
29 lines
685 B
Cheetah
<? INC Header.tmpl ?>
|
|
|
|
<form method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>">
|
|
<? INC _csrf_check.tmpl ?>
|
|
<table class="data">
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Sticky</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<? LOOP ChannelLoop SORTASC=Name ?>
|
|
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
|
|
<td><? VAR Name ?></td>
|
|
<td><input type="checkbox" name="stick_<? VAR Name ?>"<? IF Sticky ?> checked="checked"<? ENDIF ?> /></td>
|
|
</tr>
|
|
<? ENDLOOP ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="submitline">
|
|
<input type="hidden" name="submitted" value="1" />
|
|
<input type="submit" value="Save" />
|
|
</div>
|
|
</form>
|
|
|
|
<? INC Footer.tmpl ?>
|