From 99b648ce348e5d4897c48723bab834a3af723032 Mon Sep 17 00:00:00 2001 From: spiderr Date: Sat, 6 Apr 2013 16:19:33 -0400 Subject: major clean up for Smarty 3.0 and another pass at cleaning the top menus --- templates/admin_tags.tpl | 16 ++++++++-------- templates/list_content.tpl | 2 +- templates/menu_tags.tpl | 2 +- templates/view_tags_mini_inc.tpl | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/templates/admin_tags.tpl b/templates/admin_tags.tpl index 88c5aae..a6d62c0 100644 --- a/templates/admin_tags.tpl +++ b/templates/admin_tags.tpl @@ -8,7 +8,7 @@ {foreach from=$formTagsDisplayOptions key=item item=output}
- {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} {if $output.type == 'numeric'} {html_options name="$item" values=$numbers output=$numbers selected=$gBitSystem->getConfig($item) labels=false id=$item} @@ -17,7 +17,7 @@ {else} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {/if} - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput}
{/foreach} @@ -39,7 +39,7 @@ {foreach from=$formTagsStripOptions key=item item=output}
- {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} {if $output.type == 'numeric'} {html_options name="$item" values=$numbers output=$numbers selected=$gBitSystem->getConfig($item) labels=false id=$item} @@ -48,7 +48,7 @@ {else} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {/if} - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput}
{/foreach} @@ -60,7 +60,7 @@ {foreach from=$formTagsOtherOptions key=item item=output}
- {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} {if $output.type == 'numeric'} {html_options name="$item" values=$numbers output=$numbers selected=$gBitSystem->getConfig($item) labels=false id=$item} @@ -69,7 +69,7 @@ {else} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} {/if} - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput}
{/foreach} @@ -82,10 +82,10 @@ {foreach from=$formTagLists key=item item=output}
- {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item} - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput}
{/foreach} diff --git a/templates/list_content.tpl b/templates/list_content.tpl index b532d99..26c246e 100644 --- a/templates/list_content.tpl +++ b/templates/list_content.tpl @@ -64,7 +64,7 @@ {$item.display_link} {/if} {if $gBitSystem->isFeatureActive( 'tags_list_type' )} - {assign var=content_type_guid value=`$item.content_type_guid`}{$contentTypes.$content_type_guid} + {assign var=content_type_guid value=$item.content_type_guid}{$contentTypes.$content_type_guid} {/if} {if $gBitSystem->isFeatureActive( 'tags_list_author' )} {displayname real_name=$item.creator_real_name user=$item.creator_user} diff --git a/templates/menu_tags.tpl b/templates/menu_tags.tpl index 5417a29..74f2531 100644 --- a/templates/menu_tags.tpl +++ b/templates/menu_tags.tpl @@ -1,5 +1,5 @@ {strip} -