summaryrefslogtreecommitdiff
path: root/program/steps/settings/func.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-11-16 15:39:31 +0100
committerThomas Bruederli <thomas@roundcube.net>2013-11-16 15:39:31 +0100
commitf9c8e8285b8e42342b48555f16c44ccb9f8ead26 (patch)
tree2f6ce077ec259f354464ec95a8c355254c7ba322 /program/steps/settings/func.inc
parentf8101fff1ec4a52bde553e77a120fd8618c025aa (diff)
Move 'advanced' block to the end of the settings form
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r--program/steps/settings/func.inc7
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