$L->g('Users'), 'icon'=>'person')); echo Bootstrap::link(array( 'title'=>$L->g('add-a-new-user'), 'href'=>HTML_PATH_ADMIN_ROOT.'new-user', 'icon'=>'plus' )); echo ' '; $users = $dbUsers->getAllUsers(); foreach ($users as $username=>$User) { echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; if ($User->role()=='admin') { echo ''; } elseif ($User->role()=='moderator') { echo ''; } elseif ($User->role()=='editor') { echo ''; } echo ''; echo ''; } echo '
'.$L->g('Username').' '.$L->g('First name').' '.$L->g('Last name').' '.$L->g('Email').' '.$L->g('Status').' '.$L->g('Role').' '.$L->g('Registered').'
'.$username.''.$User->firstName().''.$User->lastName().''.$User->email().''.($User->enabled()?''.$L->g('Enabled').'':$L->g('Disabled')).''.$L->g('Administrator').''.$L->g('Moderator').''.$L->g('Editor').''.Date::format($User->registered(), DB_DATE_FORMAT, ADMIN_PANEL_DATE_FORMAT).'
';