summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/global_mini_search.tpl4
-rw-r--r--templates/search.tpl6
2 files changed, 3 insertions, 7 deletions
diff --git a/templates/global_mini_search.tpl b/templates/global_mini_search.tpl
index 6525304..5b2258c 100644
--- a/templates/global_mini_search.tpl
+++ b/templates/global_mini_search.tpl
@@ -3,9 +3,7 @@
<div class="row">
<input id="fuser" name="highlight" size="20" type="text" accesskey="s" value="{tr}search{/tr}" onfocus="this.value=''" />
<br />
- <select name="where">
- {html_options options=$contentTypes selected=$perms[user].level}
- </select>
+ {html_options options=$contentTypes name="content_type_guid" selected=$perms[user].level}
</div>
<div class="row submit">
<input type="submit" name="search" value="{tr}go{/tr}"/>
diff --git a/templates/search.tpl b/templates/search.tpl
index e04719d..5cf8f09 100644
--- a/templates/search.tpl
+++ b/templates/search.tpl
@@ -7,11 +7,9 @@
<div class="body">
{form legend="Extended Search"}
<div class="row">
- {formlabel label="Limit Search" for="where"}
+ {formlabel label="Limit Search" for="content_type_guid"}
{forminput}
- <select name="where" id="where">
- {html_options options=$contentTypes }
- </select>
+ {html_options options=$contentTypes name=content_type_guid selected=`$content_type_guid` }
{formhelp note="Limit search to the selected Liberty package"}
{/forminput}
</div>