Fixed some problems with cookies bein set wrong when logging in/out.
[squirrelmail.git] / src / options.php
index 6e45190c84c0645387c47f3b294f7bc9f19c06f1..83a6fd311f65dcf66a28aa3631b2d0219e980a20 100644 (file)
@@ -23,7 +23,6 @@
    $boxes = sqimap_mailbox_list($imapConnection, $boxes);
    fputs($imapConnection, "1 logout\n");
 
-   echo "<HTML><BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
    displayPageHeader($color, "None");
 
    /** load up some of the values from the pref file **/
    echo "<BR>Signature:<BR><TEXTAREA NAME=signature_edit ROWS=5 COLS=\"$sig_size\">$signature</TEXTAREA><BR>";
    echo "</CENTER>";
 
+   // MESSAGE HIGHLIGHTING
+   echo "<br>\n";
+   echo "<center><b>" . _("Message Highlighting") . "</b> - [<a href=\"msg_highlight.php\">" . _("Edit") . "</a>]</center><br>\n";
+   if (count($message_highlight_list) >= 1) {
+      echo "<table border=0 cellpadding=2 cellspacing=0 align=center width=75%>\n";
+      for ($i=0; $i < count($message_highlight_list); $i++) {
+         echo "<tr>\n";
+         echo "   <td bgcolor=" . $message_highlight_list[$i]["color"] . ">\n";
+         echo "      " . $message_highlight_list[$i]["name"];
+         echo "   </td>\n";
+         echo "   <td bgcolor=" . $message_highlight_list[$i]["color"] . ">\n";
+         echo "      ".$message_highlight_list[$i]["match_type"]." = " . $message_highlight_list[$i]["value"];
+         echo "   </td>\n";
+         echo "</tr>\n";
+      }
+      echo "</table>\n";
+   } else {
+      echo "<center>" . _("No highlighting is defined") . "</center><br>\n";
+   }
+   echo "<br>\n";
 
    // SUBMIT BUTTON
    echo "<BR><CENTER><INPUT TYPE=SUBMIT VALUE=\"";