summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-13 10:01:31 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-13 10:01:31 +0100
commit67aa7e76c186e43a5e0290ed2c512791c7a3005c (patch)
tree5636ee08aaef615e9a6a0da38594c13e20175c64 /app/views
parenta91a8f5e9382ae15674d0f65dfd05002a1523b75 (diff)
Fix strings and url on auth configuration page
Diffstat (limited to 'app/views')
-rw-r--r--app/views/auth/index.phtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/auth/index.phtml b/app/views/auth/index.phtml
index 420937042..ee1e2d8b9 100644
--- a/app/views/auth/index.phtml
+++ b/app/views/auth/index.phtml
@@ -47,7 +47,7 @@
<input type="checkbox" name="unsafe_autologin" id="unsafe_autologin" value="1"<?php echo Minz_Configuration::unsafeAutologinEnabled() ? ' checked="checked"' : '',
Minz_Configuration::canLogIn() ? '' : ' disabled="disabled"'; ?> />
<?php echo _t('admin.auth.unsafe_autologin'); ?>
- <kbd>p/i/?a=formLogin&amp;u=Alice&amp;p=1234</kbd>
+ <kbd><?php echo Minz_Url::display(array('c' => 'auth', 'a' => 'login', 'params' => array('u' => 'alice', 'p' => '1234')), 'html', true); ?></kbd>
</label>
</div>
</div>
@@ -59,7 +59,8 @@
<div class="group-controls">
<input type="text" id="token" name="token" value="<?php echo $token; ?>" placeholder="<?php echo _t('gen.short.blank_to_disable'); ?>"<?php
echo Minz_Configuration::canLogIn() ? '' : ' disabled="disabled"'; ?> />
- <?php echo _i('help'); ?> <?php echo _t('admin.auth.token_help', Minz_Url::display(null, 'html', true), $token); ?>
+ <?php echo _i('help'); ?> <?php echo _t('admin.auth.token_help'); ?>
+ <kbd><?php echo Minz_Url::display(array('params' => array('output' => 'rss', 'token' => $token)), 'html', true); ?></kbd>
</div>
</div>
<?php } ?>