mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Instead of having the template files and images in /usr/share/znc/www/<mod>/, modules now get to use /usr/share/znc/<mod>/tmpl/ and files/ for this purpose. This puts those directories for static data to good use again and might even fix some bugs (after all, the code for that dir is older and more tested than the new code for www/). git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1997 726aef4b-f618-498e-8847-2d620e286838
133 lines
4.0 KiB
Cheetah
133 lines
4.0 KiB
Cheetah
<? INC Header.tmpl ?>
|
|
|
|
<form action="settings" method="post">
|
|
<? INC _csrf_check.tmpl ?>
|
|
<div class="section">
|
|
<input type="hidden" name="submitted" value="1" />
|
|
|
|
<h3>Listen Port(s)</h3>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection">
|
|
<div>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td>Port</td>
|
|
<td>BindHost</td>
|
|
<td>SSL</td>
|
|
<td>IPv4</td>
|
|
<td>IPv6</td>
|
|
<td>IRC</td>
|
|
<td>Web</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<? LOOP ListenLoop ?>
|
|
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? 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>
|
|
<td><? IF IsIRC ?>Yes<? ELSE ?>No<? ENDIF ?></td>
|
|
<td><? IF IsWeb ?>Yes<? ELSE ?>No<? ENDIF ?></td>
|
|
</tr>
|
|
<? ENDLOOP ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h3>Settings</h3>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<div class="subsection">
|
|
<div class="inputlabel">Skin:</div>
|
|
<div>
|
|
<select name="skin">
|
|
<? LOOP SkinLoop ?>
|
|
<option value="<? VAR Name ?>"<? IF Checked ?> selected="selected"<? ENDIF ?>><? IF Name == "_default_" ?>Default<? ELSE ?><? VAR Name ?><? ENDIF ?></option>
|
|
<? ENDLOOP ?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div class="subsection third">
|
|
<div class="inputlabel">Status Prefix:</div>
|
|
<div><input type="text" name="statusprefix" value="<? VAR StatusPrefix ?>" /></div>
|
|
<br /><span class="info">Default for new users only.</span>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div class="subsection half">
|
|
<div class="inputlabel">ISpoofFile:</div>
|
|
<div><input type="text" name="ispooffile" value="<? VAR ISpoofFile ?>" /></div>
|
|
<br /><span class="info">Example: ~/.oidentd.conf</span>
|
|
</div>
|
|
|
|
<div class="subsection half">
|
|
<div class="inputlabel">ISpoofFormat:</div>
|
|
<div><input type="text" name="ispoofformat" value="<? VAR ISpoofFormat ?>" /></div>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
|
|
<div class="subsection twothird">
|
|
<div class="inputlabel">MOTD:</div>
|
|
<div><textarea name="motd" cols="70" rows="5" class="monospace"><? LOOP MOTDLoop ?><? VAR Line ?>
|
|
<? ENDLOOP ?>
|
|
</textarea></div>
|
|
<br /><span class="info">"Message of the Day", sent to all ZNC users on connect.</span>
|
|
</div>
|
|
|
|
<div class="subsection twothird">
|
|
<div class="inputlabel">VHosts:</div>
|
|
<div><textarea name="vhosts" cols="70" rows="8"><? LOOP VHostLoop ?><? VAR VHost ?>
|
|
<? ENDLOOP ?>
|
|
</textarea></div>
|
|
<br /><span class="info">One host name or IP entry per line.</span>
|
|
</div>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="section">
|
|
<h3>Global Modules</h3>
|
|
<div class="sectionbg">
|
|
<div class="sectionbody">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td>Name</td>
|
|
<td>Arguments</td>
|
|
<td>Description</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<? LOOP ModuleLoop ?>
|
|
<tr class="<? IF __EVEN__ ?>evenrow<? ELSE ?>oddrow<? ENDIF ?>">
|
|
<td class="mod_name"><input type="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></td>
|
|
<td class="mod_args"><input type="text" name="modargs_<? VAR Name ?>" value="<? VAR Args ?>" /></td>
|
|
<td class="mod_descr"><? VAR Description ?></td>
|
|
</tr>
|
|
<? ENDLOOP ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="submitline">
|
|
<input type="submit" value="Save" />
|
|
</div>
|
|
</form>
|
|
|
|
<? INC Footer.tmpl ?>
|