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

put the profile_explanation in the info bubble

parent 804a0fe7
Branches
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
echo "'Attended UNL: " . $user->profile_attended . "'"; echo "'Attended UNL: " . $user->profile_attended . "'";
else else
echo "''"; 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>";
} }
} }
?> ?>
......
...@@ -141,7 +141,7 @@ function openLocation(lng, lat, username, location, displayname, title, comment, ...@@ -141,7 +141,7 @@ function openLocation(lng, lat, username, location, displayname, title, comment,
function applylabel(latlng, location, title, comment, displayname, username, linkname) { function applylabel(latlng, location, title, comment, displayname, username, linkname) {
if(!linkname) //these are the most recently joined users 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) 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="http://ucommmeranda.unl.edu/workspace/UNL_Featured/husker/' + linkname + '/">Continue Reading...</a></p></div>', 256, 154);
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment