summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-26 10:15:45 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-26 10:15:45 +0200
commit0ef8b4a95c677246f31ec479f9f3d128ad17f028 (patch)
tree3341ad0168092ab85a4176c997b430f56ace873c
parentd695c273f3ac7d168d8914306cd7e0ef785d6cfb (diff)
Fix stat link available in feed menu for anonymous
Fix https://github.com/marienfressinaud/FreshRSS/issues/636
-rw-r--r--app/layout/aside_flux.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml
index 04817a4a2..aac3c0896 100644
--- a/app/layout/aside_flux.phtml
+++ b/app/layout/aside_flux.phtml
@@ -83,7 +83,9 @@
<ul class="dropdown-menu">
<li class="dropdown-close"><a href="#close">❌</a></li>
<li class="item"><a href="<?php echo _url('index', 'index', 'get', 'f_!!!!!!'); ?>"><?php echo _t('filter'); ?></a></li>
+ <?php if ($this->loginOk) { ?>
<li class="item"><a href="<?php echo _url('stats', 'repartition', 'id', '!!!!!!'); ?>"><?php echo _t('stats'); ?></a></li>
+ <?php } ?>
<li class="item"><a target="_blank" href="http://example.net/"><?php echo _t('see_website'); ?></a></li>
<?php if ($this->loginOk) { ?>
<li class="separator"></li>