Fixed display error in From-lines of the form: "Doe, John" <john@doe.org>
[squirrelmail.git] / src / load_prefs.php
index 30bce80e027ea5190179eba57a20d1fa0a897dcf..ccce865489d5a98a13cdc1cc56252d83a28ca0c0 100644 (file)
@@ -19,7 +19,10 @@ require_once('../functions/constants.php');
 
 $username = ( !isset($username) ? '' : $username );
 
-global $theme, $chosen_theme, $color;
+global $theme, $chosen_theme, $color, $custom_css;
+
+$custom_css = getPref($data_dir, $username, 'custom_css', 'none' );
+
 $theme = ( !isset($theme) ? array() : $theme );
 $color = ( !isset($color) ? array() : $color );
 
@@ -225,6 +228,9 @@ $javascript_setting =
     getPref($data_dir, $username, 'javascript_setting', SMPREF_JS_AUTODETECT);
 $javascript_on = getPref($data_dir, $username, 'javascript_on', SMPREF_ON);
 
+global $search_memory;
+$search_memory = getPref($data_dir, $username, 'search_memory', 0);
+
 do_hook('loading_prefs');
 
 ?>
\ No newline at end of file