templates for new options management

This commit is contained in:
lars 2006-01-04 00:39:44 +00:00
parent b999b98183
commit 8521eb2f5a
30 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,3 @@
<!-- enable remote administration -->
<?cs call:checkbox("r") ?>

View file

@ -0,0 +1,2 @@
<!-- administrators may edit text files via mail -->
<?cs call:checkbox("n") ?>

View file

@ -0,0 +1,2 @@
<!-- administrators may request subscribers list -->
<?cs call:checkbox("l") ?>

View file

@ -0,0 +1,2 @@
<!-- remove 'no-archive' header -->
<?cs call:checkbox("i") ?>

View file

@ -0,0 +1,2 @@
<!-- use deny list -->
<?cs call:checkbox("k") ?>

View file

@ -0,0 +1,2 @@
<!-- only moderators may post -->
<?cs call:checkbox("o") ?>

View file

@ -0,0 +1,2 @@
<!-- block unknown users from archive -->
<?cs call:checkbox("g") ?>

View file

@ -0,0 +1,2 @@
<!-- only subscribers may post -->
<?cs call:checkbox("u") ?>

View file

@ -0,0 +1,2 @@
<!-- require confirmation from poster -->
<?cs call:checkbox("y") ?>

View file

@ -0,0 +1,2 @@
<!-- do not require confirmation for subscription -->
<?cs call:checkbox("h") ?>

View file

@ -0,0 +1,2 @@
<!-- do not require confirmation for unsubscribe -->
<?cs call:checkbox("j") ?>

View file

@ -0,0 +1,2 @@
<!-- from address -->
<?cs call:setting("3") ?>

View file

@ -0,0 +1,4 @@
<!-- headeradd -->
<?cs var:html_escape(Lang.Misc.HeaderAdd) ?>:<br/>
<ul><li><textarea name="headeradd" rows="5" cols="70"><?cs
var:html_escape(Data.List.HeaderAdd) ?></textarea></li></ul>

View file

@ -0,0 +1,4 @@
<!-- headerremove -->
<?cs var:html_escape(Lang.Misc.HeaderRemove) ?>:<br/>
<ul><li><textarea name="headerremove" rows="5" cols="70"><?cs
var:html_escape(Data.List.HeaderRemove) ?></textarea></li></ul>

View file

@ -0,0 +1,2 @@
<!-- set main list name -->
<?cs call:setting("0") ?>

View file

@ -0,0 +1,9 @@
<!-- mimeremove and mimereject -->
<?cs call:checkbox("x") ?>
<?cs if:(Data.List.Options.x == 1) ?><ul>
<!-- turn off mimermove, if "-x" is not activated, as it will be
removed during the next config_update -->
<?cs call:display_option('mimereject') ?>
<?cs call:display_option('mimeremove') ?>
</ul><?cs /if ?>

View file

@ -0,0 +1,5 @@
<!-- turn off mimermove, if "-x" is not activated, as it will be
removed during the next config_update -->
<?cs var:html_escape(Lang.Misc.MimeReject) ?>:<br/>
<textarea name="mimereject" rows="4" cols="70"><?cs
var:html_escape(Data.List.MimeReject) ?></textarea>

View file

@ -0,0 +1,5 @@
<!-- turn off mimermove, if "-x" is not activated, as it will be
removed during the next config_update -->
<?cs var:html_escape(Lang.Misc.MimeRemove) ?>:<br/>
<textarea name="mimeremove" rows="4" cols="70"><?cs
var:html_escape(Data.List.MimeRemove) ?></textarea>

View file

@ -0,0 +1,2 @@
<!-- posted messages are moderated -->
<?cs call:checkbox("m") ?>

View file

@ -0,0 +1,2 @@
<!-- messsage moderator path -->
<?cs call:setting("7") ?>

View file

@ -0,0 +1,2 @@
<!-- moderate subscription -->
<?cs call:checkbox("s") ?>

View file

@ -0,0 +1,2 @@
<!-- custom path to subscription moderators -->
<?cs call:setting("8") ?>

View file

@ -0,0 +1,9 @@
<!-- message size limit -->
<input type="checkbox" name="msgsize_max_state"
value="selected" id="msgsize_max_state" <?cs
if:Data.List.MsgSize.Max>0 ?>checked="checked"<?cs /if ?> />
<label for="msgsize_max_state"><?cs var:html_escape(Lang.Misc.MessageSize.Max) ?></label>
<ul><li><input type="text" name="msgsize_max_value" size="10"
style="text-align:right" value="<?cs
alt:Data.List.MsgSize.Max ?>30000<?cs /alt ?>" /> <?cs
var:html_escape(Lang.Misc.MessageSize.Unit) ?></li></ul>

View file

@ -0,0 +1,9 @@
<!-- message size limit -->
<input type="checkbox" name="msgsize_min_state"
value="selected" id="msgsize_min_state" <?cs
if:Data.List.MsgSize.Min>0 ?>checked="checked"<?cs /if ?> />
<label for="msgsize_min_state"><?cs var:html_escape(Lang.Misc.MessageSize.Min) ?></label>
<ul><li><input type="text" name="msgsize_min_value" size="10"
style="text-align:right" value="<?cs
alt:Data.List.MsgSize.Min ?>2<?cs /alt ?>" /> <?cs
var:html_escape(Lang.Misc.MessageSize.Unit) ?></li></ul>

View file

@ -0,0 +1,2 @@
<!-- mysql database -->
<?cs call:setting("6") ?>

View file

@ -0,0 +1,2 @@
<!-- list owner address -->
<?cs call:setting("5") ?>

View file

@ -0,0 +1,5 @@
<!-- subject prefix -->
<?cs call:checkbox("f") ?>
<ul><li><input type="text" name="prefix" value="<?cs
var:html_escape(Data.List.Prefix) ?>" size="70" />
</li></ul>

View file

@ -0,0 +1,2 @@
<!-- public subsccription and archive -->
<?cs call:checkbox("p") ?>

View file

@ -0,0 +1,8 @@
<!-- trailing text -->
<?cs call:checkbox("t") ?>
<?cs if:(Data.List.Options.t == 1) ?>
<!-- turn off trailaer, if "-t" is not activated, as it will be
removed during the next config_update -->
<ul><li><textarea name="trailing_text" rows="3" cols="72"><?cs
var:html_escape(Data.List.TrailingText) ?></textarea></li>
</ul><?cs /if ?>

View file

@ -0,0 +1,7 @@
<!-- ezmlm-web administators -->
<?cs var:html_escape(Lang.Misc.AllowedToEdit) ?>
<ul><li><input type="text"
name="webusers" value="<?cs var:html_escape(Data.List.WebUsers)
?>" size="40" /><br/>
</li></ul>