Added toggle_all link + formatting changes
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Aug 2002 09:30:04 +0000 (09:30 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 22 Aug 2002 09:30:04 +0000 (09:30 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3403 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/search.php

index 29b3159207a2134f878b46606ee1274f3b7008d0..1232c4e14a99af0177576d2c5bb37e55df4cc02d 100644 (file)
@@ -173,9 +173,11 @@ function printSearchMessages($msgs,$mailbox, $cnt, $imapConnection, $where, $wha
 
 
        $msg_cnt_str = get_msgcnt_str(1, $cnt, $cnt);
 
 
        $msg_cnt_str = get_msgcnt_str(1, $cnt, $cnt);
+       $toggle_all = get_selectall_link(1, $sort);
 
 
+       echo '<table bgcolor="' . $color[0] . '" border="0" width="100%" cellpadding="1" cellspacing="0"><tr><td>';
        mail_message_listing_beginning($imapConnection, $mailbox, $sort, 
        mail_message_listing_beginning($imapConnection, $mailbox, $sort, 
-                                       $msg_cnt_str, '', 1);
+                                       $msg_cnt_str, $toggle_all, 1);
 
 
        printHeader($mailbox, 6, $color, false);
 
 
        printHeader($mailbox, 6, $color, false);
@@ -184,6 +186,8 @@ function printSearchMessages($msgs,$mailbox, $cnt, $imapConnection, $where, $wha
                          $msort, $mailbox, $sort, $color, $cnt, $where, $what);
 
        mail_message_listing_end($cnt, '', $msg_cnt_str, $color); 
                          $msort, $mailbox, $sort, $color, $cnt, $where, $what);
 
        mail_message_listing_end($cnt, '', $msg_cnt_str, $color); 
+       echo '</td></tr></table>';
+       
     }
 }                            
 
     }
 }