diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php index ce168f98e2d3753ee28c0f85a8df69fb6efa1cfe..52aa8634dbb247fe6d17d385e0f1568470627597 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 { + + } ?>