diff options
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/settings/func.inc | 25 | ||||
-rw-r--r-- | program/steps/settings/save_prefs.inc | 2 |
2 files changed, 0 insertions, 27 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 32e863e72..a3dd758dd 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -188,31 +188,6 @@ function rcmail_user_prefs_form($attrib) $out .= "</table></fieldset>\n<fieldset><legend>" . Q(rcube_label('mailboxview')) . "</legend>\n<table" . $attrib_str . ">\n\n"; - if (!isset($no_override['message_sort_col'])) - { - $field_id = 'rcmfd_sort_col'; - $select_sort_col = new html_select(array('name' => '_message_sort_col', 'id' => $field_id)); - $select_sort_col->add(rcube_label('subject'), 'subject'); - $select_sort_col->add(rcube_label('date'), 'date'); - $select_sort_col->add(rcube_label('from'), 'from'); - $select_sort_col->add(rcube_label('to'), 'to'); - $select_sort_col->add(rcube_label('size'), 'size'); - - if (!isset($no_override['message_sort_order'])) - { - $select_sort_order = new html_select(array('name' => '_message_sort_order', 'id' => 'rcmfd_sort_order')); - $select_sort_order->add(rcube_label('ascending'), 'ASC'); - $select_sort_order->add(rcube_label('descending'), 'DESC'); - } - - $out .= sprintf("<tr><td class=\"title\"><label for=\"%s\">%s</label></td><td>%s %s</td></tr>\n", - $field_id, - Q(rcube_label('messagesorder')), - $select_sort_col->show($config['message_sort_col']), - (isset($select_sort_order) ? $select_sort_order->show($config['message_sort_order']) : '')); - } - - // show config parameter for preview pane if (!isset($no_override['preview_pane'])) { diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index c9c2fd3bf..a373961db 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -32,8 +32,6 @@ $a_user_prefs = array( 'logout_expunge' => isset($_POST['_logout_expunge']) ? TRUE : FALSE, 'draft_autosave' => isset($_POST['_draft_autosave']) ? intval($_POST['_draft_autosave']) : 0, 'mdn_requests' => isset($_POST['_mdn_requests']) ? intval($_POST['_mdn_requests']) : 0, - 'message_sort_col' => isset($_POST['_message_sort_col']) ? get_input_value('_message_sort_col', RCUBE_INPUT_POST) : 'date', - 'message_sort_order' => isset($_POST['_message_sort_order']) ? get_input_value('_message_sort_order', RCUBE_INPUT_POST) : '', ); // don't override these parameters |