From 69c1c5c1ad60518b6b3d051245f26260e67e5fd6 Mon Sep 17 00:00:00 2001 From: fidian Date: Wed, 16 May 2001 17:58:33 +0000 Subject: [PATCH] * Removed some extra code I added * Moved the call to urlMailbox to the function I just created git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1370 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 862b6b5f..f597b2df 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -555,12 +555,6 @@ echo " BGCOLOR=\"$color[0]\">"; echo ""; - $urlMailbox=urlencode($mailbox); - - $upPointer = ''; - $downPointer = ''; - $noPointer = ''; - // Print the headers for ($i=1; $i <= count($index_order); $i++) { switch ($index_order[$i]) { @@ -574,19 +568,19 @@ echo ' '. _("To") .''; else echo ' '. _("From") .''; - ShowSortButton($sort, $urlMailbox, 2, 3); + ShowSortButton($sort, $mailbox, 2, 3); echo "\n"; break; case 3: # date echo ' '. _("Date") .''; - ShowSortButton($sort, $urlMailbox, 0, 1); + ShowSortButton($sort, $mailbox, 0, 1); echo "\n"; break; case 4: # subject echo ' '. _("Subject") .' '; - ShowSortButton($sort, $urlMailbox, 4, 5); + ShowSortButton($sort, $mailbox, 4, 5); echo "\n"; break; @@ -610,8 +604,9 @@ $which = 6; } echo ' '; + '&startMessage=1&mailbox=' . urlencode($mailbox) . + '">'; } function ShowSelectAllLink($startMessage, $sort) -- 2.25.1