utf-8 support fixed
pretty names work again fixed check for added mail addresses config_all added error messages for list creation clarified
This commit is contained in:
parent
126291edf7
commit
2b79935e9e
12 changed files with 280 additions and 77 deletions
163
ezmlm-web-3.0/template/config_all.cs
Normal file
163
ezmlm-web-3.0/template/config_all.cs
Normal file
|
@ -0,0 +1,163 @@
|
|||
<div class="title">
|
||||
<h1><?cs var:html_escape(Lang.Title.ConfigAll) ?></h1>
|
||||
</div>
|
||||
|
||||
<div class="introduction">
|
||||
<p><?cs var:html_escape(Lang.Introduction.ConfigAll) ?></p>
|
||||
</div>
|
||||
|
||||
<fieldset class="form">
|
||||
<legend><?cs var:html_escape(Lang.Legend.ConfigAll) ?> </legend>
|
||||
|
||||
<form method="post" action="<?cs var:ScriptName ?>" enctype="application/x-www-form-urlencoded">
|
||||
<input type="hidden" name="config_subset" value="all" />
|
||||
|
||||
<ul>
|
||||
|
||||
<!-- public subsccription and archive -->
|
||||
<li><?cs call:checkbox("p") ?></li>
|
||||
|
||||
<!-- do not require confirmation for subscription -->
|
||||
<li><?cs call:checkbox("h") ?></li>
|
||||
|
||||
<!-- do not require confirmation for unsubscribe -->
|
||||
<li><?cs call:checkbox("j") ?></li>
|
||||
|
||||
<!-- moderate subscription -->
|
||||
<li><?cs call:checkbox("s") ?></li>
|
||||
|
||||
<!-- use deny list -->
|
||||
<li><?cs call:checkbox("k") ?></li>
|
||||
|
||||
<!-- only subscribers may post -->
|
||||
<li><?cs call:checkbox("u") ?></li>
|
||||
|
||||
<!-- require confirmation from poster -->
|
||||
<li><?cs call:checkbox("y") ?></li>
|
||||
|
||||
<!-- posted messages are moderated -->
|
||||
<li><?cs call:checkbox("m") ?></li>
|
||||
|
||||
<!-- only moderators may post -->
|
||||
<li><?cs call:checkbox("o") ?></li>
|
||||
|
||||
<!-- process mailman-style requests -->
|
||||
<li><?cs call:checkbox("q") ?></li>
|
||||
|
||||
<!-- remove ezmlm-warn -->
|
||||
<li><?cs call:checkbox("w") ?></li>
|
||||
|
||||
<!-- archive messages -->
|
||||
<li><?cs call:checkbox("a") ?></li>
|
||||
|
||||
<!-- only moderators may access the archive -->
|
||||
<li><?cs call:checkbox("b") ?></li>
|
||||
|
||||
<!-- block unknown users from archive -->
|
||||
<li><?cs call:checkbox("g") ?></li>
|
||||
|
||||
<!-- remove 'no-archive' header -->
|
||||
<li><?cs call:checkbox("i") ?></li>
|
||||
|
||||
<!-- enable remote administration -->
|
||||
<li><?cs call:checkbox("r") ?></li>
|
||||
|
||||
<!-- administrators may request subscribers list -->
|
||||
<li><?cs call:checkbox("l") ?></li>
|
||||
|
||||
<!-- administrators may edit text files via mail -->
|
||||
<li><?cs call:checkbox("n") ?></li>
|
||||
|
||||
<!-- from address -->
|
||||
<li><?cs call:setting("3") ?></li>
|
||||
|
||||
<!-- list owner address -->
|
||||
<li><?cs call:setting("5") ?></li>
|
||||
|
||||
<!-- mysql database -->
|
||||
<?cs if:Data.Modules.mySQL ?>
|
||||
<li><?cs call:setting("6") ?></li><?cs /if ?>
|
||||
|
||||
<!-- set main list name -->
|
||||
<li><?cs call:setting("0") ?></li>
|
||||
|
||||
<!-- messsage moderator -->
|
||||
<li><?cs call:setting("7") ?></li>
|
||||
|
||||
<!-- custom path to subscription moderators -->
|
||||
<li><?cs call:setting("8") ?></li>
|
||||
|
||||
<!-- subject prefix -->
|
||||
<li><?cs call:checkbox("f") ?>
|
||||
<ul><li><input type="text" name="prefix" value="<?cs
|
||||
var:html_escape(Data.List.Prefix) ?>" size="70" />
|
||||
</li></ul></li>
|
||||
|
||||
<!-- trailing text -->
|
||||
<li><?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></li><?cs /if ?>
|
||||
|
||||
<!-- message size limit -->
|
||||
<li><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></li>
|
||||
<li><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></li>
|
||||
|
||||
<!-- mimeremove and mimereject -->
|
||||
<li><?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 -->
|
||||
<li><?cs var:html_escape(Lang.Misc.MimeReject) ?>:<br/>
|
||||
<textarea name="mimereject" rows="4" cols="70"><?cs
|
||||
var:html_escape(Data.List.MimeReject) ?></textarea></li>
|
||||
<li><?cs var:html_escape(Lang.Misc.MimeRemove) ?>:<br/>
|
||||
<textarea name="mimeremove" rows="4" cols="70"><?cs
|
||||
var:html_escape(Data.List.MimeRemove) ?></textarea></li>
|
||||
</ul><?cs /if ?></li>
|
||||
|
||||
<!-- headerremove -->
|
||||
<li><?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></li>
|
||||
|
||||
<!-- headeradd -->
|
||||
<li><?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></li>
|
||||
|
||||
<!-- ezmlm-web administators -->
|
||||
<?cs if:Data.List.WebUsers ?>
|
||||
<li><?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></li><?cs /if ?>
|
||||
|
||||
<li><!-- include default form values -->
|
||||
<?cs include:TemplateDir + '/form_common.cs' ?>
|
||||
|
||||
<input type="hidden" name="action" value="config_do" />
|
||||
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.UpdateConfiguration) ?></button></li>
|
||||
</ul>
|
||||
|
||||
</form>
|
||||
</fieldset>
|
||||
|
|
@ -14,8 +14,11 @@
|
|||
|
||||
<ul>
|
||||
|
||||
<!-- public subscription and archive -->
|
||||
<li><?cs call:checkbox("p") ?></li>
|
||||
<!-- list owner address -->
|
||||
<li><?cs call:setting("5") ?></li>
|
||||
|
||||
<!-- set main list name -->
|
||||
<li><?cs call:setting("0") ?></li>
|
||||
|
||||
<!-- process mailman-style requests -->
|
||||
<li><?cs call:checkbox("q") ?></li>
|
||||
|
@ -23,19 +26,13 @@
|
|||
<!-- remove ezmlm-warn -->
|
||||
<li><?cs call:checkbox("w") ?></li>
|
||||
|
||||
<!-- list owner address -->
|
||||
<li><?cs call:setting("5") ?></li>
|
||||
|
||||
<!-- set main list name -->
|
||||
<li><?cs call:setting("0") ?></li>
|
||||
|
||||
<!-- mysql database -->
|
||||
<?cs if:Data.Modules.mySQL ?>
|
||||
<li><?cs call:setting("6") ?></li><?cs /if ?>
|
||||
|
||||
<!-- ezmlm-web administators -->
|
||||
<?cs if:Data.List.WebUsers ?>
|
||||
<li><?cs var:html_escape(Lang.Misc.AllowedToEdit) ?>:
|
||||
<li><?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/>
|
||||
|
|
|
@ -36,19 +36,19 @@
|
|||
<!-- message size limit -->
|
||||
<li><input type="checkbox" name="msgsize_max_state"
|
||||
value="selected" id="msgsize_max_state" <?cs
|
||||
if:Data.List.MsgSize.Max>0 ?>checked="checked"<?cs /if ?>>
|
||||
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
|
||||
alt:Data.List.MsgSize.Max ?>30000<?cs /alt ?>" /> <?cs
|
||||
var:html_escape(Lang.Misc.MessageSize.Unit) ?></li></ul></li>
|
||||
<li><input type="checkbox" name="msgsize_min_state"
|
||||
value="selected" id="msgsize_min_state" <?cs
|
||||
if:Data.List.MsgSize.Min>0 ?>checked="checked"<?cs /if ?>>
|
||||
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
|
||||
alt:Data.List.MsgSize.Min ?>2<?cs /alt ?>" /> <?cs
|
||||
var:html_escape(Lang.Misc.MessageSize.Unit) ?></li></ul></li>
|
||||
|
||||
<!-- mimeremove and mimereject -->
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<!-- trailing text -->
|
||||
<li><?cs call:checkbox("t") ?>
|
||||
<?cs if:(Data.List.Options.t == 1) ?><ul>
|
||||
<?cs if:(Data.List.Options.t == 1) ?>
|
||||
<!-- turn off mimermove, if "-x" is not activated, as it will be
|
||||
removed during the next config_update -->
|
||||
<ul><li><textarea name="trailing_text" rows="3" cols="72"><?cs
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
<?cs if:Data.WebUser.show ?>
|
||||
<li><label for="webusers"><?cs var:html_escape(Lang.Misc.AllowedToEdit) ?>:</label>
|
||||
<li><label for="webusers"><?cs var:html_escape(Lang.Misc.AllowedToEdit) ?></label>
|
||||
<ul><li><input type="text" id="webusers"
|
||||
name="webusers" size="30" value="<?cs
|
||||
var:html_escape(Data.WebUser.UserName) ?>"></li></ul></li>
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
href="<?cs var:ScriptName ?>?list=<?cs var:url_escape(Data.List.Name) ?>&action=config_ask&config_subset=archive" title="<?cs var:html_escape(Lang.Menue.ConfigArchive) ?>"><?cs var:html_escape(Lang.Menue.ConfigArchive) ?></a></li>
|
||||
<li><a <?cs if:(Data.Action == "config_admin") ?> class="nav_active"<?cs /if ?>
|
||||
href="<?cs var:ScriptName ?>?list=<?cs var:url_escape(Data.List.Name) ?>&action=config_ask&config_subset=admin" title="<?cs var:html_escape(Lang.Menue.ConfigAdmin) ?>"><?cs var:html_escape(Lang.Menue.ConfigAdmin) ?></a></li>
|
||||
<li><a <?cs if:(Data.Action == "config_all") ?> class="nav_active"<?cs /if ?>
|
||||
href="<?cs var:ScriptName ?>?list=<?cs var:url_escape(Data.List.Name) ?>&action=config_ask&config_subset=all" title="<?cs var:html_escape(Lang.Menue.ConfigAll) ?>"><?cs var:html_escape(Lang.Menue.ConfigAll) ?></a></li>
|
||||
</ul></li>
|
||||
|
||||
<li><a <?cs if:((Data.Action == "textfiles") || (Data.Action == "textfile_edit")) ?> class="nav_active"<?cs /if ?>
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
<li><!-- include default form values -->
|
||||
<?cs include:TemplateDir + '/form_common.cs' ?>
|
||||
|
||||
<input type="hidden" name="config_subset" value="RESERVED-subscribers" />
|
||||
<input type="hidden" name="list" value="<?cs var:Data.List.Name ?>" />
|
||||
<input type="hidden" name="action" value="config_do" />
|
||||
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.UpdateConfiguration) ?></button></li>
|
||||
</ul>
|
||||
|
@ -93,7 +95,7 @@
|
|||
<li><select name="mailaddress_del"
|
||||
size="<?cs var:Data.ScrollSize ?>" multiple="multiple">
|
||||
<?cs each:item = Data.List.Subscribers ?>
|
||||
<option><?cs var:item ?></option>
|
||||
<option value="<?cs var:item.address ?>"><?cs var:item.address ?><?cs if:item.name ?> (<?cs var:item.name ?>)<?cs /if ?></option>
|
||||
<?cs /each ?>
|
||||
</select></li>
|
||||
<li><?cs var:subcount(Data.List.Subscribers) ?> <?cs var:html_escape(Lang.Misc.Subscribers) ?></li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue