Added colors [12] and [15] to the default values
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 4 Jan 2002 10:58:26 +0000 (10:58 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 4 Jan 2002 10:58:26 +0000 (10:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2085 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/load_prefs.php

index 14a5400ffa26510b78117daa977ce843d3541871..30bce80e027ea5190179eba57a20d1fa0a897dcf 100644 (file)
@@ -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