make it possible to add/remove administrators

This commit is contained in:
Jonathan Ernst
2005-01-17 04:30:39 +00:00
committed by WineHQ
parent f093a01229
commit 791bac8e09
4 changed files with 51 additions and 8 deletions

View File

@@ -21,6 +21,18 @@
<td> &nbsp; Real Name </td>
<td> <input type="text" name="ext_realname" value="<?php echo $ext_realname; ?>"> </td>
</tr>
<?php
// if we manage another user we can give him administrator rights
if($iUserId == $_REQUEST['userId'])
{
?>
<tr>
<td> &nbsp; Administrator </td>
<td> <input type="checkbox" name="ext_hasadmin" "<?php echo $ext_hasadmin; ?>" value="on"> </td>
</tr>
<?php
}
?>
<tr>
<td colspan=2>&nbsp;</td>
</tr>