honor checkall variable
authorrobsiemb <robsiemb@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 18 May 2004 18:03:27 +0000 (18:03 +0000)
committerrobsiemb <robsiemb@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 18 May 2004 18:03:27 +0000 (18:03 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7488 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/search.php

index e486dad26b1009767cabec100302bedebe1ca4f3..539ae1b702a69a513c9f1c28bc2ea6e787872bde 100644 (file)
@@ -934,6 +934,10 @@ sqgetGlobalVar('key', $key, SQ_COOKIE);
 sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION);
 sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION);
 
+if ( sqgetGlobalVar('checkall', $temp, SQ_GET) ) {
+  $checkall = (int) $temp;
+}
+
 $search_button_html = _("Search");
 $search_button_text = asearch_unhtmlentities($search_button_html);
 $add_criteria_button_html = _("Add New Criteria");
@@ -1388,4 +1392,4 @@ do_hook('search_bottom');
 sqimap_logout($imapConnection);
 echo '</body></html>';
 
-?>
\ No newline at end of file
+?>