Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PlanetRed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
PlanetRed
Commits
d59ddc82
Commit
d59ddc82
authored
15 years ago
by
Eric Rasmussen
Browse files
Options
Downloads
Patches
Plain Diff
profile_role is saved as lowercase so the check needs to look for lowercase string
parent
e4f936c9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/globe/views/default/globe/content.php
+8
-8
8 additions, 8 deletions
plugins/globe/views/default/globe/content.php
with
8 additions
and
8 deletions
plugins/globe/views/default/globe/content.php
+
8
−
8
View file @
d59ddc82
...
@@ -131,20 +131,20 @@
...
@@ -131,20 +131,20 @@
<div
class=
"globeGroup two_col middle"
id=
"plotRoles"
>
<div
class=
"globeGroup two_col middle"
id=
"plotRoles"
>
<h3
class=
"sec_header"
>
<?php
echo
$me
->
profile_role
;
<h3
class=
"sec_header"
>
<?php
if
(
$me
->
profile_role
==
'
P
rospective
S
tudent'
)
if
(
$me
->
profile_role
==
'
p
rospective
s
tudent'
)
echo
'Other Prospective Students'
;
echo
'Other Prospective Students'
;
else
if
(
$me
->
profile_role
==
'
C
urrent
S
tudent'
)
else
if
(
$me
->
profile_role
==
'
c
urrent
s
tudent'
)
echo
'Other Students'
;
echo
'Other Students'
;
else
if
(
$me
->
profile_role
==
'
P
arent of a
S
tudent'
)
else
if
(
$me
->
profile_role
==
'
p
arent of a
s
tudent'
)
echo
'Fellow Parents'
;
echo
'Fellow Parents'
;
else
if
(
$me
->
profile_role
==
'
A
lumnus'
)
else
if
(
$me
->
profile_role
==
'
a
lumnus'
)
echo
'Other Alumni'
;
echo
'Other Alumni'
;
else
if
(
$me
->
profile_role
==
'
F
aculty/
S
taff'
)
else
if
(
$me
->
profile_role
==
'
f
aculty/
s
taff'
)
echo
'Other Faculty/Staff'
;
echo
'Other Faculty/Staff'
;
else
if
(
$me
->
profile_role
==
'
N
ebraska
R
esident'
)
else
if
(
$me
->
profile_role
==
'
n
ebraska
r
esident'
)
echo
'Other Residents of Nebraska'
;
echo
'Other Residents of Nebraska'
;
else
if
(
$me
->
profile_role
==
'
F
riend of the
U
niversity'
)
else
if
(
$me
->
profile_role
==
'
f
riend of the
u
niversity'
)
echo
'Other Friends of UNL'
;
echo
'Other Friends of UNL'
;
else
else
echo
'Other Users Like You'
;
echo
'Other Users Like You'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment