Allow setting admin privileges in the user mananger
This commit is contained in:
committed by
WineHQ
parent
efae38f6bf
commit
82ab0c467f
@@ -23,18 +23,6 @@ require_once(BASE."include/util.php");
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user