- If Environment variable EZMLM_WEB_RC ist set (e.g. at webservers vhost

configuration), the applicatiom loads ezmlmwebrc from that setting. That 
   allows multiple Webinterfaces on the same host with different settings.

 - Subscribition of different adresses at once via textarea input (Closes #70)
   TODO: change concerning labels for language other than german or english

 - Fix setting of chaerset variable (Close #69 ?)

 - Fix en-/decoding (if system charset differs from charset of list)

 - Handling of all text files will be done from the list directory, even if
   the defaults are used.That makes the list robust against changing server
   default settings or moving list from one to another server.

 - conf-lang file will always be written, even if language is the default
   one. So users can see their language setting from the Options screen.

 - Print available listdomains in alphabetical order.

 - trailer is no longer editable from the Overview screen. Changing trailer
   can be done - like other textfiles - from the text screen.

 - Add configuration variable DEBUG. If enabled, application prints Error/Warning 
   messages instead of "Internal Server Error" page.
This commit is contained in:
ckubu 2011-01-05 01:21:43 +00:00
parent 13a128cf8d
commit e06da8137d
24 changed files with 153 additions and 79 deletions

View file

@ -131,4 +131,10 @@ $HTML_LANGUAGE = "en";
# (".gnupg") is usable.
#$GPG_KEYRING_DEFAULT_LOCATION = ".gnupg";
# Prints Error/Warning messages instead of "Internal Server Error" page.
# It's recommend to disable (set to 0) in production mode.
# 0 = disabled
# 1 = enabled
# defaults to 0
#$DEBUG = 0;

View file

@ -101,6 +101,7 @@ use vars qw[$TEMPLATE_DIR $LANGUAGE_DIR $HTML_LANGUAGE];
use vars qw[$HTML_CSS_COMMON $HTML_CSS_COLOR];
use vars qw[$MAIL_ADDRESS_PREFIX @HTML_LINKS];
use vars qw[@INTERFACE_OPTIONS_BLACKLIST];
use vars qw[$DEBUG];
# default interface template (basic/normal/expert)
use vars qw[$DEFAULT_INTERFACE_TYPE];
# some settings for encrypted mailing lists
@ -118,6 +119,8 @@ my $config_file;
if (defined($opt_C)) {
$opt_C =~ /^([-\w.\/]+)$/; # security check by ooyama
$config_file = $1; # Command Line
} elsif (defined($ENV{EZMLM_WEB_RC}) && $ENV{EZMLM_WEB_RC} =~ /^(\/[^\`]+)$/) {
$config_file = $1;
} elsif (-e "$HOME_DIR/.ezmlmwebrc") {
$config_file = "$HOME_DIR/.ezmlmwebrc"; # User
} elsif (-e "/etc/ezmlm-web/ezmlmwebrc") {
@ -290,6 +293,14 @@ unless (defined($MAIL_ADDRESS_PREFIX)) {
}
}
# check DEBUG - enable debug messages if set > 0
$DEBUG = 0 unless defined($DEBUG);
if ( $DEBUG > 0 ) {
eval "use warnings";
eval "use CGI::Carp qw(fatalsToBrowser warningsToBrowser)";
eval "use CGI qw(:standard)";
}
# get the current login name advertised to the webserver (if it is defined)
$LOGIN_NAME = lc($ENV{'REMOTE_USER'});
# Remove leading and trailing whitespace (they are ignored by http-auth).
@ -881,7 +892,7 @@ sub set_pagedata_domains {
$DOMAINS{$CURRENT_DOMAIN}{name});
}
foreach $domain_name (keys %DOMAINS) {
foreach $domain_name (sort keys %DOMAINS) {
if (&webauth_visible_domain($domain_name)) {
$pagedata->setValue("Data.Domains.$domain_name",
$DOMAINS{$domain_name}{'name'});
@ -1163,8 +1174,25 @@ sub set_pagedata_misc_configfiles {
$item = '' unless defined($item);
$pagedata->setValue("Data.List.MimeReject", "$item");
$item = $list->get_text_content('trailer');
$item = '' unless defined($item);
$pagedata->setValue("Data.List.TrailingText", "$item");
my $content_webencoded = '';
if ( defined($item) ) {
my( @_charset, $charset);
@_charset = split(':',$list->get_charset());
if ( $_charset[0] eq '' ) {
$charset = 'us-ascii';
warn "Charset not set. Using default \"us-ascii\" ";
} else {
$charset = $_charset[0];
}
# first decode from web (usually utf8), then encode to charset of the list
eval { $content_webencoded = Encode::encode("utf8", Encode::decode($charset, $item)); };
if ($@) {
$content_webencoded = $item;
# no warning, if the encoding support is not available
warn "Conversion failed for charset '$charset'" if ($ENCODE_SUPPORT);
}
}
$pagedata->setValue("Data.List.TrailingText", "$content_webencoded");
# read message size limits
$item = $list->getpart('msgsize');
@ -1219,14 +1247,19 @@ sub set_pagedata_textfiles {
# text file specified?
if (defined($q->param('file')) && ($q->param('file') ne '')
&& ($q->param('file') =~ m/^[\w-]*$/)) {
my ($content);
my ($content, $charset, @_charset);
$content = $list->get_text_content($q->param('file'));
# get character set of current list (ignore ":Q" prefix)
my ($charset) = split(':',$list->get_charset());
# use default for ezmlm-idx<5.0
$charset = 'us-ascii' if ($charset eq '');
@_charset = split(':',$list->get_charset());
if ( $_charset[0] eq '' ) {
# use default for ezmlm-idx<5.0
$charset = 'us-ascii';
warn "Charset not set. Using default \"us-ascii\" ";
} else {
$charset = $_charset[0];
}
my $content_utf8;
eval { $content_utf8 = Encode::decode($charset, $content); };
eval { $content_utf8 = Encode::encode ("utf8", Encode::decode($charset, $content)); };
# use $content if conversion failed somehow
if ($@) {
$content_utf8 = $content;
@ -1734,18 +1767,38 @@ sub add_address {
# User typed in an address
if ($q->param('mailaddress_add') ne '') {
$address = $q->param('mailaddress_add');
$address .= $MAIL_DOMAIN if ($q->param('mailaddress_add') =~ /\@$/);
my ($_address_string, @_addresses);
# untaint
if ($address =~ m/(\w[\w\.\!\#\$\%\&\'\`\*\+\-\/\=\?\^\{\|\}\~]*)@(\w[\-\w_\.]+)/) {
push @addresses, "$address";
} else {
warn "invalid address to add: $address to $part";
$warning = 'AddAddress';
return (1==0);
}
$_address_string = $q->param('mailaddress_add');
# line breaks
$_address_string =~ s/[\r]?\n/#/g;
# delimeter
$_address_string =~ s/[,;]/#/g;
# email comments at the beginning
$_address_string =~ s/^[^@]+\s+//;
# email coments
$_address_string =~ s/[#\s][^@]+[#\s]/#/g;
# "<local@domain> --> local@domain"
$_address_string =~ s/[\s#]+<([^\s^<^#]+@[^\s^>^#]+)>/#$1/g;
# white spaces
$_address_string =~ s/\s+/#/g;
# multiple delimeter
$_address_string =~ s/#+/#/g;
# don't start with delimeter
$_address_string =~ s/^#+//g;
@_addresses = split(/#/ , $_address_string);
foreach $address (@_addresses) {
$address .= $MAIL_DOMAIN if ($address =~ /\@$/);
if ($address =~ m/(\w[\w\.\!\#\$\%\&\'\`\*\+\-\/\=\?\^\{\|\}\~]*)@(\w[\-\w_\.]+)/) {
push @addresses, "$address";
} else {
warn "invalid address to add: $address to $part";
$warning = 'AddAddress';
}
}
}
my %pretty;
@ -1901,8 +1954,7 @@ sub create_list {
return undef;
}
if (defined($q->param('list_language'))
&& ($q->param('list_language') ne 'default')) {
if (defined($q->param('list_language'))) {
if (&check_list_language($list, $q->param('list_language'))) {
$list->set_lang($q->param('list_language'));
} else {
@ -2368,14 +2420,16 @@ sub update_config_common {
}
# update trailing text
if (defined($q->param('trailing_text'))) {
#if (defined($q->param('trailing_text'))) {
if (defined($q->param('option_t'))) {
# TODO: the trailer _must_ be followed by a newline
$list->set_text_content('trailer', $q->param('trailing_text'));
#$list->set_text_content('trailer', $q->param('trailing_text'));
$list->set_text_content('trailer', $list->get_text_default_content('trailer'))
unless (-e "$list->{'LIST_NAME'}/text/trailer");
} else {
# ezmlm-make automatically removes this file
}
}
#}
# update prefix text
if (defined($q->param('prefix'))) {
@ -2656,16 +2710,22 @@ sub save_text {
# Save new text in DIR/text ...
my $list = shift;
my ($content, $charset);
my ($content, $charset, @_charset);
$content = $q->param('content');
$charset = split(':',$list->get_charset());
$charset = 'us-ascii' if ($charset eq '');
@_charset = split(':',$list->get_charset());
if ( $_charset[0] eq '' ) {
$charset = 'us-ascii';
warn "Charset not set. Using default \"us-ascii\" ";
} else {
$charset = $_charset[0];
}
# untaint 'content' unconditionally (treating the whole string as a single line)
$content =~ m/^(.*)$/s;
$content = $1;
my $content_encoded;
eval { $content_encoded = Encode::encode($charset, $content); };
# first decode from web ( utf8), then encode to charset of the list
eval { $content_encoded = Encode::encode($charset, Encode::decode("utf8", $content)); };
if ($@) {
$content_encoded = $content;
# no warning, if the encoding support is not available

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:09+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -880,7 +880,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:09+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -880,7 +880,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -2,16 +2,16 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:09+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2009-03-24 00:31+0200\n"
"Last-Translator: Lars Kruse <lars@systemausfall.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Pootle 1.2.0-rc1\n"
"Language: de\n"
#: Lang.Menue.ListCreate
msgid "Create new list"
@ -925,8 +925,8 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr "Es befinden sich keine Dateien im Text-Verzeichnis der Mailingliste."
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgstr "Füge eine neue Mailadresse hinzu:"
msgid "Add new mail address(es):"
msgstr "Füge neue Mailadresse(n) hinzu:"
#: Lang.Misc.AddSubscriberFile
msgid "Upload a text file containing mail addresses to be added:"

View file

@ -884,8 +884,9 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr "There are no files in the text directory of the mailinglist."
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgstr "Add a new mail address:"
#, fuzzy
msgid "Add new mail address(es):"
msgstr "Add new mail address(es):"
#: Lang.Misc.AddSubscriberFile
msgid "Upload a text file containing mail addresses to be added:"

View file

@ -2,16 +2,16 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web 3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:09+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2009-06-26 09:07+0200\n"
"Last-Translator: Normando Hall <nhall@unixlan.com.ar>\n"
"Language-Team: <>\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Pootle 1.2.0-rc1\n"
"Language: es\n"
#: Lang.Menue.ListCreate
msgid "Create new list"
@ -914,7 +914,8 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr "No hay ficheros en el directorio de textos de la lista de correo."
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
#, fuzzy
msgid "Add new mail address(es):"
msgstr "Añadir una nueva dirección:"
#: Lang.Misc.AddSubscriberFile

View file

@ -865,7 +865,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -880,7 +880,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -2,16 +2,16 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2009-01-14 13:57+0200\n"
"Last-Translator: BARBIER Jean-Matthieu <jm.barbier@solidev.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Pootle 1.2.0-rc1\n"
"Language: fr\n"
#: Lang.Menue.ListCreate
msgid "Create new list"
@ -893,7 +893,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile
@ -996,8 +996,9 @@ msgid "Mail address"
msgstr ""
#: Lang.Misc.SubscribeAction
#, fuzzy
msgid "Event"
msgstr ""
msgstr "Evènements"
#: Lang.Misc.SubscribeActionDetails
msgid "Details"

View file

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2007-12-19 06:54+0000\n"
"Last-Translator: kkk <kamu@hcf.hu>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -884,7 +884,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -885,7 +885,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2008-08-20 09:47+0200\n"
"Last-Translator: kinneko <kinneko@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -884,7 +884,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -2,16 +2,16 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2008-10-17 20:18+0200\n"
"Last-Translator: albi nootje <albinootje@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Pootle 1.2.0-rc1\n"
"Language: nl\n"
#: Lang.Menue.ListCreate
msgid "Create new list"
@ -187,8 +187,9 @@ msgid "Editing file"
msgstr "Bewerken bestand"
#: Lang.Title.SubscribeLog
#, fuzzy
msgid "Subscription events"
msgstr ""
msgstr "Lidmaatschap opties"
#: Lang.Title.GnupgPublic
msgid "Public keys"
@ -655,8 +656,9 @@ msgid "Access to the archive is granted for"
msgstr ""
#: Lang.Selections.archive.bg
#, fuzzy
msgid "administrators"
msgstr ""
msgstr "beheer"
#: Lang.Selections.archive.Bg
msgid "subscribers and administrators"
@ -889,7 +891,8 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
#, fuzzy
msgid "Add new mail address(es):"
msgstr "Voeg een nieuw mail adres toe:"
#: Lang.Misc.AddSubscriberFile
@ -1178,8 +1181,9 @@ msgid "Posting rules"
msgstr ""
#: Lang.Legend.ConfigSub
#, fuzzy
msgid "Subscription details"
msgstr ""
msgstr "Lidmaatschap opties"
#: Lang.Legend.ConfigMain
msgid "General list configuration"

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -880,7 +880,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -1098,7 +1098,7 @@ msgstr "Não há arquivos no diretório de texto da lista."
#: Lang.Misc.AddSubscriberAddress
#, fuzzy
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr "Acrescentar novo endereço de e-mail"
#: Lang.Misc.AddSubscriberFile

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -893,7 +893,8 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr "Não há arquivos no diretório de texto da lista."
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
#, fuzzy
msgid "Add new mail address(es):"
msgstr "Acrescentar novo endereço de e-mail"
#: Lang.Misc.AddSubscriberFile

View file

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2008-05-22 10:27+0200\n"
"Last-Translator: azlk <azlk@mail.ru>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -902,7 +902,8 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr "В текстовой папке списка рассылки нет файлов"
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
#, fuzzy
msgid "Add new mail address(es):"
msgstr "Добавить новый адрес:"
#: Lang.Misc.AddSubscriberFile

View file

@ -2,17 +2,17 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: 2008-10-16 00:17+0200\n"
"Last-Translator: clavdia <clavdia@systemausfall.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || "
"n%100==4 ? 2 : 3);\n"
"X-Generator: Pootle 1.2.0-rc1\n"
"Language: sl\n"
#: Lang.Menue.ListCreate
msgid "Create new list"
@ -897,7 +897,8 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr "V tem direktoriju poštnega seznama ni datotek"
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
#, fuzzy
msgid "Add new mail address(es):"
msgstr "Dodaj nov poštni naslov "
#: Lang.Misc.AddSubscriberFile

View file

@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: ezmlm-web v3.3\n"
"Report-Msgid-Bugs-To: devel@sumpfralle.de\n"
"POT-Creation-Date: 2008-10-15 23:10+0200\n"
"POT-Creation-Date: 2011-01-01 18:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -880,7 +880,7 @@ msgid "There are no files in the text directory of the mailinglist."
msgstr ""
#: Lang.Misc.AddSubscriberAddress
msgid "Add a new mail address:"
msgid "Add new mail address(es):"
msgstr ""
#: Lang.Misc.AddSubscriberFile

View file

@ -261,7 +261,7 @@ Lang {
MessageSize.Min = Reject messages smaller than a specified value
MessageSize.Unit = bytes
NoFiles = There are no files in the text directory of the mailinglist.
AddSubscriberAddress = Add a new mail address:
AddSubscriberAddress = Add new mail address(es):
AddSubscriberFile = Upload a text file containing mail addresses to be added:
SuggestDefaultPath = It is recommended to use the default path for the moderation database. Otherwise you cannot manage the moderators' list with ezmlm-web.
FooterText = a web interface for

View file

@ -1 +1 @@
#define EZMLM_WEB_CGI "/usr/bin/ezmlm-web.cgi"
#define EZMLM_WEB_CGI "/usr/local/bin/ezmlm-web.cgi"

View file

@ -4,6 +4,4 @@
<?cs if:(Data.List.Options.t == 1) ?>
<!-- turn off trailer, 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 ?>
<ul><pre style="background: #eed;"><?cs var:html_escape(Data.List.TrailingText) ?></pre></ul><?cs /if ?>

View file

@ -118,7 +118,7 @@
<fieldset>
<ul>
<li><?cs var:html_escape(Lang.Misc.AddSubscriberAddress) ?>
<ul><li><input type="text" name="mailaddress_add" size="40" /></li>
<ul><li><textarea name="mailaddress_add" cols="45" rows="4"></textarea></li>
</ul></li>
<?cs if:Data.Permissions.FileUpload ?>
<li><?cs var:html_escape(Lang.Misc.AddSubscriberFile) ?>