diff options
| author | spiderr <spider@viovio.com> | 2013-04-06 16:17:13 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-06 16:17:13 -0400 |
| commit | d7846450954a97f3ac7b24736081701f2db62ba0 (patch) | |
| tree | b06f7d9f35a0d75291bc5244f92091aa7b411004 /templates | |
| parent | 1fa7dd13e7323497b2bb23a34cd57d4095e96931 (diff) | |
| download | blogs-d7846450954a97f3ac7b24736081701f2db62ba0.tar.gz blogs-d7846450954a97f3ac7b24736081701f2db62ba0.tar.bz2 blogs-d7846450954a97f3ac7b24736081701f2db62ba0.zip | |
major clean up for Smarty 3.0 and another pass at cleaning the top menus
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_blogs.tpl | 12 | ||||
| -rw-r--r-- | templates/menu_blogs.tpl | 3 |
2 files changed, 8 insertions, 7 deletions
diff --git a/templates/admin_blogs.tpl b/templates/admin_blogs.tpl index 3912fa8..ab04dd3 100644 --- a/templates/admin_blogs.tpl +++ b/templates/admin_blogs.tpl @@ -30,10 +30,10 @@ {foreach from=$formBlogFeatures key=item item=output} <div class="control-group"> - {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} </div> {/foreach} @@ -48,10 +48,10 @@ {foreach from=$formBlogInputs key=item item=output} <div class="control-group"> - {formlabel label=`$output.label` for=$item} + {formlabel label=$output.label for=$item} {forminput} <input type="text" name="$item" value="{$gBitSystem->getConfig($item, 3)}" id="{$item}" /> - {formhelp note=`$output.note` page=`$output.page`} + {formhelp note=$output.note page=$output.page} {/forminput} </div> {/foreach} @@ -102,10 +102,10 @@ {foreach from=$formBlogLists key=item item=output} <div class="control-group"> - {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} </div> {/foreach} diff --git a/templates/menu_blogs.tpl b/templates/menu_blogs.tpl index d759144..57cc838 100644 --- a/templates/menu_blogs.tpl +++ b/templates/menu_blogs.tpl @@ -1,5 +1,6 @@ {strip} -<ul> +<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a> +<ul class="{$packageMenuClass}"> {if $gBitUser->hasPermission( 'p_blogs_view' )} {if $gBitSystem->isFeatureActive( 'blog_home' )} <li><a class="item" href="{$smarty.const.BLOGS_PKG_URL}index.php">{booticon iname="icon-home" iexplain="Home Blog" ilocation=menu}</a></li> |
