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 "";
- echo $rd['name'];
- echo " | ";
- if($rd['active']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; }
- echo "{$cls}active | ";
- if($rd['complete']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; }
- echo "{$cls}complete | ";
- echo " ";
+ if(count($u['roles'])) {
+ echo "";
+ echo "";
+ echo $u['firstname']." ".$u['lastname'];
+ echo "";
+ echo "";
+ echo "";
+ foreach($u['roles'] AS $r=>$rd) {
+ echo "";
+ echo $rd['name'];
+ echo " | ";
+ if($rd['active']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; }
+ echo "{$cls}active | ";
+ if($rd['complete']=="yes"){ $cl="happy"; $cls=""; } else { $cl="error"; $cls="not "; }
+ echo "{$cls}complete | ";
+ echo " ";
+ }
+ echo " ";
+ } else {
+ echo "no roles";
}
- echo " ";
}
else {
- echo "no roles";
+ echo "no user record for this conference";
}
echo " | ";
echo "";