From 1a3889acd4e4eb7e8318469db69c89e08e6cd7ff Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Fri, 28 Aug 2009 23:32:22 +0000 Subject: [PATCH] had some instances of 'user' that should have been 'me' --- customindex/views/default/customindex/content.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index 4a41c362..87394789 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -155,7 +155,7 @@ ?> <div class="member_icon"> - <img src="<?php echo $_SESSION['user']->getIcon('tiny'); ?>" alt="Your Profile Icon" class="tooltip" title="You" id="YourselfOnTheMap" onclick="window.openLocation(<?php echo "'" . $user->longitude . "','" . $user->latitude . "','" . $user->username . "',"; + <img src="<?php echo $_SESSION['user']->getIcon('tiny'); ?>" alt="Your Profile Icon" class="tooltip" title="You" id="YourselfOnTheMap" onclick="window.openLocation(<?php echo "'" . $me->longitude . "','" . $me->latitude . "','" . $me->username . "',"; if($me->profile_country) echo "'" . $me->profile_country . " - " . str_replace("'","\'",htmlentities($me->profile_city)) . ", " . $me->profile_state . "',"; else @@ -176,8 +176,8 @@ </p> <!-- lat, lng, username, location, displayname, title, comment(text area) --> <?php - $users = get_entities_from_metadata('icontime', '', 'user', '', 0, 8); - //$users = get_entities('user', '', 0, '', 8, 0, false, 0, null); + //$users = get_entities_from_metadata('icontime', '', 'user', '', 0, 8); + $users = get_entities('user', '', 0, '', 8, 0, false, 0, null); if($users){ foreach($users as $user){ -- GitLab