From 170e673e55e537afa7ab01978f10bb58f5449da7 Mon Sep 17 00:00:00 2001
From: Seth Meranda <smeranda2@unl.edu>
Date: Wed, 14 Jul 2010 18:47:21 +0000
Subject: [PATCH] format for a world w/o the spinning globe.

---
 .../views/default/customindex/content.php     | 154 +-----------------
 .../views/default/customindex/css.php         |   2 +-
 .../views/default/customindex/globesplash.js  |   4 +-
 3 files changed, 5 insertions(+), 155 deletions(-)

diff --git a/plugins/customindex/views/default/customindex/content.php b/plugins/customindex/views/default/customindex/content.php
index ecd1c3fc..86b8c3d1 100644
--- a/plugins/customindex/views/default/customindex/content.php
+++ b/plugins/customindex/views/default/customindex/content.php
@@ -20,7 +20,6 @@
 
 ?>
 <script type="text/javascript">var config_url = "<?php echo $CONFIG->url ?>";</script>
-<script type="text/javascript" src="http://globe.poly9.com/api.js"></script>
 <script type="text/javascript" src="<?php echo $CONFIG->url ?>mod/customindex/witw_people.js"></script>
 <script type="text/javascript" src="<?php echo $CONFIG->url ?>mod/customindex/views/default/customindex/globesplash.js"></script>
 <?php echo '<script type="text/javascript">WDN.loadJS("'.$vars['url'] . 'mod/unl_theme/scripts/jquery.tools.min.js"); $(document).ready(function(){$("div.scrollable").scrollable({size:4})});</script>'; ?>
@@ -29,152 +28,7 @@
 <div id="splashwrapper">  
     <div id="splash">
 		<div id="headlines">
-			<div id="headline1" class="activepanel">	
-				<div class="splash_headline">		
-					<h4>Huskers Around the World</h4>
-					<p>
-					UNL community members are doing fantastic work around the world. <a href="featured/">Featured Huskers</a>:
-					</p>
-					
-					<!-- row 1 -->
-					<div class="member_icon">
-						<img onclick="displayNancyAndreasen();return false;" src="mod/customindex/witw_icons/Nancy_Andreasen_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayAtorodAzizinamini();return false;" src="mod/customindex/witw_icons/Atorod_Azizinamini_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayClaudeMBoltonJr();return false;" src="mod/customindex/witw_icons/Claude-M_Bolton-Jr_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayWarrenBuffett();return false;" src="mod/customindex/witw_icons/Warren_Buffett_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayMicrogravityStudents();return false;" src="mod/customindex/witw_icons/Microgravity_Students_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<!-- row 2 -->
-			<!-- 	<div class="member_icon">
-						<img onclick="displayAnnChangBarnes();return false;" src="mod/customindex/witw_icons/Ann_Chang-Barnes_tiny.jpg" alt="Profile Icon" />
-					</div>
-			-->		<div class="member_icon">
-						<img onclick="displayBingChen();return false;" src="mod/customindex/witw_icons/Bing_Chen_tiny.jpg" alt="Profile Icon" />
-					</div>
-			<!--	<div class="member_icon">
-						<img onclick="displayXunHongChen();return false;" src="mod/customindex/witw_icons/Xun-Hong_Chen_tiny.jpg" alt="Profile Icon" />
-					</div>
-			-->		<div class="member_icon">
-						<img onclick="displayGranvilleCoggs();return false;" src="mod/customindex/witw_icons/Granville_Coggs_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<!-- row 3 -->
-					<div class="member_icon">
-						<img onclick="displayDrLTreyColeman();return false;" src="mod/customindex/witw_icons/Dr-L-Trey_Coleman_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayPamDingman();return false;" src="mod/customindex/witw_icons/Pam_Dingman_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayChristopherElbow();return false;" src="mod/customindex/witw_icons/Christopher_Elbow_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayShaneFarritor();return false;" src="mod/customindex/witw_icons/Shane_Farritor_tiny.jpg" alt="Profile Icon" />
-					</div>				
-					<!-- row 4 -->
-					<div class="member_icon">
-						<img onclick="displaySheriFritz();return false;" src="mod/customindex/witw_icons/Sheri_Fritz_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayRulonGardner();return false;" src="mod/customindex/witw_icons/Rulon_Gardner_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayDavidHarwood();return false;" src="mod/customindex/witw_icons/David_Harwood_tiny.jpg" alt="Profile Icon" />
-					</div>
-			<!-- 	<div class="member_icon">
-						<img onclick="displayJohnHoerner();return false;" src="mod/customindex/witw_icons/John_Hoerner_tiny.jpg" alt="Profile Icon" />
-					</div>
-			-->		<!-- row 5 -->
-					<div class="member_icon">
-						<img onclick="displayMichaelHoff();return false;" src="mod/customindex/witw_icons/Michael_Hoff_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayJohnJanovyJr();return false;" src="mod/customindex/witw_icons/John_Janovy-Jr_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayJayKeasling();return false;" src="mod/customindex/witw_icons/Jay_Keasling_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayScottKillinger();return false;" src="mod/customindex/witw_icons/Scott_Killinger_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<!-- row 6 -->
-			<!--	<div class="member_icon">
-						<img onclick="displayKarenKunc();return false;" src="mod/customindex/witw_icons/Karen_Kunc_tiny.jpg" alt="Profile Icon" />
-					</div>
-			-->		<div class="member_icon">
-						<img onclick="displayNithalKuwa();return false;" src="mod/customindex/witw_icons/Nithal_Kuwa_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayCindyMcCaffrey();return false;" src="mod/customindex/witw_icons/Cindy_McCaffrey_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayBetsyOBrien();return false;" src="mod/customindex/witw_icons/Betsy_O'Brien_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<!-- row 7 -->
-					<div class="member_icon">
-						<img onclick="displayJuanitaPage();return false;" src="mod/customindex/witw_icons/Juanita_Page_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayLarkinPowell();return false;" src="mod/customindex/witw_icons/Larkin_Powell_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<div class="member_icon">
-						<img onclick="displayJeffreyRaikes();return false;" src="mod/customindex/witw_icons/Jeffrey_Raikes_tiny.jpg" alt="Profile Icon" />
-					</div>
-					<?php
-					if (isloggedin()) {
-					$me = get_user($_SESSION['user']->guid);
-					
-					?>
-					<?php
-					
-					}
-					?>
-					<p class="clear" style="padding-bottom:5px;">
-					A few members who have put themselves on the map:
-					</p>
-					<!-- lat, lng, username, location, displayname, title, comment(text area) -->
-					<?php
-					$options = array('metadata_names'=>'icontime', 'limit'=>150);
-					$users = elgg_get_entities_from_metadata($options);
-	                $map_count = 0;
-	                
-	                if($users){
-	                    foreach($users as $user){
-	                    	if ($map_count >= 16){
-	                    		break;
-	                    	}
-	                    	if (filtrado($user->map_explanation . $user->profile_city . $user->username . $user->name)) {
-	                    		continue;
-	                    	}
-	                    	if($user->longitude != undefined && $user->longitude != "" && $user->map_explanation != undefined && $user->map_explanation != ""){
-	                    		$map_count++;
-		                    	echo "<div class=\"member_icon\"><img alt=\"Profile Pic\" onclick=\"window.openLocation('" . $user->longitude . "','" . $user->latitude . "','" . $user->username . "',";
-		                    	if($user->profile_country)
-			                    	echo "'" . $user->profile_country . " - " . str_replace("'","\'",htmlentities($user->profile_city)) . ", " . $user->profile_state . "',";
-			                    else
-			                    	echo "'',";
-		                    	echo "'" . str_replace("'","\'",htmlentities($user->name)) . "',";
-		                    	if($user->profile_attended_from != "Did Not Attend UNL" && $user->profile_attended_from != "" && $user->profile_attended_from != NULL)
-			                    	echo "'Attended UNL: " . $user->profile_attended_from . "-" . $user->profile_attended_to . "'";
-			                    else
-			                    	echo "''";
-		                    	echo ",'". str_replace("'","\'",htmlentities($user->map_explanation))."');return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&amp;size=tiny\" /></div>";                         
-	                    	}
-		                    
-	                    }
-	                }
-	                ?>
-                	
-				</div>
-			</div>
-			<div id="headline2">
+			<div id="headline2" class="activepanel">
 				<div class="splash_headline">		
 					<h4>Put Yourself on the Map
 					<img src="mod/customindex/icon_earth.png" alt="globe icon" style="float:right;padding-left:10px;" /></h4>
@@ -195,11 +49,7 @@
 			</div>
 		</div>
 		<div id="posters">
-			<div id="poster1">
-				<div id="globeInner" style="opacity:1 !important; display: block !important;width:640px;height:480px;background-color:#000;"></div>
-				<!-- <div style="width:71px; height:77px; background:black; z-index:99999; position:absolute; bottom:0; right:0;"></div> -->
-			</div>
-			<div id="poster2" style="display:none;">
+			<div id="poster2">
 				<div style="width:330px; top:30px; left:30px;">
 					<h2>Join the Conversation</h2>
 					<p>
diff --git a/plugins/customindex/views/default/customindex/css.php b/plugins/customindex/views/default/customindex/css.php
index 0d539496..3be1a07c 100644
--- a/plugins/customindex/views/default/customindex/css.php
+++ b/plugins/customindex/views/default/customindex/css.php
@@ -88,7 +88,7 @@ end three equal panels */
 		height:260px !important;
 	}
 	#headline2 div.splash_headline, #headline3 div.splash_headline  {
-		height:73px !important;
+		
 	}	
 /*end of the lopsided code*/
 	
diff --git a/plugins/customindex/views/default/customindex/globesplash.js b/plugins/customindex/views/default/customindex/globesplash.js
index fe12b46a..240003ce 100644
--- a/plugins/customindex/views/default/customindex/globesplash.js
+++ b/plugins/customindex/views/default/customindex/globesplash.js
@@ -50,7 +50,7 @@
 
 
 
-
+/*
 <!-- begin poly9 globe js -->
 
 
@@ -171,4 +171,4 @@ WDN.jQuery(document).ready(function() {
 
 
 <!-- end poly9 globe js -->
-
+*/
-- 
GitLab