diff options
author | Angelo Cuccato <cuccato@web.de> | 2010-11-06 16:29:54 +0100 |
---|---|---|
committer | Angelo Cuccato <cuccato@web.de> | 2010-11-06 16:29:54 +0100 |
commit | 0c046a784ac33a3f10985e460f3511301ddfd31f (patch) | |
tree | afe50ce4ca38260f1dd6c7ed55e7f40ba7a6b38f | |
parent | 2ca2400b779484ff025b0705ff4fb84ead7c4b20 (diff) |
fix user picture url handling
-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\">"); } |