Skip to content
Snippets Groups Projects
Commit 2f224e4e authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

more work on globe

parent 0b1dc290
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
// Extend system CSS with our own styles, which are defined in the thewire/css view
// Extend system CSS with our own styles, which are defined in the globe/css view
extend_view('css','globe/css');
......
......@@ -118,7 +118,7 @@
}
}
else
echo 'You haven\'t added any friends yet but that\'s ok, we\'ll help you find some.';
echo 'You haven\'t added any friends yet but that\'s ok, <a href="' . $CONFIG->url .'pg/browse">we\'ll help you find some</a>.';
?>
......@@ -131,13 +131,13 @@
<div class="globeGroup two_col middle" id="plotRoles">
<h3 class="sec_header">Other <?php
<h3 class="sec_header"><?php
if($me->profile_role == 'prospect')
echo 'Prospective Students';
else if($me->profile_role == 'student')
echo 'Students';
else if($me->profile_role == 'parent')
echo 'Parents';
echo 'Fellow Parents';
else if($me->profile_role == 'alum')
echo 'Alumni';
else if($me->profile_role == 'facstaff')
......@@ -147,14 +147,14 @@
else if($me->profile_role == 'friends')
echo 'Friends of UNL';
else
echo 'Users Like You';
echo 'Other Users Like You';
?> <span class="plotOnMap">Show All</span></h3>
<script type="text/javascript">var role = new Array();</script>
<?php
$rc = 0;
$currentUser = get_loggedin_user();
$roles = get_entities_from_relationship("friend",$currentUser->guid,false,"user","",0,"",100);
if($roles){
$roles = get_entities_from_metadata("profile_role", $me->profile_role, "user","",0,300);
if($me->profile_role){
foreach($roles as $user){
$user = get_user($user->guid);
......@@ -186,7 +186,7 @@
}
}
else
echo 'You haven\'t added any friends yet but that\'s ok, we\'ll help you find some.';
echo 'Define your relationship to UNL by <a href="'.$CONFIG->url.'mod/profile/edit.php?username='.$me->username.'">editing your profile</a> and see other users like you!';
?>
......@@ -197,6 +197,7 @@
<div class="globeGroup col right" id="plotFeatured">
<h3 class="sec_header">Featured Huskers <span class="plotOnMap">Show All</span></h3>
<!-- row 1 -->
<div class="member_icon">
<img onclick="displayFeaturedPerson(husker[0]);" src="<?php echo $CONFIG->url ?>mod/customindex/witw_icons/Nancy_Andreasen_tiny.jpg" alt="Profile Icon" />
......
......@@ -32,7 +32,7 @@ span.plotOnMap.hide {
#plotMe {
background:#eeeeee;
margin:10px 0;
padding:5px 5px 13px 15px;
padding:5px 5px 3px 15px;
-moz-border-radius:5px;
position:relative;
}
......
......@@ -50,7 +50,7 @@ function show(type){
//auto fill the globe with featured huskers
counter=0;
setTimeout("displayPeople('fole');",1000);
setTimeout("displayPeople('role');",1000);
} else if(type=='featured'){
counterMax = husker.length;
//put in the pins for featured huskers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment