summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-04-04 23:17:13 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-04-04 23:17:13 +0200
commit797bb7b9cc6ef346aae5f2e2d72a992a465e644b (patch)
tree8ddc5ab001ca529bdb467d96adc8f241113cd0fa
parent710bbd34912b02d7b9a431bb9ff85f22a1475248 (diff)
parent35ee1e902aea8b1db47e23270d72eb3734dc797a (diff)
downloadnextcloud-server-797bb7b9cc6ef346aae5f2e2d72a992a465e644b.tar.gz
nextcloud-server-797bb7b9cc6ef346aae5f2e2d72a992a465e644b.zip
Merge pull request #8062 from owncloud/remove-echo
Replace echo with `p` or `print_unescaped`
-rw-r--r--core/lostpassword/templates/resetpassword.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/lostpassword/templates/resetpassword.php b/core/lostpassword/templates/resetpassword.php
index 0ab32acca60..881455f5a9d 100644
--- a/core/lostpassword/templates/resetpassword.php
+++ b/core/lostpassword/templates/resetpassword.php
@@ -1,14 +1,14 @@
-<form action="<?php echo OC_Helper::linkToRoute('core_lostpassword_reset', $_['args']) ?>" method="post">
+<form action="<?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_reset', $_['args'])) ?>" method="post">
<fieldset>
<?php if($_['success']): ?>
- <h1><?php echo $l->t('Your password was reset'); ?></h1>
- <p><a href="<?php echo OC_Helper::linkTo('', 'index.php') ?>/"><?php echo $l->t('To login page'); ?></a></p>
+ <h1><?php p($l->t('Your password was reset')); ?></h1>
+ <p><a href="<?php print_unescaped(OC_Helper::linkTo('', 'index.php')) ?>/"><?php p($l->t('To login page')); ?></a></p>
<?php else: ?>
<p class="infield">
- <label for="password" class="infield"><?php echo $l->t( 'New password' ); ?></label>
+ <label for="password" class="infield"><?php p($l->t('New password')); ?></label>
<input type="password" name="password" id="password" value="" required />
</p>
- <input type="submit" id="submit" value="<?php echo $l->t('Reset password'); ?>" />
+ <input type="submit" id="submit" value="<?php p($l->t('Reset password')); ?>" />
<?php endif; ?>
</fieldset>
</form>