Beispiel #1
0
				<?php 
        if ($user["username"]) {
            ?>
					<div style="clear:both;margin:0px 0px 20px 30px;">
						<a href="usermanagement.php?loginas=<?php 
            echo $user["username"];
            ?>
">Login</a> as this user
					</div>
					<?php 
        }
        ?>
				<fieldset style="clear:both;margin:10px;padding:15px;padding-left:25px;">
					<legend><b>Current Permissions</b></legend>
					<?php 
        $userPermissions = $userManager->getUserPermissions($userId);
        if ($userPermissions) {
            ?>
						<div>
							<ul>
							<?php 
            if (array_key_exists("SuperAdmin", $userPermissions)) {
                ?>
								<li>
									<b><?php 
                echo '<span title="' . $userPermissions['SuperAdmin']['aby'] . '">';
                echo str_replace('SuperAdmin', 'Super Administrator', $userPermissions['SuperAdmin']['role']);
                echo '</span>';
                ?>
</b> 
									<a href="usermanagement.php?delrole=SuperAdmin&userid=<?php