From 78e5377da515ebb6290c53f23a4fe82a6fb06bce Mon Sep 17 00:00:00 2001 From: tokul Date: Mon, 13 Oct 2003 18:03:08 +0000 Subject: [PATCH] $advanced_tree and $oldway can be set in conf.pl git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5932 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/left_main.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/left_main.php b/src/left_main.php index eb1b0995..4e9eab76 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -431,7 +431,7 @@ function ListBoxes ($boxes, $j=0 ) { function ListAdvancedBoxes ($boxes, $mbx, $j='ID.0000' ) { global $data_dir, $username, $startmessage, $color, $unseen_notify, $unseen_type, - $move_to_trash, $trash_folder, $collapse_folders; + $move_to_trash, $trash_folder, $collapse_folders, $oldway, $advanced_tree; if (!$boxes) return; @@ -627,8 +627,12 @@ if (isset($left_refresh) && ($left_refresh != '') && * to marc@its-projects.nl **/ -$advanced_tree = false; /* set this to true if you want to see a nicer mailboxtree */ -$oldway = false; /* default SM behaviour */ +/* set this to true if you want to see a nicer mailboxtree */ +if (! isset($advanced_tree) || $advanced_tree=="" ) { + $advanced_tree=false; } +/* default SM behaviour */ +if (! isset($oldway) || $oldway=="" ) { + $oldway=false; } if ($advanced_tree) { $xtra .= <<