Files
znc/modules/webadmin/skins/default/Settings.tmpl
prozacx 2a7cd84ec0 Made changes to validate on w3.org
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@662 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 07:46:39 +00:00

118 lines
3.4 KiB
Cheetah

<? INC Header.tmpl ?>
<form action="/settings" method="post">
<div class="section">
<input type="hidden" name="submitted" value="1" />
<div class="sectiontitle">Listen Port(s)</div>
<div class="sectionbg">
<div class="sectionbody">
<div class="subsection">
<div>
<table>
<thead>
<tr>
<td>Port</td>
<td>BindHost</td>
<td>SSL</td>
<td>IPv6</td>
</tr>
</thead>
<? LOOP ListenLoop ?>
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
<td><? VAR Port ESC=HTML ?></td>
<td><? VAR BindHost ESC=HTML DEFAULT=* ?></td>
<td><? IF IsSSL ?>True<? ENDIF ?></td>
<td><? IF IsIPV6 ?>True<? ENDIF ?></td>
</tr>
<? ENDLOOP ?>
</table>
</div>
</div>
<div style="clear: both;"></div>
</div>
</div>
</div>
<div class="section">
<div class="sectiontitle">Settings</div>
<div class="sectionbg">
<div class="sectionbody">
<div class="subsection">
<div class="inputlabel">Skin:</div>
<div>
<select name="skin">
<? LOOP SkinLoop ?>
<option value="<? VAR Name ESC=HTML ?>"<? IF Checked ?> selected="selected"<? ENDIF ?>><? VAR Name ESC=HTML ?></option>
<? ENDLOOP ?>
</select>
</div>
</div>
<div style="clear: both;"></div>
<div class="subsection">
<div class="inputlabel">Status Prefix:</div>
<div><input type="text" name="statusprefix" value="<? VAR StatusPrefix ESC=HTML ?>" size="32" maxlength="128" /></div>
</div>
<div style="clear: both;"></div>
<div class="subsection">
<div class="inputlabel">ISpoofFile:</div>
<div><input type="text" name="ispooffile" value="<? VAR ISpoofFile ESC=HTML ?>" size="32" maxlength="128" /></div>
</div>
<div class="subsection">
<div class="inputlabel">ISpoofFormat:</div>
<div><input type="text" name="ispoofformat" value="<? VAR ISpoofFormat ESC=HTML ?>" size="32" maxlength="128" /></div>
</div>
<div style="clear: both;"></div>
<div class="subsection">
<div class="inputlabel">MOTD:</div>
<div><textarea name="motd" cols="70" rows="5"><? LOOP MOTDLoop ?><? VAR Line ESC=HTML ?>
<? ENDLOOP ?>
</textarea></div>
</div>
<div class="subsection">
<div class="inputlabel">VHosts:</div>
<div><textarea name="vhosts" cols="70" rows="8"><? LOOP VHostLoop ?><? VAR VHost ESC=HTML ?>
<? ENDLOOP ?>
</textarea></div>
</div>
<div style="clear: both;"></div>
</div>
</div>
</div>
<div class="section">
<div class="sectiontitle">Global Modules</div>
<div class="sectionbg">
<div class="sectionbody">
<table>
<thead>
<tr>
<td>Name</td>
<td>Arguments</td>
<td>Description</td>
</tr>
</thead>
<? LOOP ModuleLoop ?>
<tr class="background: <? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
<td><input type="checkbox" name="loadmod" id="lm_<? VAR Name ESC=HTML ?>" value="<? VAR Name ESC=HTML ?>"<? IF Checked ?> checked="checked"<? ENDIF ?><? IF Disabled ?> disabled="disabled"<? ENDIF ?> /><label for="lm_<? VAR Name ESC=HTML ?>"> <? VAR Name ESC=HTML ?></label></td>
<td><input type="text" name="modargs_<? VAR Name ESC=HTML ?>" value="<? VAR Args ESC=HTML ?>" /></td>
<td><? VAR Description ?></td>
</tr>
<? ENDLOOP ?>
</table>
</div>
</div>
</div>
<div>
<input type="submit" value="Submit" />
</div>
</form>
<? INC Footer.tmpl ?>