From bf9a965cbe1a779ffebbe2251c1ebb4690067e51 Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Wed, 22 Feb 2012 17:59:06 +0100 Subject: [PATCH] Blbuvzdorny prohledavani polozek skladem --- assistants/stats/financial.inc.php | 2 +- index.php | 8 ++++++++ locale/cs/messages.inc.php | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) 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', -- 2.30.2