diff options
author | alecpl <alec@alec.pl> | 2008-06-15 09:25:19 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-06-15 09:25:19 +0000 |
commit | 3b6b91ad1e6ba80b28617cbf1e328cc8ed28b265 (patch) | |
tree | edb361bad07583c8d51040e14690ec5a6229f34e /program/steps/settings/save_prefs.inc | |
parent | e58df3adc9b4182c232c94178d024bb4a89c2290 (diff) |
- lost files from r1539
Diffstat (limited to 'program/steps/settings/save_prefs.inc')
-rw-r--r-- | program/steps/settings/save_prefs.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index 4498b7b32..6a0498b93 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -35,6 +35,7 @@ $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, + 'skin' => isset($_POST['_skin']) ? get_input_value('_skin', RCUBE_INPUT_POST) : $CONFIG['default_skin'], ); // don't override these parameters @@ -47,6 +48,9 @@ if (isset($_POST['_language'])) { $RCMAIL->load_language(get_input_value('_language', RCUBE_INPUT_POST)); } +// switch skin +$OUTPUT->set_skin($a_user_prefs['skin']); + // force min size if ($a_user_prefs['pagesize'] < 1) $a_user_prefs['pagesize'] = 10; |