config options
This commit is contained in:
lars 2005-06-21 11:10:21 +00:00
parent 64c3e10df0
commit 93f607c24e
6 changed files with 14 additions and 17 deletions

4
TODO
View file

@ -1,3 +1 @@
start.cs -> select_list.cs
check permission for uploading before doing!
remove old language file dependencies

View file

@ -61,13 +61,10 @@ div.add_remove span.formfield {
padding: 0px;
}
div.add_remove span.formfield:before {
content: attr("<br>");
}
div.list {
margin: 1%;
margin-right: 3%;
width: 30%;
text-align: center;
float: left;
margin-bottom: auto;

View file

@ -71,9 +71,6 @@ use vars qw[%HELPER $HELP_ICON_URL $HTML_HEADER $HTML_FOOTER $HTML_TEXT $HTML_LI
use vars qw[%BUTTON %LANGUAGE $HTML_VLINK $HTML_TITLE $FILE_UPLOAD $WEBUSERS_FILE];
use vars qw[$HTML_CSS_FILE $TEMPLATE_DIR $LANGUAGE_DIR];
#TODO: interim
$TEMPLATE_DIR = "/root/clearsilver/template";
# pagedata contains the hdf tree for clearsilver
# pagename refers to the template file that should be used
use vars qw[$pagedata $pagename];

View file

@ -20,6 +20,10 @@ $WEBUSERS_FILE = "$LIST_DIR/webusers";
# usually something like /usr/local/share/ezmlm-web/lang
$LANGUAGE_DIR = "/usr/local/share/ezmlm-web/lang";
# Where are the template files
# usually something like /usr/local/share/ezmlm-web/template
$TEMPLATE_DIR = "/usr/local/share/ezmlm-web/template";
# Safe list deletion?
# 0 = move list to .list and the .qmails to deleted.qmail/. Recoverable :)
# 1 = allow user to delete list completely. No backup, therefore no recovery.

View file

@ -19,6 +19,7 @@
<?cs else ?>
<?cs set:Data.ScrollSize = Data.SubscribersCount ?>
<?cs /if ?>
<!-- TODO: this div should float to left - the buttons should be at the right -->
<select name="delsubscriber" tabindex="1" size="<?cs var:Data.ScrollSize ?>" multiple="yes">
<?cs each:item = Data.Subscribers ?>
<option><?cs var:item ?></option>
@ -31,13 +32,14 @@
<span class="button"><input type="submit" name="action" tabindex="2"
value="<?cs var:Lang.Buttons.DeleteAddress ?>"></span>
<?cs /if ?>
<span class="formfield"><input type="text" name="addsubscriber"
tabindex="3" size="40"/><?cs call:help_icon("AddAddress") ?></span>
<!-- TODO: das helper icon ist erst in der naechsten Zeile -->
<p class="formfield"><input type="text" name="addsubscriber"
tabindex="3" size="40"/><?cs call:help_icon("AddAddress") ?></p>
<!-- TODO: eventuell ein BR einfuegen -->
<span class="formfield"><input type="file" name="addfile" size="20"
maxlength="100" tabindex="4"/><?cs call:help_icon("AddAddressFile") ?></span>
<span class="button"><input type="submit" tabindex="5" name="action"
value="<?cs var:Lang.Buttons.AddAddress ?>"/></span>
<p class="formfield"><input type="file" name="addfile" size="20"
maxlength="100" tabindex="4"/><?cs call:help_icon("AddAddressFile") ?></p>
<p class="button"><input type="submit" tabindex="5" name="action"
value="<?cs var:Lang.Buttons.AddAddress ?>"/></p>
</div>
<div class="options">
<?cs if:Data.ConfigAvail.Extras ?>

View file

@ -10,7 +10,6 @@
<!-- print available lists and administrative buttons -->
<div id="main" class="container">
<!-- TODO: die URL des cgi ersetzen - DRINGEND! -->
<form method="post" action="<?cs var:ScriptName ?>" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="state" value="select">