Skip to content
Snippets Groups Projects
Commit 956002fc authored by Matthew Juhl's avatar Matthew Juhl
Browse files

Added profile link to map bubbles.

parent 3f1fd35a
No related branches found
No related tags found
No related merge requests found
...@@ -20,8 +20,7 @@ ...@@ -20,8 +20,7 @@
p.witw_location { p.witw_location {
text-transform: capitalize; text-transform: capitalize;
} }
</style>" </style>
<!--[if IE]> <!--[if IE]>
<style type="text/css"> <style type="text/css">
#FE_InfoWindow { #FE_InfoWindow {
...@@ -177,15 +176,15 @@ function applylabel(latlng, location, title, comment, displayname, username, lin ...@@ -177,15 +176,15 @@ function applylabel(latlng, location, title, comment, displayname, username, lin
if(!linkname){ //these are the most recently joined users if(!linkname){ //these are the most recently joined users
if(comment != undefined && comment != "") if(comment != undefined && comment != "")
label.openInfoWindowHtml('<div id="witw_wrapper">'+ 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>'+ '<a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /></a><h1>' + displayname + '</h1>'+
'<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+ '<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>'+ '<p class="witw_comment"><strong>Why here?</strong><br /><em>\"' + comment + '\"</em></p><p class="witw_comment" style="margin-top:-6px; padding-right: 12px; text-align:right;"><a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '">View Profile</a></p>'+
'</div>', 256, 154); '</div>', 256, 154);
else else
label.openInfoWindowHtml('<div id="witw_wrapper">'+ 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>'+ '<a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '"><img class="witw_icon" src="<?php echo $CONFIG->url ?>mod/profile/icondirect.php?username=' + username + '&size=medium" width="60" height="60" /></a><h1>' + displayname + '</h1>' +
'<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+ '<p class="witw_location">' + location + '</p><p class="witw_title">' + title + '</p>'+
'<p class="witw_comment"></p>'+ '<p class="witw_comment"></p><p class="witw_comment"><a href="<?php echo $CONFIG->url ?>pg/profile/' + username + '">View Profile</a></p>'+
'</div>', 256, 154); '</div>', 256, 154);
} }
else //these are the featured WITW Huskers (like Buffett, etc) else //these are the featured WITW Huskers (like Buffett, etc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment