Move 'advanced' block to the end of the settings form

pull/156/head
Thomas Bruederli 11 years ago
parent f8101fff1e
commit f9c8e8285b

@ -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) if (!$found)
unset($sections[$idx]); unset($sections[$idx]);
else else

Loading…
Cancel
Save