From b3a5c9f7a4962bc4dd8d806a616f807728dd5747 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Fri, 4 Jan 2002 10:58:26 +0000 Subject: [PATCH] Added colors [12] and [15] to the default values git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2085 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/load_prefs.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/load_prefs.php b/src/load_prefs.php index 14a5400f..30bce80e 100644 --- a/src/load_prefs.php +++ b/src/load_prefs.php @@ -23,7 +23,7 @@ global $theme, $chosen_theme, $color; $theme = ( !isset($theme) ? array() : $theme ); $color = ( !isset($color) ? array() : $color ); -$chosen_theme = getPref($data_dir, $username, "chosen_theme"); +$chosen_theme = getPref($data_dir, $username, 'chosen_theme'); $found_theme = false; for ($i = 0; $i < count($theme); ++$i){ if ($theme[$i]['PATH'] == $chosen_theme) { @@ -56,6 +56,8 @@ if (isset($chosen_theme) && $found_theme && (file_exists($chosen_theme))) { $color[9] = '#ABABAB'; /* mid-gray Darker version of #0 */ $color[10] = '#666666'; /* dark gray Darker version of #9 */ $color[11] = '#770000'; /* dark red Special Folders color */ + $color[12] = '#EDEDED'; + $color[15] = '#002266'; /* (dark blue) Unselectable folders */ } } @@ -225,4 +227,4 @@ $javascript_on = getPref($data_dir, $username, 'javascript_on', SMPREF_ON); do_hook('loading_prefs'); -?> +?> \ No newline at end of file -- 2.25.1