From 995666230810c1e1ddac1846724c89a76c41345f Mon Sep 17 00:00:00 2001 From: pdontthink Date: Thu, 17 Mar 2005 04:04:15 +0000 Subject: [PATCH] Added new highlighting color git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9052 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 5 ++++- themes/default_theme.php | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 5a1ed49b..04b1c566 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -318,7 +318,10 @@ function printMessageInfo($aMsg) { // highlighting of checked rows // //$clickedColor = ''; - $clickedColor = $color[2]; + if (!empty($color[16])) + $clickedColor = $color[16]; + else + $clickedColor = $color[2]; $row_extra .= ' onmouseover="setPointer(this, ' . $t . ', \'over\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');" onmouseout="setPointer(this, ' . $t . ', \'out\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');" onmousedown="setPointer(this, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"'; diff --git a/themes/default_theme.php b/themes/default_theme.php index 6bb28678..9e092ddd 100644 --- a/themes/default_theme.php +++ b/themes/default_theme.php @@ -35,4 +35,5 @@ $color[13] = '#800000'; // (dark red) Color for quoted text -- > 1 quote $color[14] = '#ff0000'; // (red) Color for quoted text -- >> 2 or more $color[15] = '#002266'; // (dark blue) Unselectable folders -?> \ No newline at end of file + $color[16] = '#FF9933'; // (orange) Highlight color +?> -- 2.25.1