minor fixes

git-svn-id: svn://svn.cccv.de/engel-system@292 29ba0400-6e00-0410-a75a-ca02368028f8
main
ichdasich 16 years ago
parent a9c549870d
commit 3f35e47a32

@ -1,10 +1,10 @@
<?PHP <?PHP
include ("./config.php"); include ("../includes/config.php");
include ("./error_handler.php"); include ("../includes/error_handler.php");
include ("./config_db.php"); include ("../includes/config_db.php");
if( !isset($_SESSION)) session_start(); if( !isset($_SESSION)) session_start();
include ("./secure.php"); include ("../includes/secure.php");
// Parameter check // Parameter check

@ -77,9 +77,9 @@ function GetPicturShow($UID)
function displayPictur($UID, $height="30") function displayPictur($UID, $height="30")
{ {
if( $height > 0) if( $height > 0)
return( "<img src=\"./inc/ShowUserPicture.php?UID=$UID\" height=\"$height\" alt=\"picture of USER$UID\" class=\"photo\">"); return( "<img src=\"/ShowUserPicture.php?UID=$UID\" height=\"$height\" alt=\"picture of USER$UID\" class=\"photo\">");
else else
return( "<img src=\"./inc/ShowUserPicture.php?UID=$UID\" alt=\"picture of USER$UID\">"); return( "<img src=\"/ShowUserPicture.php?UID=$UID\" alt=\"picture of USER$UID\">");
} }

Loading…
Cancel
Save