Allow setting admin privileges in the user mananger

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-17 23:21:34 +00:00
committed by WineHQ
parent efae38f6bf
commit 82ab0c467f
2 changed files with 24 additions and 23 deletions

View File

@@ -23,18 +23,6 @@ require_once(BASE."include/util.php");
<td> &nbsp; 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> &nbsp; Administrator </td>
<td> <input type="checkbox" name="sHasAdmin" "<?php echo $sHasAdmin; ?>" value="on"> </td>
</tr>
<?php
}
?>
<tr>
<td colspan=2>&nbsp;</td>
</tr>