+
+ #index order lets you change the order of the message index
+ $order = getPref($data_dir, $username, "order1");
+ for ($i=1; $order; $i++) {
+ $index_order[$i] = $order;
+ $order = getPref($data_dir, $username, "order".($i+1));
+ }
+ if (!isset($index_order)) {
+ $index_order[1] = 1;
+ $index_order[2] = 2;
+ $index_order[3] = 3;
+ $index_order[4] = 5;
+ $index_order[5] = 4;
+ }
+
+ $location_of_bar = getPref($data_dir, $username, 'location_of_bar');
+ if ($location_of_bar == '')
+ $location_of_bar = 'left';
+
+ $location_of_buttons = getPref($data_dir, $username, 'location_of_buttons');
+ if ($location_of_buttons == '')
+ $location_of_buttons = 'between';
+
+ do_hook("loading_prefs");
+