diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-15 09:25:19 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-15 09:25:19 +0000 |
| commit | 18912dbf084ca79ca4df9a6f659e7c37dfb464a9 (patch) | |
| tree | 0876e813fe0e58941016c8e63f28ab7a9a08eef5 /roundcubemail/program/steps/settings/save_prefs.inc | |
| parent | 495ef5b443452f92fae14adbcace0d73ec0f7e41 (diff) | |
- lost files from r1539
git-svn-id: https://svn.roundcube.net/trunk@1540 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/save_prefs.inc')
| -rw-r--r-- | roundcubemail/program/steps/settings/save_prefs.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc index 4498b7b32..6a0498b93 100644 --- a/roundcubemail/program/steps/settings/save_prefs.inc +++ b/roundcubemail/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; |
