It's _blank, not _new
[squirrelmail.git] / functions / mailbox_display.php
index 5a1ed49b648702ca9fefa11267cfe49b7a5b0744..04b1c566cffa214e229fe0b6b88210ed36c0a32d 100644 (file)
@@ -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 . '\');"';