Skip to content
Snippets Groups Projects
Commit 797bb7b9 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

Merge pull request #8062 from owncloud/remove-echo

Replace echo with `p` or `print_unescaped`
parents 710bbd34 35ee1e90
No related branches found
No related tags found
No related merge requests found
<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> <fieldset>
<?php if($_['success']): ?> <?php if($_['success']): ?>
<h1><?php echo $l->t('Your password was reset'); ?></h1> <h1><?php p($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> <p><a href="<?php print_unescaped(OC_Helper::linkTo('', 'index.php')) ?>/"><?php p($l->t('To login page')); ?></a></p>
<?php else: ?> <?php else: ?>
<p class="infield"> <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 /> <input type="password" name="password" id="password" value="" required />
</p> </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; ?> <?php endif; ?>
</fieldset> </fieldset>
</form> </form>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment