diff options
-rwxr-xr-x | includes/funktion_user.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/funktion_user.php b/includes/funktion_user.php index 58ee6ea4..0cdf8144 100755 --- a/includes/funktion_user.php +++ b/includes/funktion_user.php @@ -88,10 +88,11 @@ function GetPicturShow($UID) [<Höhe des Bildes (wenn die höhe kleiner 1 ist wird die höhe nicht begrenzt)>] */ function displayPictur($UID, $height="30") { + global $url, $ENGEL_ROOT; if( $height > 0) - return( "<img src=\"/ShowUserPicture.php?UID=$UID\" height=\"$height\" alt=\"picture of USER$UID\" class=\"photo\">"); + return( "<img src=\"". $url. $ENGEL_ROOT. "ShowUserPicture.php?UID=$UID\" height=\"$height\" alt=\"picture of USER$UID\" class=\"photo\">"); else - return( "<img src=\"/ShowUserPicture.php?UID=$UID\" alt=\"picture of USER$UID\">"); + return( "<img src=\"". $url. $ENGEL_ROOT. "ShowUserPicture.php?UID=$UID\" alt=\"picture of USER$UID\">"); } |