mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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
4d3adfccb1
commit
6b35a90d28
@ -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>
|
2014-01-16 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* godmode/alerts/alert_list.list.php,
|
* godmode/alerts/alert_list.list.php,
|
||||||
|
@ -216,10 +216,15 @@ config_check();
|
|||||||
|
|
||||||
// Search bar
|
// Search bar
|
||||||
$search_bar = '<form method="get" style="display: inline;" name="quicksearch" action="">';
|
$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>';
|
$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"';
|
$search_bar .= '<input type="text" id="keywords" name="keywords"';
|
||||||
if (!isset($config['search_keywords']))
|
if (!isset($config['search_keywords']))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user