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:
canyonknight 2012-05-23 13:57:43 -04:00 committed by Lukas Fleischer
parent be0cf7f41f
commit 2d53cdd4d5

View file

@ -84,14 +84,12 @@ 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 <?php
if ($step == 'confirm') { if ($step == 'confirm') {
echo __('Check your e-mail for the confirmation link.'); echo __('Check your e-mail for the confirmation link.');
@ -130,7 +128,6 @@ html_header(__("Password Reset"));
</form> </form>
<?php } ?> <?php } ?>
</div> </div>
</div>
<?php <?php