summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/funktion_flag.php4
-rwxr-xr-xincludes/header.php6
2 files changed, 5 insertions, 5 deletions
diff --git a/includes/funktion_flag.php b/includes/funktion_flag.php
index 88cc7822..08c29ac1 100644
--- a/includes/funktion_flag.php
+++ b/includes/funktion_flag.php
@@ -6,7 +6,7 @@ if( strpos( $_SERVER["REQUEST_URI"], "?") >0)
else
$URL = $_SERVER["REQUEST_URI"]. "?SetLanguage=";
-echo "<a href=\"". $URL. "DE\"><img src=\"/pic/flag/de.gif\" alt=\"DE\"></a> ";
-echo "<a href=\"". $URL. "EN\"><img src=\"/pic/flag/en.gif\" alt=\"EN\"></a> ";
+echo "<a href=\"". $URL. "DE\"><img src=\"". $url. substr( $ENGEL_ROOT, 1). "pic/flag/de.gif\" alt=\"DE\"></a> ";
+echo "<a href=\"". $URL. "EN\"><img src=\"". $url. substr( $ENGEL_ROOT, 1). "pic/flag/en.gif\" alt=\"EN\"></a> ";
?>
diff --git a/includes/header.php b/includes/header.php
index 06201dc3..54880705 100755
--- a/includes/header.php
+++ b/includes/header.php
@@ -55,8 +55,8 @@ echo "<TITLE>--- $title $Version ---</TITLE>";
<meta name="robots" content="index">
<meta name="revisit-after" content="1 days">
<meta http-equiv="content-language" content="de">
-<script type="text/javascript" src="/css/grossbild.js"></script>
-<link rel=stylesheet type="text/css" href="/css/style<?PHP
+<script type="text/javascript" src="<? echo $url. substr( $ENGEL_ROOT, 1); ?>/css/grossbild.js"></script>
+<link rel=stylesheet type="text/css" href="<? echo $url. substr( $ENGEL_ROOT, 1); ?>css/style<?PHP
if (!IsSet($_SESSION['color']))
echo "1";
else
@@ -94,7 +94,7 @@ if( $Page["ShowTabel"]=="Y" )
?>
<div align="center">
- <a name="#top"><img src="/pic/himmel<?PHP if( isset($_SESSION['color']))
+ <a name="#top"><img src="<? echo $url. substr( $ENGEL_ROOT, 1); ?>pic/himmel<?PHP if( isset($_SESSION['color']))
if ($_SESSION['color']==6) echo "_w"; ?>.png" alt="Unser Himmel"></a>
<p>
<?PHP