summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/default/templates/credits.tpl1
-rw-r--r--themes/default/templates/header.tpl11
-rw-r--r--themes/default/templates/search.tpl13
3 files changed, 15 insertions, 10 deletions
diff --git a/themes/default/templates/credits.tpl b/themes/default/templates/credits.tpl
index f1c9912..d0e6294 100644
--- a/themes/default/templates/credits.tpl
+++ b/themes/default/templates/credits.tpl
@@ -12,6 +12,7 @@
Most icons from <a href="http://www.silvestre.com.ar/">Silvestre Herrera's</a> Nuovo icon kit.
<br />
<a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox2</a>
+ <a href="http://www.brandspankingnew.net/archive/2007/02/ajax_auto_suggest_v2.html">Ajax Auto Suggest</a>
<hr />
F-Spot database version: {$db_version}
</div>
diff --git a/themes/default/templates/header.tpl b/themes/default/templates/header.tpl
index f98705a..72257df 100644
--- a/themes/default/templates/header.tpl
+++ b/themes/default/templates/header.tpl
@@ -15,14 +15,7 @@
<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>
+ <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 }
</head>
diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl
index e6baaa9..ee9a7e1 100644
--- a/themes/default/templates/search.tpl
+++ b/themes/default/templates/search.tpl
@@ -8,7 +8,18 @@
<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" />
+ <input type="text" name="searchfor_tag" id="searchfor_tag" value="{$searchfor_tag}" size="15" acdropdown="true" autocomplete_list="url:rpc.php?action=getxmltaglist&amp;search=[S]&amp;length=10" />
+ { literal }
+ <script type="text/javascript">
+ var options = {
+ script: "rpc.php?action=getxmltaglist&",
+ varname: "search",
+ json: false,
+ maxresults: 15
+ };
+ var as = new bsn.AutoSuggest('searchfor_tag', options);
+ </script>
+ { /literal }
{ else }
<input type="text" name="searchfor_tag" value="{$searchfor_tag}" size="15" />
{ /if }