Replaced hard-coded colors with theme colors.
[squirrelmail.git] / src / left_main.php
index 7fc9191d6eae8c82347aa83dd2136b03f6e06cc1..6491ec9687fb9a050a8f6ec4be164e07af94ea3a 100644 (file)
@@ -91,7 +91,7 @@ function formatMailboxName($imapConnection, $box_array) {
             $urlMailbox = urlencode($real_box);
             $line .= "\n<small>\n" .
                     "&nbsp;&nbsp;(<A HREF=\"empty_trash.php\" style=\"text-decoration:none\">"._("empty")."</A>)" .
-                    "\n</small>\n";
+                    "</small>";
         }
     }
 
@@ -260,7 +260,7 @@ if ($date_format != 6) {
         $clk = date($hr, time());
         break;
     default:
-        $clk = date('D, '.$hr, time());
+        $clk = substr( getDayName( date( 'w', time() ) ), 0, 3 ) . date( ', ' . $hr, time() );
     }
     $clk = str_replace(' ','&nbsp;',$clk);
 
@@ -342,4 +342,4 @@ do_hook('left_main_after');
 
 echo "</BODY></HTML>\n";
 
-?>
\ No newline at end of file
+?>