summaryrefslogtreecommitdiffstats
path: root/themes/default/templates
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/templates')
-rw-r--r--themes/default/templates/header.tpl11
-rw-r--r--themes/default/templates/search.tpl4
2 files changed, 15 insertions, 0 deletions
diff --git a/themes/default/templates/header.tpl b/themes/default/templates/header.tpl
index c233bb3..f98705a 100644
--- a/themes/default/templates/header.tpl
+++ b/themes/default/templates/header.tpl
@@ -14,4 +14,15 @@
<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 }
+ <link rel="stylesheet" href="autocomplete/css/dropdown.css" type="text/css" media="screen" />
+ <script src="autocomplete/js/modomevent3.js"></script>
+ <script src="autocomplete/js/modomt.js"></script>
+ <script src="autocomplete/js/modomext.js"></script>
+ <script src="autocomplete/js/getobject2.js"></script>
+ <script src="autocomplete/js/xmlextras.js"></script>
+ <script src="autocomplete/js/acdropdown.js"></script>
+ <script src="autocomplete/js/ieselect.js"></script>
+ <script language="javascript" src="autocomplete/js/shCore.js" ></script>
+ { /if }
</head>
diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl
index 10800e1..e6baaa9 100644
--- a/themes/default/templates/search.tpl
+++ b/themes/default/templates/search.tpl
@@ -7,7 +7,11 @@
<tr>
<td>Tag:</td>
<td>
+ { if ! $use_autocomplete }
+ <input type="text" name="searchfor_tag" value="{$searchfor_tag}" size="15" acdropdown="true" autocomplete_list="url:rpc.php?action=getxmltaglist&amp;search=[S]&amp;length=10" />
+ { else }
<input type="text" name="searchfor_tag" value="{$searchfor_tag}" size="15" />
+ { /if }
</td>
<td>
<input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" />