From 20db5033a7f36d40c7fe11d561069de9c9a2a970 Mon Sep 17 00:00:00 2001 From: lkehresman Date: Tue, 23 Nov 1999 03:07:24 +0000 Subject: [PATCH] Updated all php3's to php's git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@20 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/{config.php3 => config.php} | 0 functions/{array.php3 => array.php} | 0 functions/{date.php3 => date.php} | 0 ...lay_messages.php3 => display_messages.php} | 0 functions/{imap.php3 => imap.php} | 0 functions/{mailbox.php3 => mailbox.php} | 0 ...ilbox_display.php3 => mailbox_display.php} | 37 +++++++++++++------ .../{page_header.php3 => page_header.php} | 0 functions/{strings.php3 => strings.php} | 0 src/{left_main.php3 => left_main.php} | 0 src/{login.php3 => login.php} | 0 src/{right_main.php3 => right_main.php} | 0 src/{signout.php3 => signout.php} | 0 src/{webmail.php3 => webmail.php} | 0 14 files changed, 25 insertions(+), 12 deletions(-) rename config/{config.php3 => config.php} (100%) rename functions/{array.php3 => array.php} (100%) rename functions/{date.php3 => date.php} (100%) rename functions/{display_messages.php3 => display_messages.php} (100%) rename functions/{imap.php3 => imap.php} (100%) rename functions/{mailbox.php3 => mailbox.php} (100%) rename functions/{mailbox_display.php3 => mailbox_display.php} (77%) rename functions/{page_header.php3 => page_header.php} (100%) rename functions/{strings.php3 => strings.php} (100%) rename src/{left_main.php3 => left_main.php} (100%) rename src/{login.php3 => login.php} (100%) rename src/{right_main.php3 => right_main.php} (100%) rename src/{signout.php3 => signout.php} (100%) rename src/{webmail.php3 => webmail.php} (100%) diff --git a/config/config.php3 b/config/config.php similarity index 100% rename from config/config.php3 rename to config/config.php diff --git a/functions/array.php3 b/functions/array.php similarity index 100% rename from functions/array.php3 rename to functions/array.php diff --git a/functions/date.php3 b/functions/date.php similarity index 100% rename from functions/date.php3 rename to functions/date.php diff --git a/functions/display_messages.php3 b/functions/display_messages.php similarity index 100% rename from functions/display_messages.php3 rename to functions/display_messages.php diff --git a/functions/imap.php3 b/functions/imap.php similarity index 100% rename from functions/imap.php3 rename to functions/imap.php diff --git a/functions/mailbox.php3 b/functions/mailbox.php similarity index 100% rename from functions/mailbox.php3 rename to functions/mailbox.php diff --git a/functions/mailbox_display.php3 b/functions/mailbox_display.php similarity index 77% rename from functions/mailbox_display.php3 rename to functions/mailbox_display.php index c970dfa3..942ae2ec 100644 --- a/functions/mailbox_display.php3 +++ b/functions/mailbox_display.php @@ -98,27 +98,28 @@ $nextGroup = $startMessage + 25; $prevGroup = $startMessage - 25; + $urlMailbox = urlencode($mailbox); - echo "Messages: $numMessages, $numMessagesOld -- "; - echo "Start: $startMessage to $endMessage
"; - echo "NextGroup: $nextGroup -- "; - echo "PrevGroup: $prevGroup
"; + /** This is the beginning of the message list table. It wraps around all messages */ + echo ""; - $urlMailbox = urlencode($mailbox); + echo "\n"; + echo "\n"; - /** This is the beginning of the message list table. It wraps around all messages */ - echo "
"; + echo "
Viewing messages $startMessage to $endMessage ($numMessages total)
\n"; + echo "
"; if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) { - echo "Next\n"; - echo "Previous\n"; + echo "Previous\n"; + echo "Next\n"; } else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) { - echo "Previous\n"; + echo "Previous\n"; } else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) { - echo "Next\n"; + echo "Next\n"; } + echo "
"; echo "\n"; + echo "
"; echo ""; echo ""; @@ -136,8 +137,20 @@ 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 "
\n"; + + echo "
"; + if (($nextGroup <= $numMessages) && ($prevGroup >= 0)) { + echo "Previous\n"; + echo "Next\n"; + } + else if (($nextGroup > $numMessages) && ($prevGroup >= 0)) { + echo "Previous\n"; + } + else if (($nextGroup <= $numMessages) && ($prevGroup < 0)) { + echo "Next\n"; + } echo "
"; /** End of message-list table */ } ?> diff --git a/functions/page_header.php3 b/functions/page_header.php similarity index 100% rename from functions/page_header.php3 rename to functions/page_header.php diff --git a/functions/strings.php3 b/functions/strings.php similarity index 100% rename from functions/strings.php3 rename to functions/strings.php diff --git a/src/left_main.php3 b/src/left_main.php similarity index 100% rename from src/left_main.php3 rename to src/left_main.php diff --git a/src/login.php3 b/src/login.php similarity index 100% rename from src/login.php3 rename to src/login.php diff --git a/src/right_main.php3 b/src/right_main.php similarity index 100% rename from src/right_main.php3 rename to src/right_main.php diff --git a/src/signout.php3 b/src/signout.php similarity index 100% rename from src/signout.php3 rename to src/signout.php diff --git a/src/webmail.php3 b/src/webmail.php similarity index 100% rename from src/webmail.php3 rename to src/webmail.php -- 2.25.1