X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fsearch.php;h=b99fff9c81635bcd117ece3537cb8922e02c9d75;hb=b7043f905faff3c0e7e6ab8bfe7a658372de3ce2;hp=11538d923a1df3a8e9d0eb6d89fbc1fb9c884b78;hpb=2d2f8bb8c287bb6c3dfb2ec9952ecce6b8746e77;p=squirrelmail.git diff --git a/src/search.php b/src/search.php index 11538d92..b99fff9c 100644 --- a/src/search.php +++ b/src/search.php @@ -3,14 +3,14 @@ /** * search.php * - * Copyright (c) 1999-2003 The SquirrelMail Project Team + * Copyright (c) 1999-2004 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * IMAP search page * * $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,9 @@ 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, NULL, $mailbox, $real_sort, $msg_cnt_str, $paginator_str, 1, 1); echo '

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