Beautified top of message list a bit
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 5 Dec 1999 18:20:09 +0000 (18:20 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 5 Dec 1999 18:20:09 +0000 (18:20 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@62 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php
src/folders_create.php

index 1dfd4e4..a398605 100644 (file)
 
       /** The delete and move options */
       echo "<TR><TD BGCOLOR=$color_lgray>";
-      echo "\n\n\n<TABLE BGCOLOR=$color_lgray><TR><TD>";
-      echo "<FORM name=messageList method=post action=\"move_messages.php?msg=$msg&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage\">";
-      echo "<NOBR>\n";
-      echo "<INPUT TYPE=SUBMIT VALUE=\"Delete\">\n";
-      echo "checked mail";
-      echo "</NOBR></TD><TD ALIGN=\"right\"><NOBR>";
-      echo "<INPUT TYPE=SUBMIT NAME=\"moveButton\" VALUE=\"Move messages to:\">\n";
-      echo "<SELECT NAME=\"targetMailbox\">\n";
+
+      echo "\n\n\n<FORM name=messageList method=post action=\"move_messages.php?msg=$msg&mailbox=$urlMailbox&sort=$sort&startMessage=$startMessage\">";
+      echo "<TABLE BGCOLOR=$color_lgray>\n";
+      echo "   <TR>\n";
+      echo "      <TD WIDTH=30% ALIGN=LEFT>\n";
+      echo "         <NOBR><FONT FACE=\"Arial,Helvetica\"><INPUT TYPE=SUBMIT NAME=\"moveButton\" VALUE=\"Move to:\"></FONT>\n";
+      echo "         <SELECT NAME=\"targetMailbox\">\n";
       getFolderList($imapConnection, $boxesFormatted, $boxesUnformatted);
       for ($i = 0; $i < count($boxesUnformatted); $i++) {
          $use_folder = true;
             }
          }
          if ($use_folder == true)
-            echo "<OPTION VALUE=\"$boxesUnformatted[$i]\">$boxesUnformatted[$i]\n";
+            echo "         <OPTION VALUE=\"$boxesUnformatted[$i]\">$boxesUnformatted[$i]\n";
       }
-      echo "</SELECT>\n";
+      echo "         </SELECT></NOBR>\n";
+
+      echo "      </TD>\n";
+      echo "      <TD WIDTH=70% ALIGN=RIGHT>\n";
+      echo "         <NOBR><FONT FACE=\"Arial,Helvetica\"><INPUT TYPE=SUBMIT VALUE=\"Delete\">&nbsp;checked messages</FONT></NOBR>\n";
+      echo "      </TD>";
+      echo "   </TR>\n";
+
       if (($move_to_trash == true) && ($mailbox == $trash_folder))
-         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>";
-      else
-         echo "</NOBR>\n";
-      echo "</TD></TR></TABLE>\n\n\n";
+         echo "<TR><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF=\"empty_trash.php?numMessages=$numMessages&mailbox=$urlMailbox\">Empty Trash</A></TD></TR>";
+      echo "</TABLE>\n\n\n";
       echo "</TD></TR>";
 
       echo "<TR><TD BGCOLOR=$color_lgray>";
index d23b46f..6ce2afe 100644 (file)
@@ -1,3 +1,6 @@
+<HTML>
+<META HTTP-EQUIV="REFRESH" CONTENT="0;URL=webmail.php?right_frame=folders.php" TARGET=_top>
+<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#0000EE" ALINK="#0000EE">
 <?
    include("../config/config.php");
    include("../functions/strings.php");
@@ -8,7 +11,7 @@
    fputs($imapConnection, "1 create \"$subfolder.$folder_name\"\n");
    fputs($imapConnection, "1 logout\n");
 
-   echo "<BR><BR><A HREF=\"webmail.php?right_frame=folders.php\" TARGET=_top>Return</A>";
+   echo "<CENTER><BR><BR>You will be automatically forwarded.<BR>If not, <A HREF=\"webmail.php?right_frame=folders.php\" TARGET=_top>click here</A></CENTER>";
 ?>
-
+</BODY></HTML>