diff --git a/admin/account_list.php b/admin/account_list.php index a3caeaf..89b7281 100644 --- a/admin/account_list.php +++ b/admin/account_list.php @@ -59,7 +59,7 @@ if($_POST['show_types']) echo " ".i18n("Username").""; echo " ".i18n("Email Address").""; echo " ".i18n("Pending Email").""; - echo " ".i18n("Roles").""; + echo " ".i18n("User Info").""; // echo " ".i18n("Actions").""; echo ""; echo ""; @@ -93,21 +93,30 @@ if($_POST['show_types']) echo ""; $u=user_load_by_accounts_id($r['id']); if($u) { - echo ""; - foreach($u['roles'] AS $r=>$rd) { - echo ""; - if($rd['active']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; } - echo ""; - if($rd['complete']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; } - echo ""; - echo ""; + if(count($u['roles'])) { + echo ""; + echo ""; + echo $u['firstname']." ".$u['lastname']; + echo ""; + echo ""; + echo "
"; - echo $rd['name']; - echo "{$cls}active{$cls}complete
"; + foreach($u['roles'] AS $r=>$rd) { + echo ""; + if($rd['active']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; } + echo ""; + if($rd['complete']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; } + echo ""; + echo ""; + } + echo "
"; + echo $rd['name']; + echo "{$cls}active{$cls}complete
"; + } else { + echo "no roles"; } - echo ""; } else { - echo "no roles"; + echo "no user record for this conference"; } echo ""; echo "";