From 62c93faf5352e88eaf65a857b146b243c00519b6 Mon Sep 17 00:00:00 2001 From: Brett Bieber <brett.bieber@gmail.com> Date: Thu, 13 Aug 2009 17:04:46 +0000 Subject: [PATCH] use relative paths for images --- customindex/views/default/customindex/content.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index d51e55c5..7fb358da 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -159,7 +159,7 @@ if($users){ foreach($users as $user){ //echo "<img src=\"http://ucommjuhl.unl.edu/UNL_Elgg/elgg/mod/profile/icondirect.php?username=" . $user->name . "&size=tiny\" />"; - echo "<div class=\"member_icon\"><img onclick=\"window.openLocation('-96.7','40.8','" . $user->username . "','Lincoln NE','" . $user->name . "','Class of 1948');return false;\" src=\"/workspace/UNL_Elgg/elgg/mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>"; + echo "<div class=\"member_icon\"><img onclick=\"window.openLocation('-96.7','40.8','" . $user->username . "','Lincoln NE','" . $user->name . "','Class of 1948');return false;\" src=\"mod/profile/icon.php?username=" . $user->username . "&size=tiny\" /></div>"; // echo "<div class=\"member_icon\">" . elgg_view("profile/icon",array('entity' => $user, 'size' => 'small')) . "</div>"; } } @@ -305,7 +305,7 @@ $result3 = mysql_query($query3); $row3 = mysql_fetch_array( $result3 ); - echo '<img style="clear:left;float:left" src="http://ucommrasmussen.unl.edu/workspace/UNL_Elgg/elgg/mod/profile/icondirect.php?username=' . $row3["username"] . '&size=small"'; + echo '<img style="clear:left;float:left" src="mod/profile/icondirect.php?username=' . $row3["username"] . '&size=small"'; echo '<div class="index_item" style="overflow:hidden;float:left;max-width:'; if (isloggedin()) {echo('400px;');}else{echo('162px;');} echo 'border:1px solid #dbdbdb; margin-left:14px; min-height:45px; -moz-border-radius:3px;">'; -- GitLab