From 28ff0feb73d52f0351d66f54b1b8f13826334106 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Fri, 11 Dec 2009 15:39:10 +0000 Subject: [PATCH] allow dburge2 to see birthdates on the prospective students page --- plugins/browse/prospective.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/browse/prospective.php b/plugins/browse/prospective.php index e1a0727e..fd94980a 100644 --- a/plugins/browse/prospective.php +++ b/plugins/browse/prospective.php @@ -7,7 +7,8 @@ $uniquevariablenamethatwontgetconfusedwithsomeothervariable = get_loggedin_user(); if( isadminloggedin() || $uniquevariablenamethatwontgetconfusedwithsomeothervariable['username']=="unl_dburge2") { - echo '<h1>All Planet Red Prospective students as of '. date("m/d/Y") .'</h1>'; + $is_admin = true; + echo '<h1>All Planet Red Prospective students as of '. date("m/d/Y") .'</h1>'; $roles = get_entities_from_metadata("profile_role", "prospective student"|"Prospective Student", "user","",0,300); @@ -42,7 +43,7 @@ } echo '</tbody></table>'; - + $is_admin = false; } else { -- GitLab