From 2a1ccc9c820bd768b8bbe9bd885b2f4a97b03b6f Mon Sep 17 00:00:00 2001 From: lsces Date: Fri, 6 Jun 2014 23:41:23 +0100 Subject: switch to form-group elements --- templates/admin_tags.tpl | 14 +++++++------- templates/edit_tag.tpl | 6 +++--- templates/edit_tags.tpl | 2 +- templates/list_content.tpl | 6 +++--- templates/search_inc.tpl | 2 +- templates/view_tags_mini_inc.tpl | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/admin_tags.tpl b/templates/admin_tags.tpl index a6d62c0..26a0b18 100644 --- a/templates/admin_tags.tpl +++ b/templates/admin_tags.tpl @@ -7,7 +7,7 @@ {legend legend="Display Location"} {foreach from=$formTagsDisplayOptions key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} {if $output.type == 'numeric'} @@ -24,7 +24,7 @@ {/legend} {legend legend="Availability"} -
+
{formlabel label="Taggable Content"} {forminput} {formhelp note="Enabled content types can be tagged by users with appropriate permissions."} @@ -38,7 +38,7 @@ {legend legend="Santitation Settings"} {foreach from=$formTagsStripOptions key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} {if $output.type == 'numeric'} @@ -59,7 +59,7 @@ {legend legend="Other Settings"} {foreach from=$formTagsOtherOptions key=item item=output} -
+
{formlabel label=$output.label for=$item} {forminput} {if $output.type == 'numeric'} @@ -81,7 +81,7 @@ {foreach from=$formTagLists 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} @@ -95,8 +95,8 @@ {/jstabs} -
- +
+
{/form} {/strip} diff --git a/templates/edit_tag.tpl b/templates/edit_tag.tpl index 5d6e944..6807158 100644 --- a/templates/edit_tag.tpl +++ b/templates/edit_tag.tpl @@ -15,15 +15,15 @@ {legend legend="Edit Tag"} -
+
{formlabel label="Tag" for="tag"} {forminput} {/forminput}
-
- +
+
{/legend} {/form} diff --git a/templates/edit_tags.tpl b/templates/edit_tags.tpl index b3db6d3..285e0a3 100644 --- a/templates/edit_tags.tpl +++ b/templates/edit_tags.tpl @@ -2,7 +2,7 @@ {if $gContent->mContentTypeGuid != 'bitcomment' || $gBitSystem->isFeatureActive('tags_on_comments')} -
+
{formlabel label="Tags" for="tags"} {forminput} diff --git a/templates/list_content.tpl b/templates/list_content.tpl index c1e0b89..ee227c3 100644 --- a/templates/list_content.tpl +++ b/templates/list_content.tpl @@ -8,7 +8,7 @@ {form class="form-search" method="get" action="`$smarty.server.SCRIPT_NAME`?`$actionParams`"}
- +
{/form}
@@ -74,10 +74,10 @@ {displayname real_name=$item.modifier_real_name user=$item.modifier_user} {/if} {if $gBitSystem->isFeatureActive( 'tags_list_lastmodif' )} - {$item.last_modified|bit_short_date} + {$item.last_modified|bit_short_date} {/if} {if $gBitSystem->isFeatureActive( 'tags_list_ip' )} - {$item.ip} + {$item.ip} {/if} {foreachelse} diff --git a/templates/search_inc.tpl b/templates/search_inc.tpl index 49a3366..cb049ca 100644 --- a/templates/search_inc.tpl +++ b/templates/search_inc.tpl @@ -1,4 +1,4 @@ -
+
{formlabel label="Tags:" for="tags"} {forminput} diff --git a/templates/view_tags_mini_inc.tpl b/templates/view_tags_mini_inc.tpl index bfc87ed..c299643 100644 --- a/templates/view_tags_mini_inc.tpl +++ b/templates/view_tags_mini_inc.tpl @@ -26,7 +26,7 @@ {if $gContent->isOwner() || $gBitUser->hasPermission('p_tags_admin')}   - + {/if} {/form} -- cgit v1.3