Updated all php3's to php's
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 23 Nov 1999 03:07:24 +0000 (03:07 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 23 Nov 1999 03:07:24 +0000 (03:07 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@20 7612ce4b-ef26-0410-bec9-ea0150e637f0

14 files changed:
config/config.php [moved from config/config.php3 with 100% similarity]
functions/array.php [moved from functions/array.php3 with 100% similarity]
functions/date.php [moved from functions/date.php3 with 100% similarity]
functions/display_messages.php [moved from functions/display_messages.php3 with 100% similarity]
functions/imap.php [moved from functions/imap.php3 with 100% similarity]
functions/mailbox.php [moved from functions/mailbox.php3 with 100% similarity]
functions/mailbox_display.php [moved from functions/mailbox_display.php3 with 77% similarity]
functions/page_header.php [moved from functions/page_header.php3 with 100% similarity]
functions/strings.php [moved from functions/strings.php3 with 100% similarity]
src/left_main.php [moved from src/left_main.php3 with 100% similarity]
src/login.php [moved from src/login.php3 with 100% similarity]
src/right_main.php [moved from src/right_main.php3 with 100% similarity]
src/signout.php [moved from src/signout.php3 with 100% similarity]
src/webmail.php [moved from src/webmail.php3 with 100% similarity]

similarity index 100%
rename from config/config.php3
rename to config/config.php
similarity index 100%
rename from functions/array.php3
rename to functions/array.php
similarity index 100%
rename from functions/date.php3
rename to functions/date.php
similarity index 100%
rename from functions/imap.php3
rename to functions/imap.php
similarity index 100%
rename from functions/mailbox.php3
rename to functions/mailbox.php
similarity index 77%
rename from functions/mailbox_display.php3
rename to functions/mailbox_display.php
index c970dfa..942ae2e 100644 (file)
 
       $nextGroup = $startMessage + 25;
       $prevGroup = $startMessage - 25;
+      $urlMailbox = urlencode($mailbox);
 
-      echo "Messages:  $numMessages, $numMessagesOld -- ";
-      echo "Start:     $startMessage to $endMessage<BR>";
-      echo "NextGroup: $nextGroup -- ";
-      echo "PrevGroup: $prevGroup<BR>";
+      /** This is the beginning of the message list table.  It wraps around all messages */
+      echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1>";
 
-      $urlMailbox = urlencode($mailbox);
+      echo "<TR BGCOLOR=FFFFFF><TD>";
+      echo "<CENTER><FONT FACE=\"Arial,Helvetica\">Viewing messages <B>$startMessage</B> to <B>$endMessage</B> ($numMessages total)</FONT></CENTER>\n";
+      echo "</TD></TR>\n";
 
+      echo "<TR BGCOLOR=FFFFFF><TD>";
       if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\">Next</A>\n";
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\">Previous</A>\n";
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
       }
       else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\">Previous</A>\n";
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
       }
       else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
-         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\">Next</A>\n";
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
       }
+      echo "</TD></TR>\n";
 
-      /** This is the beginning of the message list table.  It wraps around all messages */
-      echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1>";
       echo "<TR><TD BGCOLOR=DCDCDC>";
       echo "<TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=1 BGCOLOR=FFFFFF>";
       echo "<TR BGCOLOR=FFFFCC ALIGN=\"center\">";
       for ($i = $startMessage - 1;$i <= $endMessage - 1; $i++) {
          printMessageInfo($imapConnection, $msgs[$i]["ID"], $msgs[$i]["FROM"], $msgs[$i]["SUBJECT"], $msgs[$i]["DATE_STRING"], $msgs[$i]["FLAG_ANSWERED"], $msgs[$i]["FLAG_SEEN"]);
       }
-
       echo "</TABLE>\n";
+
+      echo "</TD></TR>\n";
+      echo "<TR BGCOLOR=FFFFFF><TD>";
+      if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) {
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+      }
+      else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) {
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$prevGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Previous</FONT></A>\n";
+      }
+      else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) {
+         echo "<A HREF=\"right_main.php3?sort=$sort&startMessage=$nextGroup&mailbox=$urlMailbox\" TARGET=\"right\"><FONT FACE=\"Arial,Helvetica\">Next</FONT></A>\n";
+      }
       echo "</TD></TR></TABLE>"; /** End of message-list table */
    }
 ?>
similarity index 100%
rename from functions/strings.php3
rename to functions/strings.php
similarity index 100%
rename from src/left_main.php3
rename to src/left_main.php
similarity index 100%
rename from src/login.php3
rename to src/login.php
similarity index 100%
rename from src/right_main.php3
rename to src/right_main.php
similarity index 100%
rename from src/signout.php3
rename to src/signout.php
similarity index 100%
rename from src/webmail.php3
rename to src/webmail.php