mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use echo shortcut syntax
Replace all occurrences of "<?php echo" and "<?php print" by "<?=" to reduce noise in templates. Note that as of PHP 5.4.0, "<?=" is always available and no longer requires "short_open_tag" to be set. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
964ea083e6
commit
6102759b7c
26 changed files with 368 additions and 366 deletions
|
@ -66,10 +66,10 @@ html_header(__("Password Reset"));
|
|||
?>
|
||||
|
||||
<div class="box">
|
||||
<h2><?php print __("Password Reset"); ?></h2>
|
||||
<h2><?= __("Password Reset"); ?></h2>
|
||||
|
||||
<?php if ($error): ?>
|
||||
<p><span class="error"><?php echo $error ?></span></p>
|
||||
<p><span class="error"><?= $error ?></span></p>
|
||||
<?php endif;?>
|
||||
<?php
|
||||
if ($step == 'confirm') {
|
||||
|
@ -81,31 +81,31 @@ html_header(__("Password Reset"));
|
|||
<form action="" method="post">
|
||||
<table>
|
||||
<tr>
|
||||
<td><?php echo __("Confirm your e-mail address:"); ?></td>
|
||||
<td><?= __("Confirm your e-mail address:"); ?></td>
|
||||
<td><input type="text" name="email" size="30" maxlength="64" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo __("Enter your new password:"); ?></td>
|
||||
<td><?= __("Enter your new password:"); ?></td>
|
||||
<td><input type="password" name="password" size="30" maxlength="32" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo __("Confirm your new password:"); ?></td>
|
||||
<td><?= __("Confirm your new password:"); ?></td>
|
||||
<td><input type="password" name="confirm" size="30" maxlength="32" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
<input type="submit" class="button" value="<?php echo __('Continue') ?>" />
|
||||
<input type="submit" class="button" value="<?= __('Continue') ?>" />
|
||||
</form>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<p><?php echo __('If you have forgotten the e-mail address you used to register, please send a message to the %saur-general%s mailing list.',
|
||||
<p><?= __('If you have forgotten the e-mail address you used to register, please send a message to the %saur-general%s mailing list.',
|
||||
'<a href="http://mailman.archlinux.org/mailman/listinfo/aur-general">',
|
||||
'</a>'); ?></p>
|
||||
<form action="" method="post">
|
||||
<p><?php echo __("Enter your e-mail address:"); ?>
|
||||
<p><?= __("Enter your e-mail address:"); ?>
|
||||
<input type="text" name="email" size="30" maxlength="64" /></p>
|
||||
<input type="submit" class="button" value="<?php echo __('Continue') ?>" />
|
||||
<input type="submit" class="button" value="<?= __('Continue') ?>" />
|
||||
</form>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue