2014-01-08 Miguel de Dios <miguel.dedios@artica.es>

* general/header.php: fixed the empty action with trying to write
	some thing in the global search field when it is search anything.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-01-08 17:03:21 +00:00
parent 9d729baf2a
commit 7c49b8d3e5
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php: fixed the empty action with trying to write
some thing in the global search field when it is search anything.
2014-01-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fixed the agent name label.

View File

@ -212,9 +212,15 @@ config_check();
$table->data[0][9] .= '</a>';
}
// Search bar
$search_bar = '<form method="get" style="display: inline;" name="quicksearch" action="">';
if (strlen($config['search_keywords']) == 0)
$search_bar .= '<script type="text/javascript"> var fieldKeyWordEmpty = true; </script>';
else
$search_bar .= '<script type="text/javascript"> var fieldKeyWordEmpty = false; </script>';
$search_bar .= '<input type="text" id="keywords" name="keywords"';
if (!isset($config['search_keywords']))
$search_bar .= "value='" . __("Enter keywords to search") . "'";