diff options
| author | 2013-08-21 16:04:18 +0200 | |
|---|---|---|
| committer | 2013-08-21 16:04:18 +0200 | |
| commit | 54541608ac979dfc6044c89cb30493704dcc94c8 (patch) | |
| tree | 68c73aebd62f59e0d86c04526732a37bfaf7db07 /app/views/configure/display.phtml | |
| parent | 456c95d2dbb40d358d79f426f68eb03f5f447945 (diff) | |
Fix issue #127 : ajout système de token
Ajout du système de token pour accéder aux flux RSS même quand la
connexion a été paramétrée.
Pour l'utiliser, il faut simplement ajouter le paramètre
?token=<votre_token> à l'url
Diffstat (limited to 'app/views/configure/display.phtml')
| -rw-r--r-- | app/views/configure/display.phtml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/configure/display.phtml b/app/views/configure/display.phtml index 1fdcdee41..3989ff06f 100644 --- a/app/views/configure/display.phtml +++ b/app/views/configure/display.phtml @@ -50,6 +50,15 @@ </label> </div> </div> + + <div class="form-group"> + <label class="group-name" for="token"><?php echo Translate::t ('auth_token'); ?></label> + <?php $token = $this->conf->token (); ?> + <div class="group-controls"> + <input type="text" id="token" name="token" value="<?php echo $token; ?>" placeholder="<?php echo Translate::t ('blank_to_disable'); ?>"/> + <i class="icon i_help"></i> <?php echo Translate::t('explain_token', Url::display()); ?> + </div> + </div> <legend><?php echo Translate::t ('reading_configuration'); ?></legend> |
