diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2009-05-23 09:45:29 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2009-05-23 09:45:29 +0200 |
commit | ea36e81b91c8689ae44d413eca4697d1993ac30b (patch) | |
tree | 22630855ca7bf23fb0b8652f90d9e5b8e4f2c704 /themes/default/templates/header.tpl | |
parent | 6216473e5065117651a08931182e7ca9f0cb41a2 (diff) |
avoid notice messages about undefined variables, resolves #179
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default/templates/header.tpl')
-rw-r--r-- | themes/default/templates/header.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/templates/header.tpl b/themes/default/templates/header.tpl index c1d7a0c..d592ebf 100644 --- a/themes/default/templates/header.tpl +++ b/themes/default/templates/header.tpl @@ -8,13 +8,13 @@ <script type="text/javascript" src="{$web_path}/phpfspot.js"></script> <link rel="shortcut icon" href="{$web_path}/resources/gpl_16.png" type="image/png" /> <link rel="icon" href="{$web_path}/resources/gpl_16.png" type="image/png" /> - { if $use_lightbox } + { if isset($use_lightbox) } <script type="text/javascript" src="{$web_path}/lightbox2/js/prototype.js"></script> <script type="text/javascript" src="{$web_path}/lightbox2/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="{$web_path}/lightbox2/js/lightbox.js"></script> <link rel="stylesheet" href="{$web_path}/lightbox2/css/lightbox.css" type="text/css" media="screen" /> { /if } - { if $use_autocomplete } + { if isset($use_autocomplete) } <script type="text/javascript" src="{$web_path}/autosuggest/js/bsn.AutoSuggest_2.1.3_comp.js"></script> <link rel="stylesheet" href="{$web_path}/autosuggest/css/autosuggest_inquisitor.css" type="text/css" media="screen" charset="utf-8" /> { /if } |