| | |
| | | 'mdn_default' => isset($_POST['_mdn_default']) ? TRUE : FALSE, |
| | | 'dsn_default' => isset($_POST['_dsn_default']) ? TRUE : FALSE, |
| | | 'reply_same_folder' => isset($_POST['_reply_same_folder']) ? TRUE : FALSE, |
| | | 'spellcheck_before_send' => isset($_POST['_spellcheck_before_send']) ? TRUE : FALSE, |
| | | 'show_sig' => isset($_POST['_show_sig']) ? intval($_POST['_show_sig']) : 1, |
| | | 'top_posting' => !empty($_POST['_top_posting']), |
| | | 'strip_existing_sig' => isset($_POST['_strip_existing_sig']), |
| | |
| | | |
| | | case 'addressbook': |
| | | $a_user_prefs = array( |
| | | 'default_addressbook' => get_input_value('_default_addressbook', RCUBE_INPUT_POST), |
| | | 'default_addressbook' => get_input_value('_default_addressbook', RCUBE_INPUT_POST, true), |
| | | ); |
| | | |
| | | break; |
| | |
| | | |
| | | case 'folders': |
| | | $a_user_prefs = array( |
| | | 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST), |
| | | 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST), |
| | | 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST), |
| | | 'trash_mbox' => get_input_value('_trash_mbox', RCUBE_INPUT_POST), |
| | | 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST, true), |
| | | 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST, true), |
| | | 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST, true), |
| | | 'trash_mbox' => get_input_value('_trash_mbox', RCUBE_INPUT_POST, true), |
| | | ); |
| | | |
| | | break; |