| | |
| | | |
| | | */ |
| | | global $app; |
| | | $app->uses('getconf'); |
| | | $global_config = $app->getconf->get_global_config(); |
| | | |
| | | $form["title"] = "Mailbox"; |
| | | $form["description"] = ""; |
| | |
| | | $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", |
| | |
| | | ) |
| | | ); |
| | | |
| | | 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, |