From d59ddc820516970e534c37143cc00f726178d83a Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Mon, 21 Sep 2009 14:39:11 +0000 Subject: [PATCH] profile_role is saved as lowercase so the check needs to look for lowercase string --- plugins/globe/views/default/globe/content.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/globe/views/default/globe/content.php b/plugins/globe/views/default/globe/content.php index 8ea051ba..a833999b 100644 --- a/plugins/globe/views/default/globe/content.php +++ b/plugins/globe/views/default/globe/content.php @@ -131,20 +131,20 @@ <div class="globeGroup two_col middle" id="plotRoles"> - <h3 class="sec_header"><?php echo $me->profile_role; - if($me->profile_role == 'Prospective Student') + <h3 class="sec_header"><?php + if($me->profile_role == 'prospective student') echo 'Other Prospective Students'; - else if($me->profile_role == 'Current Student') + else if($me->profile_role == 'current student') echo 'Other Students'; - else if($me->profile_role == 'Parent of a Student') + else if($me->profile_role == 'parent of a student') echo 'Fellow Parents'; - else if($me->profile_role == 'Alumnus') + else if($me->profile_role == 'alumnus') echo 'Other Alumni'; - else if($me->profile_role == 'Faculty/Staff') + else if($me->profile_role == 'faculty/staff') echo 'Other Faculty/Staff'; - else if($me->profile_role == 'Nebraska Resident') + else if($me->profile_role == 'nebraska resident') echo 'Other Residents of Nebraska'; - else if($me->profile_role == 'Friend of the University') + else if($me->profile_role == 'friend of the university') echo 'Other Friends of UNL'; else echo 'Other Users Like You'; -- GitLab