From efecaa5e52f1b7f9e09b840c261ccc763a455689 Mon Sep 17 00:00:00 2001 From: lsces Date: Fri, 6 Jun 2014 23:15:20 +0100 Subject: switch to form-group --- templates/admin_search.tpl | 20 ++++++++++---------- templates/flat_mini_search.tpl | 4 ++-- templates/global_mini_search.tpl | 4 ++-- templates/search.tpl | 10 +++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/templates/admin_search.tpl b/templates/admin_search.tpl index 883f5f7..8eb19a2 100644 --- a/templates/admin_search.tpl +++ b/templates/admin_search.tpl @@ -7,7 +7,7 @@ {foreach from=$formSearchToggles key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} @@ -17,7 +17,7 @@ {/foreach} {foreach from=$formSearchInts key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} @@ -26,7 +26,7 @@
{/foreach} -
+
{/form} @@ -35,7 +35,7 @@ {jstab title="Searchable Content"} {form legend="Searchable Content"} {foreach from=$formSearchTypeToggles key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} @@ -45,7 +45,7 @@ {/foreach} -
+
{formlabel label="Searchable Content"} {forminput} {html_checkboxes options=$formSearchable.guids value=y name=searchable_content separator="
" checked=$formSearchable.checked} @@ -53,7 +53,7 @@ {/forminput}
-
+
{/form} @@ -65,19 +65,19 @@ {form legend="Delete / Rebuild Index"} -
+
{formlabel label="Clear Searchwords:" for="clearss"} {forminput} {formhelp note="This clears out the cache of recently searched for terms and the syllables derived from those search terms."} {/forminput}
-
+
{formfeedback warning='Deleting the index will render search useless until content is reindexed.'} {formfeedback warning='Rebuilding the Index could take a long time depending on how much content you have. If this is a large site, you may want to do this during off-peak hours.'} {formfeedback warning='Note: timeout setting will automatically be set to 5 minutes for reindexing operations.'}
-
+
{formlabel label="Perform action on:" for="where"} {forminput}    diff --git a/templates/flat_mini_search.tpl b/templates/flat_mini_search.tpl index c3a6e82..85a7613 100644 --- a/templates/flat_mini_search.tpl +++ b/templates/flat_mini_search.tpl @@ -1,9 +1,9 @@ {strip} {form method="get" ipackage=search ifile="index.php"} -
+
-
+
{/form} diff --git a/templates/global_mini_search.tpl b/templates/global_mini_search.tpl index a08ee0e..6f07d5f 100644 --- a/templates/global_mini_search.tpl +++ b/templates/global_mini_search.tpl @@ -1,11 +1,11 @@ {strip} {form method="get" ipackage=search ifile="index.php"} -
+

{html_options options=$contentTypes name="content_type_guid" selected=$perms[user].level}
-
+
{/form} diff --git a/templates/search.tpl b/templates/search.tpl index 5904e7c..31693cb 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -6,7 +6,7 @@
{form legend="Extended Search"} -
+
{formlabel label="Limit Search" for="content_type_guid"} {forminput} {html_options options=$contentTypes name=content_type_guid selected=$content_type_guid } @@ -14,7 +14,7 @@ {/forminput}
-
+
{formlabel label="Use Partial Word Search" for="usePart"} {forminput} @@ -23,7 +23,7 @@
-
+
{formlabel label="And Terms Together" for="useAnd"} {forminput} @@ -31,14 +31,14 @@ {/forminput}
-
+
{formlabel label="Find" for="find"} {forminput} {/forminput}
-
+
{/form} -- cgit v1.3