Sfoglia il codice sorgente

some color updates

Luke Ehresman 25 anni fa
parent
commit
f976239d42
2 ha cambiato i file con 10 aggiunte e 2 eliminazioni
  1. 8 0
      config/config.php
  2. 2 2
      functions/mailbox_display.php

+ 8 - 0
config/config.php

@@ -11,6 +11,14 @@ $imapServerAddress = "adam.usa.om.org";
 /* This is displayed right after they log in */
 $motd = "  Welcome to OM's webmail system, SquirrelMail.  We are currently in beta, and have not yet released a full version of SquirrelMail.  Please feel free to look around, and please report any bugs to <A HREF=\"mailto:nathan@usa.om.org\">Nathan</A> or <A HREF=\"mailto:luke@usa.om.org\">Luke</A>.";
 
+/* Customizable colors */
+$color_lgray     = "DCDCDC";
+$color_red       = "800000";
+$color_light_red = "FF0000";
+$color_left_bg   = "A0B8C8";
+$color_bground   = "FFFFFF";
+$color_light_yel = "FFFFCC";
+
 /* SquirrelMail version number -- DO NOT CHANGE */
 $version = "0.0.1";
 

+ 2 - 2
functions/mailbox_display.php

@@ -174,7 +174,7 @@
       echo "</TD></TR>\n";
 
       /** The delete and move options */
-      echo "<TR><TD BGCOLOR=DCDCDC>";
+      echo "<TR><TD BGCOLOR=$color_lgray>";
       echo "<FORM name=messageList method=post action=\"move_messages.php?msg=$msg&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage\">";
       echo "<SELECT NAME=move_or_delete><OPTION>Delete selected messages<OPTION>Move selected messages</SELECT>";
       echo "<NOBR><INPUT TYPE=SUBMIT VALUE=\"Go\">";
@@ -182,7 +182,7 @@
          echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF=\"empty_trash.php?numMessages=$numMessages&mailbox=$urlMailbox\">Empty Trash</A></NOBR>";
       echo "</TD></TR>";
 
-      echo "<TR><TD BGCOLOR=DCDCDC>";
+      echo "<TR><TD BGCOLOR=$color_lgray>";
       echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1 BGCOLOR=FFFFFF>";
       echo "<TR BGCOLOR=FFFFCC ALIGN=\"center\">";
       echo "   <TD WIDTH=5%><FONT FACE=\"Arial,Helvetica\"><B>Num</B></FONT></TD>";