summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-06 16:19:24 -0400
committerspiderr <spider@viovio.com>2013-04-06 16:19:24 -0400
commit560ac9f0db789f674b043a893f8b746ac54dbc0e (patch)
treedd71ef1ad00c16787f7d7df521cbedad40a35311 /templates
parent60f7e9ff705383e262a57d81b7528e65e3ecec94 (diff)
downloadstats-560ac9f0db789f674b043a893f8b746ac54dbc0e.tar.gz
stats-560ac9f0db789f674b043a893f8b746ac54dbc0e.tar.bz2
stats-560ac9f0db789f674b043a893f8b746ac54dbc0e.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_stats.tpl4
-rw-r--r--templates/menu_stats.tpl3
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/admin_stats.tpl b/templates/admin_stats.tpl
index 6d20d9d..750be92 100644
--- a/templates/admin_stats.tpl
+++ b/templates/admin_stats.tpl
@@ -4,10 +4,10 @@
<input type="hidden" name="page" value="{$page}" />
{foreach from=$formFeaturesBit key=feature item=output}
<div class="control-group">
- {formlabel label=`$output.label` for=$feature}
+ {formlabel label=$output.label for=$feature}
{forminput}
{html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature}
- {formhelp note=`$output.note` page=`$output.page`}
+ {formhelp note=$output.note page=$output.page}
{/forminput}
</div>
{/foreach}
diff --git a/templates/menu_stats.tpl b/templates/menu_stats.tpl
index 6921022..a01719c 100644
--- a/templates/menu_stats.tpl
+++ b/templates/menu_stats.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="dropdown-menu">
{if $gBitUser->hasPermission( 'p_stats_view' )}
<li><a class="item" href="{$smarty.const.STATS_PKG_URL}index.php">{booticon iname="icon-home" iexplain="Site Stats" ilocation=menu}</a></li>
{if $gBitSystem->mDb->mType eq 'postgres'}