mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
passreset.php: Overhaul to match archweb
* Switch to CSS used by archweb * General fixups in XHTML Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
be0cf7f41f
commit
2d53cdd4d5
1 changed files with 42 additions and 45 deletions
|
@ -84,52 +84,49 @@ html_header(__("Password Reset"));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="pgbox">
|
<div class="box">
|
||||||
<h2><?php print __("Password Reset"); ?></h2>
|
<h2><?php print __("Password Reset"); ?></h2>
|
||||||
<div class="pgboxbody">
|
|
||||||
<?php
|
<?php if ($error): ?>
|
||||||
if ($error) {
|
<p><span class="error"><?php echo $error ?></span></p>
|
||||||
echo '<p><span class="error">'.$error.'</span></p>';
|
<?php endif;?>
|
||||||
}
|
<?php
|
||||||
?>
|
if ($step == 'confirm') {
|
||||||
<?php
|
echo __('Check your e-mail for the confirmation link.');
|
||||||
if ($step == 'confirm') {
|
} elseif ($step == 'complete') {
|
||||||
echo __('Check your e-mail for the confirmation link.');
|
echo __('Your password has been reset successfully.');
|
||||||
} elseif ($step == 'complete') {
|
} elseif (isset($_GET['resetkey'])) {
|
||||||
echo __('Your password has been reset successfully.');
|
?>
|
||||||
} elseif (isset($_GET['resetkey'])) {
|
<form action="" method="post">
|
||||||
?>
|
<table>
|
||||||
<form action="" method="post">
|
<tr>
|
||||||
<table>
|
<td><?php echo __("Confirm your e-mail address:"); ?></td>
|
||||||
<tr>
|
<td><input type="text" name="email" size="30" maxlength="64" /></td>
|
||||||
<td><?php echo __("Confirm your e-mail address:"); ?></td>
|
</tr>
|
||||||
<td><input type="text" name="email" size="30" maxlength="64" /></td>
|
<tr>
|
||||||
</tr>
|
<td><?php echo __("Enter your new password:"); ?></td>
|
||||||
<tr>
|
<td><input type="password" name="password" size="30" maxlength="32" /></td>
|
||||||
<td><?php echo __("Enter your new password:"); ?></td>
|
</tr>
|
||||||
<td><input type="password" name="password" size="30" maxlength="32" /></td>
|
<tr>
|
||||||
</tr>
|
<td><?php echo __("Confirm your new password:"); ?></td>
|
||||||
<tr>
|
<td><input type="password" name="confirm" size="30" maxlength="32" /></td>
|
||||||
<td><?php echo __("Confirm your new password:"); ?></td>
|
</tr>
|
||||||
<td><input type="password" name="confirm" size="30" maxlength="32" /></td>
|
</table>
|
||||||
</tr>
|
<br />
|
||||||
</table>
|
<input type="submit" class="button" value="<?php echo __('Continue') ?>" />
|
||||||
<br />
|
</form>
|
||||||
<input type="submit" class="button" value="<?php echo __('Continue') ?>" />
|
<?php
|
||||||
</form>
|
} else {
|
||||||
<?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.',
|
||||||
?>
|
'<a href="http://mailman.archlinux.org/mailman/listinfo/aur-general">',
|
||||||
<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.',
|
'</a>'); ?></p>
|
||||||
'<a href="http://mailman.archlinux.org/mailman/listinfo/aur-general">',
|
<form action="" method="post">
|
||||||
'</a>'); ?></p>
|
<p><?php echo __("Enter your e-mail address:"); ?>
|
||||||
<form action="" method="post">
|
<input type="text" name="email" size="30" maxlength="64" /></p>
|
||||||
<p><?php echo __("Enter your e-mail address:"); ?>
|
<input type="submit" class="button" value="<?php echo __('Continue') ?>" />
|
||||||
<input type="text" name="email" size="30" maxlength="64" /></p>
|
</form>
|
||||||
<input type="submit" class="button" value="<?php echo __('Continue') ?>" />
|
<?php } ?>
|
||||||
</form>
|
|
||||||
<?php } ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Reference in a new issue