diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-03-29 07:55:25 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-03-29 07:55:25 +0100 |
commit | c3342635f7c4d0408648ffbb31e4041d93ee4888 (patch) | |
tree | eeeeb194796dacdc7088f913f85211d1721ac9df /themes | |
parent | 8ab8f2cd84b981d1ae7272a05cd087a5f4924149 (diff) |
issue111, auto-completion can now be enabled/disabled via config option
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/templates/header.tpl | 2 | ||||
-rw-r--r-- | themes/default/templates/search.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/templates/header.tpl b/themes/default/templates/header.tpl index 72257df..e946a5b 100644 --- a/themes/default/templates/header.tpl +++ b/themes/default/templates/header.tpl @@ -14,7 +14,7 @@ <script type="text/javascript" src="lightbox2/js/lightbox.js"></script> <link rel="stylesheet" href="lightbox2/css/lightbox.css" type="text/css" media="screen" /> { /if } - { if ! $use_autocomplete } + { if $use_autocomplete } <script src="autosuggest/js/bsn.AutoSuggest_2.1.3_comp.js"></script> <link rel="stylesheet" href="autosuggest/css/autosuggest_inquisitor.css" type="text/css" media="screen" charset="utf-8" /> { /if } diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index ee9a7e1..f983c40 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -7,7 +7,7 @@ <tr> <td>Tag:</td> <td> - { if ! $use_autocomplete } + { if $use_autocomplete } <input type="text" name="searchfor_tag" id="searchfor_tag" value="{$searchfor_tag}" size="15" acdropdown="true" autocomplete_list="url:rpc.php?action=getxmltaglist&search=[S]&length=10" /> { literal } <script type="text/javascript"> |