From 2e57a7f4e862f3176b609bbf248b9d0b493f0ffe Mon Sep 17 00:00:00 2001 From: Seth Meranda <smeranda2@unl.edu> Date: Tue, 13 Oct 2009 16:34:22 +0000 Subject: [PATCH] added email and formatted the date. --- plugins/browse/prospective.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php index 18f0eb64..98c42f40 100644 --- a/plugins/browse/prospective.php +++ b/plugins/browse/prospective.php @@ -11,7 +11,7 @@ $roles = get_entities_from_metadata("profile_role", "Prospective Student", "user","",0,300); - echo '<table class="zentable cool"><thead><tr><th>Profile Icon</th><th>Username</th><th>Full Name</th><th>City</th><th>State</th><th>Country</th><th>Field(s) of Study</th><th>Birthday</th></tr></thead><tbody>'; + echo '<table class="zentable cool"><thead><tr><th>Profile Icon</th><th>Username</th><th>Full Name</th><th>Email</th><th>City</th><th>State</th><th>Country</th><th>Field(s) of Study</th><th>Birthday</th></tr></thead><tbody>'; foreach($roles as $user){ @@ -25,6 +25,8 @@ echo '<td>'.$user->name.'</td>';//full name + echo '<td>'.$user->email.'</td>';//email + echo '<td>'.$user->profile_city.'</td>';//city echo '<td>'.$user->profile_state.'</td>';//state @@ -33,7 +35,7 @@ echo '<td>'.$user->profile_fields.'</td>';//fields of study - echo '<td>'.$user->profile_dob_month.'/'.$user->profile_dob_day.'/'.$user->profile_dob_year.'</td>';//birthday + echo '<td>'.$user->profile_dob_month.' '.$user->profile_dob_day.', '.$user->profile_dob_year.'</td>';//birthday echo '</tr>'; -- GitLab