tazpanel diff hardware.cgi @ rev 69
Fix query_string_parser used from a form (&)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 12 02:55:40 2011 +0200 (2011-04-12) |
parents | 95dc2475f4ae |
children | ba8cd6b7b934 |
line diff
1.1 --- a/hardware.cgi Tue Apr 12 02:47:00 2011 +0200 1.2 +++ b/hardware.cgi Tue Apr 12 02:55:40 2011 +0200 1.3 @@ -27,13 +27,19 @@ 1.4 case "$QUERY_STRING" in 1.5 print*) 1.6 echo "TODO" ;; 1.7 - modules|modinfo=*) 1.8 + modules*|modinfo=*) 1.9 query_string_parser 1.10 xhtml_header 1.11 cat << EOT 1.12 <div id="wrapper"> 1.13 <h2>`gettext "Kernel modules"`</h2> 1.14 - <p>`gettext "Manage and get info about the Linux kernel modules`</p> 1.15 +<div class="float-right"> 1.16 + <form method="get" action="$SCRIPT_NAME"> 1.17 + <input type="hidden" name="modules" /> 1.18 + <input type="text" name="search" /> 1.19 + </form> 1.20 +</div> 1.21 + <p>`gettext "Manage, search or get info on the Linux kernel modules`</p> 1.22 </div> 1.23 EOT 1.24 # Request may be modinfo output that we want in the page itself