make it possible to add/remove administrators
This commit is contained in:
@@ -21,6 +21,18 @@
|
||||
<td> 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> Administrator </td>
|
||||
<td> <input type="checkbox" name="ext_hasadmin" "<?php echo $ext_hasadmin; ?>" value="on"> </td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td colspan=2> </td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user