diff options
| author | Lester Caine <lester@lsces.co.uk> | 2006-02-11 01:18:19 +0000 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2006-02-11 01:18:19 +0000 |
| commit | 337fbca5737ae158007968d06ff393a038c2a86d (patch) | |
| tree | cc03837362608c510176b35592951a7d07963df4 /templates | |
| parent | 1631fe453fe890f65bcb20560ff8e40a39d1afeb (diff) | |
| download | search-337fbca5737ae158007968d06ff393a038c2a86d.tar.gz search-337fbca5737ae158007968d06ff393a038c2a86d.tar.bz2 search-337fbca5737ae158007968d06ff393a038c2a86d.zip | |
Tidy html_options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/global_mini_search.tpl | 4 | ||||
| -rw-r--r-- | templates/search.tpl | 6 |
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> |
