diff options
| author | 2014-02-13 21:45:25 +0100 | |
|---|---|---|
| committer | 2014-02-13 21:45:25 +0100 | |
| commit | 4dd673157b05fea5fe3643f16e22d01bbf005fe9 (patch) | |
| tree | f380194b02b8127d813aed61252e8210ec5861db /app/layout | |
| parent | b77d9c60ac0cc6614ccc2711ab647d5e0a5037ed (diff) | |
Add possibility to anonymous to refresh feeds
Obviously, it's optional! (and deactivate by default)
Need some more tests?
See #351
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/nav_menu.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index c807e6dd5..98064a6f7 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -6,9 +6,11 @@ <a class="btn toggle_aside" href="#aside_flux"><?php echo FreshRSS_Themes::icon('category'); ?></a> <?php } ?> - <?php if ($this->loginOk) { ?> + <?php if ($this->loginOk || Minz_Configuration::allowAnonymousRefresh()) { ?> <a id="actualize" class="btn" href="<?php echo _url ('feed', 'actualize'); ?>"><?php echo FreshRSS_Themes::icon('refresh'); ?></a> + <?php } ?> + <?php if ($this->loginOk) { ?> <?php $get = false; $string_mark = Minz_Translate::t ('mark_all_read'); |
