engelsystem/includes/funktion_flag.php

10 lines
436 B
PHP
Raw Normal View History

2011-06-01 12:13:39 +02:00
<?php
2011-06-01 17:28:03 +02:00
if (strpos($_SERVER["REQUEST_URI"], "?") > 0)
$URL = $_SERVER["REQUEST_URI"] . "&SetLanguage=";
else
$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage=";
2011-06-01 18:16:47 +02:00
echo '<p class="content"><a class="sprache" href="' . $URL . 'DE"><img src="' . $ENGEL_ROOT . 'pic/flag/de.png" alt="DE" title="Deutsch"></a>';
2011-06-01 17:41:49 +02:00
echo '<a class="sprache" href="' . $URL . 'EN"><img src="' . $ENGEL_ROOT . 'pic/flag/en.png" alt="EN" title="English"></a></p>';
?>