summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'}