Location: PHPKode > projects > Asaph > asaph/admin/templates/edit-user.html.php
<?php include(ASAPH_PATH.'admin/templates/head.html.php'); ?>

<h2>Edit User: <?php echo sprintf("%03d", $user['id']); ?></h2>
<form action="<?php echo Asaph_Config::$absolutePath; ?>admin/" method="post">
	<?php if( !empty($status) ) { ?>
		<div class="warn">
			<?php if( $status == 'passwords-not-equal' ) { ?>The passwords do not match<?php } ?>
			<?php if( $status == 'username-empty' ) { ?>The username was empty<?php } ?>
	<?php } ?>
	<input type="hidden" name="id" value="<?php echo $user['id']; ?>"/>
		<dd><input type="text" name="name" class="long" value="<?php echo $user['name']; ?>"/></dd>
			<input type="password" name="password" value=""/>
			(leave empty if you don't want to change it)
		<dd><input type="password" name="password2" value=""/></dd>
			<input type="submit" name="updateUser" value="Save" class="button"/>
			<input type="submit" name="deleteUser" value="Delete" class="button" onclick="return confirm('Really delete this User and all Posts associated with it?');"/>

<?php include(ASAPH_PATH.'admin/templates/foot.html.php'); ?>
Return current item: Asaph