summaryrefslogtreecommitdiff
path: root/includes/funktion_flag.php
blob: b394d18ad1af51def84d5d4710d3446ad0b6a6a0 (plain)
1
2
3
4
5
6
7
8
9
<?php
if (strpos($_SERVER["REQUEST_URI"], "?") > 0)
	$URL = $_SERVER["REQUEST_URI"] . "&SetLanguage=";
else
	$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage=";

echo '<a class="sprache" href="' . $URL . 'DE"><img src="' . $ENGEL_ROOT . 'pic/flag/de.png" alt="DE" title="Deutsch"></a>';
echo '<a class="sprache" href="' . $URL . 'EN"><img src="' . $ENGEL_ROOT . 'pic/flag/en.png" alt="EN" title="English"></a>';
?>