From ba9229c2ebbfa227b7991f8d2ef8e04d62e000db Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Tue, 13 Oct 2009 15:54:10 +0000 Subject: [PATCH] --- plugins/browse/prospective.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php index ce168f98..52aa8634 100644 --- a/plugins/browse/prospective.php +++ b/plugins/browse/prospective.php @@ -5,6 +5,29 @@ gatekeeper(); - echo getUserCas(); + if( isadminloggedin() || get_loggedin_user()=="unl_dburge2") { + + + + $roles = get_entities_from_metadata("profile_role", "Prospective Student", "user","",0,300); + + foreach($roles as $user){ + $user = get_user($user->guid); + + echo '<div style="border:1px solid gray; padding:10px; margin-bottom:10px;">'; + + echo '<img src="'.$CONFIG->url.'mod/profile/icon.php?username='.$user->username.'&size=small" />'; + + echo $user->username; + + + echo '</div>'; + + } + + } + else { + + } ?> -- GitLab