+
+ #index order lets you change the order of the message index
+ global $index_order;
+ $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;
+ }
+
+ global $alt_index_colors;
+ $alt_index_colors = getPref($data_dir, $username, 'alt_index_colors');
+ if ($alt_index_colors === 0) {
+ $alt_index_colors = false;
+ } else {
+ $alt_index_colors = true;
+ }
+
+
+ global $location_of_bar, $location_of_buttons;
+ $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';
+
+
+ global $collapse_folders, $show_html_default;
+ $collapse_folders = getPref($data_dir, $username, 'collapse_folders');
+
+ $show_html_default = getPref($data_dir, $username, 'show_html_default');
+