From: kink Date: Sun, 4 Jul 2004 14:38:23 +0000 (+0000) Subject: We use color[9] in the error_box but it was not defined in the fallback colors. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=6c92ca883c24f092f2d7d8d141ed5e03098702a5;hp=d6150d6997e5f98629102623ba4688954d98321b We use color[9] in the error_box but it was not defined in the fallback colors. BTW we need an sm_init which first of all defines fallback colors, then overrides those with the user's/default colors. That would make sure that there are always and everywhere fallback colors, and that incomplete themes would also have gaps filled. Now that functionality is scattered. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7746 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/display_messages.php b/functions/display_messages.php index 243642b1..6149751b 100644 --- a/functions/display_messages.php +++ b/functions/display_messages.php @@ -135,6 +135,7 @@ function error_box($string, $color) { $color[4] = '#FFFFFF'; /* white Normal Background */ $color[7] = '#0000CC'; /* blue Links */ $color[8] = '#000000'; /* black Normal text */ + $color[9] = '#ABABAB'; /* mid-gray Darker version of #0 */ } $err = _("ERROR"); @@ -168,4 +169,6 @@ function error_box($string, $color) { echo ' '; echo ' '; } + +// vim: et ts=4 ?>