From 82dd6d014a015efc6c0ba793234f0db72583977c Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Fri, 21 Aug 2009 20:15:40 +0000
Subject: [PATCH] changed the calls for the user data to juhl's updated naming
 convention

---
 .../views/default/customindex/content.php     | 21 +++++++------------
 .../views/default/customindex/metatags.php    |  4 ++--
 2 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php
index a59fda38..2814bd9c 100644
--- a/customindex/views/default/customindex/content.php
+++ b/customindex/views/default/customindex/content.php
@@ -164,11 +164,11 @@
 		                    else
 		                    	echo "'',";
 	                    	echo "'" . $user->name . "',";
-	                    	if($user->profile_attended)
-		                    	echo "'Attended UNL: " . $user->profile_attended . "'";
+	                    	if($user->profile_attended_from)
+		                    	echo "'Attended UNL: " . $user->profile_attended_from . "-" . $user->profile_attened_to . "'";
 		                    else
 		                    	echo "''";
-	                    	echo ",'$user->profile_explanation');return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>";                         
+	                    	echo ",'$user->map_explanation');return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>";                         
 	                    }
 	                } 
 	                ?>
@@ -350,14 +350,7 @@
 				}
 				
 				?>
-			<!-- 
-				<div class="witw_bubble" style="border:1px solid #dbdbdb; margin-left:14px; min-height:45px; -moz-border-radius:3px;">
-					<span style="background:url(mod/customindex/commentbubble/point.png); width:14px; height:34px; z-index:2; position:absolute; left:11px;"></span>
-					<div style="padding:10px;">
-						sdf
-					</div>
-				</div>
-			-->			
+				
 	</div>
 	<div class="col right">
 		<h3 class="sec_main">Featured Huskers</h3>
@@ -367,7 +360,7 @@
 		<span class="title">Chairman, Berkshire Hathaway</span><br />
 		<span class="location"> USA - Omaha, NE</span><br />
 		Warren Buffett, '50, has some investment advice for everyone: invest in yourself.<br />
-		<a href="http://ucommmeranda.unl.edu/workspace/UNL_Featured/husker/Warren_Buffett/">Continue Reading...</a>
+		<a href="featured/husker/Warren_Buffett/">Continue Reading...</a>
 		
 		</div>
 		<div class="zenbox">
@@ -376,9 +369,9 @@
 		<span class="title">Professor of Civil Engineering and Director of NaBRO</span><br />
 		<span class="location">South Korea</span><br />
 		Atorod Azizinamini is developing better ways to renovate existing bridges and to build new ones that last a century or longer.<br />
-		<a href="http://ucommmeranda.unl.edu/workspace/UNL_Featured/husker/Atorod_Azizinamini/">Continue Reading...</a>
+		<a href="featured/husker/Atorod_Azizinamini/">Continue Reading...</a>
 		
 		</div>
-		<a href="#" title="See all the featured Huskers">See all the featured Huskers...</a>
+		<a href="featured/" title="See all the featured Huskers">See all the featured Huskers...</a>
 	</div>
 </div>
diff --git a/customindex/views/default/customindex/metatags.php b/customindex/views/default/customindex/metatags.php
index 037e81f6..e7870013 100644
--- a/customindex/views/default/customindex/metatags.php
+++ b/customindex/views/default/customindex/metatags.php
@@ -141,9 +141,9 @@ function openLocation(lng, lat, username, location, displayname, title, comment,
 
 function applylabel(latlng, location, title, comment, displayname, username, linkname) {		
 	if(!linkname) //these are the most recently joined users
-		label.openInfoWindowHtml('<div id="witw_wrapper"><img class="witw_icon" src="<?php echo $CONFIG->url ?>/mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /><h1>' + displayname + '</h1><p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p><p class="witw_comment"><strong>Why here?</strong><br /><em>\"' + comment + '\"</em></p></div>', 256, 154);
+		label.openInfoWindowHtml('<div id="witw_wrapper"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /><h1>' + displayname + '</h1><p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p><p class="witw_comment"><strong>Why here?</strong><br /><em>\"' + comment + '\"</em></p></div>', 256, 154);
 	else //these are the featured WITW Huskers (like Buffett, etc)
-		label.openInfoWindowHtml('<div id="witw_wrapper"><img class="witw_icon" src="<?php echo $CONFIG->url ?>/mod/customindex/witw_icons/' + linkname + '_medium.jpg" width="60" height="60" /><h1>' + displayname + '</h1><p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p><p class="witw_comment">' + comment + ' <a href="http://ucommmeranda.unl.edu/workspace/UNL_Featured/husker/' + linkname + '/">Continue Reading...</a></p></div>', 256, 154);		
+		label.openInfoWindowHtml('<div id="witw_wrapper"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/customindex/witw_icons/' + linkname + '_medium.jpg" width="60" height="60" /><h1>' + displayname + '</h1><p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p><p class="witw_comment">' + comment + ' <a href="<?php echo $CONFIG->url ?>featured/husker/' + linkname + '/">Continue Reading...</a></p></div>', 256, 154);		
 };
 
 WDN.jQuery(document).ready(function() {
-- 
GitLab