Marius Cramer
2014-01-23 f91908caf633115ed877bc20bdf3c36d4fa270a9
interface/web/mail/form/mail_user.tform.php
@@ -38,6 +38,8 @@
*/
global $app;
$app->uses('getconf');
$global_config = $app->getconf->get_global_config();
$form["title"]    = "Mailbox";
$form["description"]  = "";
@@ -56,7 +58,7 @@
$form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
$form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
$form["tabs"]['mailuser'] = array (
$form["tabs"]['mailuser'] = array(
   'title'  => "Mailbox",
   'width'  => 100,
   'template'  => "templates/mail_user_mailbox_edit.htm",
@@ -107,7 +109,7 @@
            0 => array (  'type'  => 'UNIQUE',
               'errmsg'=> 'login_error_unique'),
            1 => array (  'type'  => 'REGEX',
               'regex' => '/^[a-z0-9][\w\.\-_\+@]{1,63}$/',
               'regex' => '/^[_a-z0-9][\w\.\-_\+@]{1,63}$/',
               'errmsg'=> 'login_error_regex'),
         ),
         'default' => '',
@@ -230,6 +232,12 @@
   )
);
if($global_config['mail']['mail_password_onlyascii'] == 'y') {
   $form['tabs']['mailuser']['fields']['password']['validators'] = array( 0 => array( 'type' => 'ISASCII',
      'errmsg' => 'email_error_isascii')
   );
}
$form["tabs"]['autoresponder'] = array (
   'title'  => "Autoresponder",
   'width'  => 100,