From 2114e1c19b316fa9af4d8519e88ee6e55e9651b7 Mon Sep 17 00:00:00 2001
From: Eric Rasmussen <erasmussen2@unl.edu>
Date: Fri, 21 Aug 2009 19:43:08 +0000
Subject: [PATCH] put the profile_explanation in the info bubble

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

diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php
index 3e7ab4f6..a59fda38 100644
--- a/customindex/views/default/customindex/content.php
+++ b/customindex/views/default/customindex/content.php
@@ -168,7 +168,7 @@
 		                    	echo "'Attended UNL: " . $user->profile_attended . "'";
 		                    else
 		                    	echo "''";
-	                    	echo ");return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>";                         
+	                    	echo ",'$user->profile_explanation');return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>";                         
 	                    }
 	                } 
 	                ?>
diff --git a/customindex/views/default/customindex/metatags.php b/customindex/views/default/customindex/metatags.php
index 3beb40a9..037e81f6 100644
--- a/customindex/views/default/customindex/metatags.php
+++ b/customindex/views/default/customindex/metatags.php
@@ -141,7 +141,7 @@ 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">' + comment + '</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);		
 };
-- 
GitLab