From 313fd1f4478504fcee7c16569bbbd745a0658218 Mon Sep 17 00:00:00 2001 From: alex-brainstorm Date: Sat, 31 Jan 2004 17:11:47 +0000 Subject: [PATCH] Sync search results display with new mailbox_display git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6478 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/search.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/search.php b/src/search.php index 11538d92..1ed1bb6e 100644 --- a/src/search.php +++ b/src/search.php @@ -10,7 +10,7 @@ * * $Id$ * @package squirrelmail - * @link ftp://ftp.rfc-editor.org/in-notes/rfc3501.txt + * @link http://www.ietf.org/rfc/rfc3501.txt * @author Alex Lemaresquier - Brainstorm - alex at brainstorm.fr * * Subfolder search idea from Patch #806075 by Thomas Pohl xraven at users.sourceforge.net. Thanks Thomas! @@ -663,15 +663,14 @@ function asearch_print_mailbox_msgs($imapConnection, $mailbox, $msgs, $cnt, $sor $real_sort = $sort; } $mailbox_display = asearch_get_mailbox_display($mailbox); - echo html_tag('div', '' . _("Folder:") . ' '. $mailbox_display . '','center') . "\n"; $msg_cnt_str = get_msgcnt_str(1, $cnt, $cnt); - $toggle_all = get_selectall_link(1, $real_sort); + $paginator_str = '' . _("Folder:") . ' '. $mailbox_display . ''; - echo ''; + echo '
'; echo ''; echo ''; @@ -1047,7 +1046,7 @@ if ($submit == $search_button_text) { echo html_tag('table', '', 'center', $color[9], 'width="100%" cellpadding="1" cellspacing="0" border="0"'); echo html_tag('tr', html_tag('td', asearch_get_title_display($color, _("Search Results")), 'center', $color[5])); echo html_tag('tr', html_tag('td', asearch_get_query_display($color, $mailbox_array, $biop_array, $unop_array, $where_array, $what_array, $exclude_array, $sub_array), 'center', $color[4])); - echo '
'; - mail_message_listing_beginning($imapConnection, $mailbox, $real_sort, $msg_cnt_str, $toggle_all, 1); + mail_message_listing_beginning($imapConnection, $mailbox, $real_sort, $msg_cnt_str, $paginator_str, 1); echo '

' . "\n"; + echo '' . "\n"; $query_error = asearch_check_query($where_array, $what_array, $exclude_array); if ($query_error != '') -- 2.25.1