fhiiqm/form/gefahr_ap_search_form.inc.php
changeset 26 3c1e3ac7089f
parent 1 6288d5685bff
child 28 8d8bce56918f
--- a/fhiiqm/form/gefahr_ap_search_form.inc.php	Thu Apr 05 15:35:43 2012 +0200
+++ b/fhiiqm/form/gefahr_ap_search_form.inc.php	Mon May 07 16:21:00 2012 +0200
@@ -130,10 +130,21 @@
           echo "</select>&nbsp;&nbsp;&nbsp;&nbsp;\n";
         } 
         echo "</td></tr>\n";
+
+        $azeil = array(10=>'10',20=>'20',25=>'25',50=>'50',100=>'100',9999=>'alle'); // Anzahl gezeigter rows
+        echo "<tr><td>Zeilen/Seite?</td><td><select name='rag[z]'>\n";
+        if (!$rag['z']) $rag['z'] = 25;
+        foreach ($azeil as $key=>$val)
+        {
+            if ($key == $rag['z']) $select = "selected"; else $select = "";
+            echo "<option $select value='$key'>$val</option>\n";
+        }
+        echo "</select></td></tr>\n";
+
     ?>
     <tr> 
         <td>&nbsp;</td>
-        <td><input class="button" type="submit" name="search" value="suchen"></td>
+        <td><input class="button" type="submit" name="search" value="Bericht erstellen"/></td>
     </tr> 
 </table>
 </div>