From 956002fc1d01396321306a396cc4bafdd005bffa Mon Sep 17 00:00:00 2001 From: Matthew Juhl <mjuhl24@gmail.com> Date: Tue, 1 Sep 2009 21:17:01 +0000 Subject: [PATCH] Added profile link to map bubbles. --- customindex/views/default/customindex/metatags.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/customindex/views/default/customindex/metatags.php b/customindex/views/default/customindex/metatags.php index 344aa0d1..2d7b4f36 100644 --- a/customindex/views/default/customindex/metatags.php +++ b/customindex/views/default/customindex/metatags.php @@ -20,8 +20,7 @@ p.witw_location { text-transform: capitalize; } -</style>" - +</style> <!--[if IE]> <style type="text/css"> #FE_InfoWindow { @@ -177,15 +176,15 @@ function applylabel(latlng, location, title, comment, displayname, username, lin if(!linkname){ //these are the most recently joined users if(comment != undefined && comment != "") 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_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); else 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_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); } else //these are the featured WITW Huskers (like Buffett, etc) -- GitLab