From: Thomas Mudrunka Date: Wed, 22 Feb 2012 16:59:06 +0000 (+0100) Subject: Blbuvzdorny prohledavani polozek skladem X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=bf9a965cbe1a779ffebbe2251c1ebb4690067e51;p=mirrors%2FSokoMan.git Blbuvzdorny prohledavani polozek skladem --- diff --git a/assistants/stats/financial.inc.php b/assistants/stats/financial.inc.php index 88464c8..3f38df3 100644 --- a/assistants/stats/financial.inc.php +++ b/assistants/stats/financial.inc.php @@ -7,7 +7,7 @@ if(isset($_GET['month'])) { } echo $this->html->form($URL, 'GET', array( - array('month',$month,'text',false,'autofocus','YYYY-MM:'), + array('month',$month,'text',false,'','YYYY-MM:'), array(false,'SELECT BY MONTH','submit') )); diff --git a/index.php b/index.php index caf25a0..5446db1 100755 --- a/index.php +++ b/index.php @@ -262,16 +262,24 @@ EOF; $html .= '
'; + /* + //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 .= '
'; $html .= << 'NASKLADNIT', 'SET-MARGIN' => 'PŘIRAZIT', 'filter' => 'filtr', + 'search' => 'hledej', //'go' => 'jdi', 'sure?' => 'opravdu?', 'Logout' => 'Odhlásit',