Files
znc/modules/www/webadmin/settings.tmpl
cflakes 6c5421b021 Deleted obsolete modules/webadmin dir, copied CSS files for ice & default to
webskins dir, made default the _default_ skin, moved dark-clouds to dark-clouds,
added /skinfiles/ feature to base skins on each other (and not only on default).

Next up: re-adding help texts that got lost during webadmin->webmods transition,
making skins look nice again.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1868 726aef4b-f618-498e-8847-2d620e286838
2010-04-04 10:27:33 +00:00

152 lines
3.4 KiB
Cheetah

<? INC Header.tmpl ?>
<form action="settings" method="POST">
<input type="hidden" name="submitted" value="1">
<table class="section">
<thead><tr><td>Listen Port(s)</td></tr></thead>
<tbody>
<tr>
<td>
<table class="data">
<thead>
<tr>
<td>Port</td>
<td>BindHost</td>
<td>SSL</td>
<td>IPv4</td>
<td>IPv6</td>
</tr>
</thead>
<tbody>
<? LOOP ListenLoop ?>
<tr class="<? IF __EVEN__ ?>altrow<? ENDIF ?>">
<td><? VAR Port ?></td>
<td><? VAR BindHost DEFAULT=** ?></td>
<td><? IF IsSSL ?>Yes<? ELSE ?>No<? ENDIF ?></td>
<td><? IF IsIPV4 ?>Yes<? ELSE ?>No<? ENDIF ?></td>
<td><? IF IsIPV6 ?>Yes<? ELSE ?>No<? ENDIF ?></td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table class="section">
<thead><tr><td colspan="2">Settings</td></tr></thead>
<tbody>
<tr>
<td>
Skin:
</td>
<td>
<? IF SkinLoop ROWS > 1 ?>
<select name="skin">
<? LOOP SkinLoop ?>
<option value="<? VAR Name ?>"<? IF Checked ?> selected="selected"<? ENDIF ?>><? VAR Name ?></option>
<? ENDLOOP ?>
</select>
<? ELSE ?>
No other skins found
<? ENDIF ?>
</td>
</tr>
<tr>
<td>
Status prefix:
</td>
<td>
<input type="text" name="statusprefix" value="<? VAR StatusPrefix ?>" size="32" maxlength="128">
</td>
</tr>
<tr>
<td>
ISpoofFile:
</td>
<td>
<input type="text" name="ispooffile" value="<? VAR ISpoofFile ?>" size="32" maxlength="128">
</td>
</tr>
<tr>
<td>
ISpoofFormat:
</td>
<td>
<input type="text" name="ispoofformat" value="<? VAR ISpoofFormat ?>" size="32" maxlength="128">
</td>
</tr>
<tr>
<td>
MOTD:
</td>
<td>
<textarea name="motd" cols="10" rows="5"><? LOOP MOTDLoop ?><? VAR Line ?>
<? ENDLOOP ?>
</textarea>
</td>
</tr>
<tr>
<td>
VHosts:
</td>
<td>
<textarea name="vhosts" cols="10" rows="5"><? LOOP VHostLoop ?><? VAR VHost ?>
<? ENDLOOP ?>
</textarea>
</td>
</tr>
</tbody>
</table>
<table class="section">
<thead><tr><td>Global Module(s)</td></tr></thead>
<tbody>
<tr>
<td>
<table class="data">
<thead>
<tr>
<td>Name</td>
<td>Arguments</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<? LOOP ModuleLoop ?>
<tr class="<? IF __EVEN__ ?>altrow<? ENDIF ?>">
<td><span class="nowrap"><input type="checkbox" class="checkbox" name="loadmod" id="lm_<? VAR Name ?>" value="<? VAR Name ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ?>"> <? VAR Name ?></label></span></td>
<td><input type="text" name="modargs_<? VAR Name ?>" value="<? VAR Args ?>" /></td>
<td><? VAR Description ?></td>
</tr>
<? ENDLOOP ?>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<br><br>
<input type="submit" value="Save settings" />
</form>
<? INC Footer.tmpl ?>