diff options
| author | 2014-02-13 21:45:25 +0100 | |
|---|---|---|
| committer | 2014-02-13 21:45:25 +0100 | |
| commit | 4dd673157b05fea5fe3643f16e22d01bbf005fe9 (patch) | |
| tree | f380194b02b8127d813aed61252e8210ec5861db /app/views | |
| 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/views')
| -rw-r--r-- | app/views/configure/users.phtml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtml index a9465d431..1305feac9 100644 --- a/app/views/configure/users.phtml +++ b/app/views/configure/users.phtml @@ -70,6 +70,16 @@ </div> </div> + <div class="form-group"> + <div class="group-controls"> + <label class="checkbox" for="anon_refresh"> + <input type="checkbox" name="anon_refresh" id="anon_refresh" value="1"<?php echo Minz_Configuration::allowAnonymousRefresh() ? ' checked="checked"' : '', + Minz_Configuration::canLogIn() ? '' : ' disabled="disabled"'; ?> /> + <?php echo Minz_Translate::t('allow_anonymous_refresh'); ?> + </label> + </div> + </div> + <?php if (Minz_Configuration::canLogIn()) { ?> <div class="form-group"> <label class="group-name" for="token"><?php echo Minz_Translate::t('auth_token'); ?></label> |
