tbrehm
2012-12-05 fdc02320967c39aa58399a7eb9b94727a36b4386
Fixed: Fixed: FS#2569 - Check for duplicate mailing list names is missing
3 files modified
10 ■■■■ changed files
interface/web/mail/form/mail_mailinglist.tform.php 2 ●●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_user.tform.php 6 ●●●● patch | view | raw | blame | history
interface/web/mail/lib/lang/en_mail_mailinglist.lng 2 ●●●●● patch | view | raw | blame | history
interface/web/mail/form/mail_mailinglist.tform.php
@@ -101,6 +101,8 @@
            'formtype'    => 'TEXT',
            'validators'    => array (     0 => array (    'type'    => 'NOTEMPTY',
                                                        'errmsg'=> 'listname_error_empty'),
                                        1 => array (    'type'    => 'UNIQUE',
                                                        'errmsg'=> 'listname_error_unique'),
                                    ),
            'default'    => '',
            'value'        => '',
interface/web/mail/form/mail_user.tform.php
@@ -136,10 +136,10 @@
        'quota' => array (
            'datatype'    => 'VARCHAR',
            'formtype'    => 'TEXT',
            'validators'    => array (     0 => array (    'type'    => 'ISINT',
            'validators'    => array (     1 => array (    'type'    => 'ISINT',
                                                        'errmsg'=> 'quota_error_isint'),
                                        1 => array (    'type'    => 'REGEX',
                                                        'regex' => '/^([0-9]*)$/',
                                        0 => array (    'type'    => 'REGEX',
                                                        'regex' => '/^([0-9]{1,})$/',
                                                        'errmsg'=> 'quota_error_value'),
                                    ),
            'default'    => '-1',
interface/web/mail/lib/lang/en_mail_mailinglist.lng
@@ -16,4 +16,6 @@
$wb['repeat_password_txt'] = 'Repeat Password';
$wb['password_mismatch_txt'] = 'The passwords do not match.';
$wb['password_match_txt'] = 'The passwords do match.';
$wb["listname_error_unique"] = 'There is already a mailinlist with name on the server. Please choose a different listname.';
$wb["email_error_isemail"] = 'Email address is invalid.';
?>