summaryrefslogtreecommitdiff
path: root/includes/funktion_flag.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/funktion_flag.php')
-rw-r--r--includes/funktion_flag.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/funktion_flag.php b/includes/funktion_flag.php
new file mode 100644
index 00000000..2c3ecc13
--- /dev/null
+++ b/includes/funktion_flag.php
@@ -0,0 +1,12 @@
+<?PHP
+echo "<br>";
+
+if( strpos( $_SERVER["REQUEST_URI"], "?") >0)
+ $URL = $_SERVER["REQUEST_URI"]. "&SetLanguage=";
+else
+ $URL = $_SERVER["REQUEST_URI"]. "?SetLanguage=";
+
+echo "<a href=\"". $URL. "DE\"><img src=\"./inc/flag/de.gif\" alt=\"DE\"></a> ";
+echo "<a href=\"". $URL. "EN\"><img src=\"./inc/flag/en.gif\" alt=\"En\"></a> ";
+
+?>