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

changed the calls for the user data to juhl's updated naming convention

parent 153af0d2
Branches
Tags
No related merge requests found
......@@ -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>
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment