diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-11-16 15:39:31 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-11-16 15:39:31 +0100 |
commit | f9c8e8285b8e42342b48555f16c44ccb9f8ead26 (patch) | |
tree | 2f6ce077ec259f354464ec95a8c355254c7ba322 | |
parent | f8101fff1ec4a52bde553e77a120fd8618c025aa (diff) |
Move 'advanced' block to the end of the settings form
-rw-r--r-- | program/steps/settings/func.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 016264128..81744d904 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -1198,6 +1198,13 @@ function rcmail_user_prefs($current = null) } } + // move 'advanced' block to the end of the list + if (!empty($data['blocks']['advanced'])) { + $adv = $data['blocks']['advanced']; + unset($data['blocks']['advanced']); + $data['blocks']['advanced'] = $adv; + } + if (!$found) unset($sections[$idx]); else |