Blbuvzdorny prohledavani polozek skladem
authorThomas Mudrunka <tomas@mudrunka.cz>
Wed, 22 Feb 2012 16:59:06 +0000 (17:59 +0100)
committerThomas Mudrunka <tomas@mudrunka.cz>
Wed, 22 Feb 2012 16:59:06 +0000 (17:59 +0100)
assistants/stats/financial.inc.php
index.php
locale/cs/messages.inc.php

index 88464c8c01c3e6386c287477d99d99f0f3cdca7d..3f38df3c0a49cf0a878f917ecedf815d0efab156 100644 (file)
@@ -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')
 ));
 
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
index e5d53821a37bfe80d9fefbe7b8a8d7cfd72b9423..378b60f6d491ca47fdd0034cd85861bbc8de8c1e 100644 (file)
@@ -97,6 +97,7 @@ $LOCALE_MESSAGES = array(
                'STORE' => 'NASKLADNIT',
                'SET-MARGIN' => 'PŘIRAZIT',
                'filter' => 'filtr',
+               'search' => 'hledej',
                //'go' => 'jdi',
                'sure?' => 'opravdu?',
                'Logout' => 'Odhlásit',
This page took 0.110935 seconds and 4 git commands to generate.