2014-01-16 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php: fixed the PHP notices about the var $search_keywords. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e1818581f5
commit
5f689176b1
|
@ -1,3 +1,8 @@
|
|||
2014-01-16 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* general/header.php: fixed the PHP notices about the var
|
||||
$search_keywords.
|
||||
|
||||
2014-01-16 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* godmode/alerts/alert_list.list.php,
|
||||
|
|
|
@ -216,10 +216,15 @@ config_check();
|
|||
|
||||
// Search bar
|
||||
$search_bar = '<form method="get" style="display: inline;" name="quicksearch" action="">';
|
||||
if (strlen($config['search_keywords']) == 0)
|
||||
if (!isset($config['search_keywords'])) {
|
||||
$search_bar .= '<script type="text/javascript"> var fieldKeyWordEmpty = true; </script>';
|
||||
else
|
||||
$search_bar .= '<script type="text/javascript"> var fieldKeyWordEmpty = false; </script>';
|
||||
}
|
||||
else {
|
||||
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']))
|
||||
|
|
Loading…
Reference in New Issue