diff options
author | thomascube <thomas@roundcube.net> | 2009-11-02 09:58:14 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-11-02 09:58:14 +0000 |
commit | 0207c45c90818e7c7df64ea52c61050850dee13d (patch) | |
tree | 89264d9dde1ca6337c4a5887084f66fb29a1c46b /program/steps/settings/save_prefs.inc | |
parent | 31ddb5e5c2dccffea5a8b947eca7b62d79d9c338 (diff) |
More options for top posting feature (#1484272) using patch from Phil Weir
Diffstat (limited to 'program/steps/settings/save_prefs.inc')
-rw-r--r-- | program/steps/settings/save_prefs.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index e38a695a4..824e8f6c4 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -62,8 +62,10 @@ switch ($CURR_SECTION) 'htmleditor' => isset($_POST['_htmleditor']) ? TRUE : FALSE, 'draft_autosave' => isset($_POST['_draft_autosave']) ? intval($_POST['_draft_autosave']) : 0, 'mime_param_folding' => isset($_POST['_mime_param_folding']) ? intval($_POST['_mime_param_folding']) : 0, - 'show_sig' => isset($_POST['_show_sig']) ? intval($_POST['_show_sig']) : 0, - 'top_posting' => isset($_POST['_top_posting']) ? 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']), + 'sig_above' => isset($_POST['_sig_above']) && !empty($_POST['_top_posting']), ); break; |