From: thomppj Date: Fri, 7 Dec 2001 07:44:21 +0000 (+0000) Subject: Reworked paginator code, everyone try it out. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=7b2949532ae7903671660d4c8cbf922d4c92478e Reworked paginator code, everyone try it out. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1843 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/ChangeLog b/ChangeLog index f736bc40..2dc49ad4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,11 @@ -**************************************************************** +*************************************************************** *** Squirrelmail Development Series 1.1 and 1.1 Pre-Releases *** **************************************************************** +Version 1.2.0-rc4 -- December ??, 2001 (PENDING) +------------------------------------------------ + - Cleanup of the paginator code, improving display style. + Version 1.2.0-rc3 -- December 2, 2001 ------------------------------------- - Speed improvements and optimizations on much of the code diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 8e80efa6..1dcc3450 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -378,7 +378,8 @@ function displayMessageArray($imapConnection, $num_msgs, $start_msg, &$msgs, $ms do_hook('mailbox_index_before'); $msg_cnt_str = get_msgcnt_str($start_msg, $end_msg, $num_msgs); - $paginator_str = get_paginator_str($urlMailbox, $start_msg, $end_msg, $num_msgs, $show_num, $sort); + $paginator_str = get_paginator_str + ($urlMailbox, $start_msg, $end_msg, $num_msgs, $show_num, $sort); if (! isset($msg)) { $msg = ''; @@ -478,33 +479,27 @@ function mail_message_listing_beginning * This is the beginning of the message list table. * It wraps around all messages */ - echo "\n". - "'. - "
". - "\n". - " \n". - " \n". - "
$paginator"; - - if( $paginator <> ' ' ) { - echo ' | '; - } - - echo get_selectall_link($start_msg, $sort) . "$msg_cnt_str
\n". - '
\n". - "
\n". - "\n". - " \n" . - " \n" . - " \n" . - " \n" . - " \n" . - "
\n" . - '  ' . _("Move selected to:") . "\n" . - " \n" . - '  ' . _("Transform Selected Messages") . ":  
\n" . - "
\n" . - '  \n" + . "' + . "
" + . " \n" + . " \n" + . " \n" + . "
$paginator$msg_cnt_str
\n" + . '
\n" + . "\n" + . "\n" + . " \n" + . " \n" + . " \n" + . " \n" + . " \n" + . "
\n" + . '  ' . _("Move selected to:") . "\n" + . " \n" + . '  ' . _("Transform Selected Messages") . ":  
\n" + . "
\n" + . '