Preserve expanded/collapsed across result pages.
authorchriskl <chriskl>
Sun, 20 Nov 2005 03:06:14 +0000 (03:06 +0000)
committerchriskl <chriskl>
Sun, 20 Nov 2005 03:06:14 +0000 (03:06 +0000)
display.php

index 89d91817cf750d49512be5a7c0acb878373ebd41..0d73834e3b6723292ef9cc1b7b06b169da7a5801 100644 (file)
@@ -9,7 +9,7 @@
         * @param $return_desc The return link name
         * @param $page The current page
         *
-        * $Id: display.php,v 1.52 2005/10/18 03:45:16 chriskl Exp $
+        * $Id: display.php,v 1.53 2005/11/20 03:06:14 chriskl Exp $
         */
 
        // Prevent timeouts on large exports (non-safe mode only)
                        
                if (is_object($rs) && $rs->recordCount() > 0) {
                        // Show page navigation
-                       $misc->printPages($_REQUEST['page'], $max_pages, "display.php?page=%s&amp;{$str}&amp;{$str2}");
+                       $misc->printPages($_REQUEST['page'], $max_pages, "display.php?page=%s&amp;{$str}&amp;{$str2}&amp;strings=" . urlencode($_REQUEST['strings']));
                        echo "<table>\n<tr>";
        
                        // Check that the key is actually in the result set.  This can occur for select
                        echo "</table>\n";                      
                        echo "<p>", $rs->recordCount(), " {$lang['strrows']}</p>\n";
                        // Show page navigation
-                       $misc->printPages($_REQUEST['page'], $max_pages, "display.php?page=%s&amp;{$str}&amp;{$str2}");
+                       $misc->printPages($_REQUEST['page'], $max_pages, "display.php?page=%s&amp;{$str}&amp;{$str2}&amp;strings=" . urlencode($_REQUEST['strings']));
                }
                else echo "<p>{$lang['strnodata']}</p>\n";