Blbuvzdorny prohledavani polozek skladem
[mirrors/SokoMan.git] / index.php
index caf25a0ef3039c92e95f2ea419b87abbc7565589..5446db14f9ee4310bfa56f8840351b74c8813de2 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -262,16 +262,24 @@ EOF;
 
        $html .= '<div style="float: right;">';
 
+       /*
+       //TODO: Do we really need this?
        $html .= $this->form("$script/api/go", 'GET', array(
                array('q','','text','smart id...', 'autofocus'),
                array(false,'go','submit')
        ), 'style="float: left;"');
+       */
 
        $html .= $this->form('?', 'GET', array(
                array('q',$search,'text','regexp...'),
                array(false,'filter','submit')
        ), 'style="float: left;"');
 
+       $html .= $this->form("$script/item", 'GET', array(
+               array('q',$search,'text','regexp...','autofocus'),
+               array(false,'search','submit')
+       ), 'style="float: left;"');
+
        $html .= '</div>';
 
        $html .= <<<EOF
This page took 0.119881 seconds and 4 git commands to generate.