diff --git a/plugins/globe/start.php b/plugins/globe/start.php index c17bf4af3f3146b61f46eccc2f2bdcaa464c9225..9256ff984b892243c3d4ecf39c1d6d7e9dc8758f 100644 --- a/plugins/globe/start.php +++ b/plugins/globe/start.php @@ -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'); diff --git a/plugins/globe/views/default/globe/content.php b/plugins/globe/views/default/globe/content.php index 1647e5b801ed97e1e047bc80c4a6db45a04804a3..65c1d7ad107ff7c761c07ab01912d596ca545df7 100644 --- a/plugins/globe/views/default/globe/content.php +++ b/plugins/globe/views/default/globe/content.php @@ -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" /> diff --git a/plugins/globe/views/default/globe/css.php b/plugins/globe/views/default/globe/css.php index 3c07cedfd42e670b68901d8c10c1afd906190be1..6c7bf8337f65ca5614181302ee12a9de6f24fae9 100644 --- a/plugins/globe/views/default/globe/css.php +++ b/plugins/globe/views/default/globe/css.php @@ -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; } diff --git a/plugins/globe/views/default/globe/globecontrol.js b/plugins/globe/views/default/globe/globecontrol.js index da7a1592e0cae72d84c3b77711b445f3c28c2eff..2da7eb56549d3fd0e4e445772f9f62f4884288f5 100644 --- a/plugins/globe/views/default/globe/globecontrol.js +++ b/plugins/globe/views/default/globe/globecontrol.js @@ -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