| = (int)$user_tmp['id'];?> |
= htmlspecialchars( trim( $user_tmp['name'] . ' ' . $user_tmp['surname'] ) );?>
if ( (int)$user_tmp['id'] === 1 ):?>
ADMIN
endif;?>
|
= htmlspecialchars( $user_tmp['email'] );?> |
if ( (int)$user_tmp['id'] === 1 ):?>
Pelny dostep
elseif ( isset( $this -> permissions_map[ (int)$user_tmp['id'] ] ) ):?>
$enabled = 0;?>
foreach ( $this -> modules as $mod ):?>
if ( !empty( $this -> permissions_map[ (int)$user_tmp['id'] ][ $mod ] ) ) $enabled++;?>
endforeach;?>
= (int)$enabled;?> / = count( $this -> modules );?>
endif;?>
|
if ( (int)$user_tmp['id'] !== 1 ):?>
Uprawnienia
endif;?>
if ( $is_current ):?>
Aktywna sesja
else:?>
Zaloguj jako
endif;?>
|
endforeach; else:?>