Przeglądaj źródła

Added toggle_all link + formatting changes

stekkel 23 lat temu
rodzic
commit
3e6e918fc5
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5 1
      src/search.php

+ 5 - 1
src/search.php

@@ -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);
 		          $msort, $mailbox, $sort, $color, $cnt, $where, $what);
 
 
        mail_message_listing_end($cnt, '', $msg_cnt_str, $color); 
        mail_message_listing_end($cnt, '', $msg_cnt_str, $color); 
+       echo '</td></tr></table>';
+       
     }
     }
 }			      
 }