43 lines
991 B
PHP
43 lines
991 B
PHP
<?php
|
|
require_once(BASE."include/util.php");
|
|
|
|
/*********************/
|
|
/* Edit Account Form */
|
|
/*********************/
|
|
?>
|
|
|
|
<!-- start of edit account form -->
|
|
<tr>
|
|
<td> Email Address </td>
|
|
<td> <input type="text" name="sUserEmail" value="<?php echo $sUserEmail; ?>"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> Password </td>
|
|
<td> <input type="password" name="sUserPassword"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> Password (again) </td>
|
|
<td> <input type="password" name="sUserPassword2"> </td>
|
|
</tr>
|
|
<tr>
|
|
<td> Real Name </td>
|
|
<td> <input type="text" name="sUserRealname" value="<?php echo $sUserRealname; ?>"> </td>
|
|
</tr>
|
|
<?php
|
|
// if we manage another user we can give him administrator rights
|
|
if($oUser->iUserId == $aClean['iUserId'])
|
|
{
|
|
?>
|
|
<tr>
|
|
<td> Administrator </td>
|
|
<td> <input type="checkbox" name="sHasAdmin" "<?php echo $sHasAdmin; ?>" value="on"> </td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
<tr>
|
|
<td colspan=2> </td>
|
|
</tr>
|
|
|
|
<!-- end of edit account form -->
|