diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-03-27 22:59:06 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-03-27 22:59:06 +0100 |
commit | af0be8f9546fb5dec947be33e465bb6d9e85d0a7 (patch) | |
tree | 46fa7f026d861e54753e78ac8265563b0ddfca36 /themes/default/templates/search.tpl | |
parent | 2b589908f4624b0ee41217f21d5b0b7cb383d38c (diff) |
issue111, first try of auto completion for tag search box
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default/templates/search.tpl')
-rw-r--r-- | themes/default/templates/search.tpl | 4 |
1 files changed, 4 insertions, 0 deletions
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&search=[S]&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);" /> |