summaryrefslogtreecommitdiff
path: root/includes/sys_menu.php
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2012-12-29 14:41:09 +0100
committerJan-Philipp Litza <janphilipp@litza.de>2012-12-29 14:41:09 +0100
commit2d0b2542c9af24a9ec4dd05010bc554010151e61 (patch)
tree135d4ab087eb6666e44729a3a9b90435bb0b1a7e /includes/sys_menu.php
parentb60603d76c286937875afb0ba267be3d7f880a21 (diff)
a few fixes and polishes in myshifts, shifts and menu
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r--includes/sys_menu.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index 2ddc9b10..7eeaa70a 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -121,8 +121,8 @@ function make_langselect() {
else
$URL = $_SERVER["REQUEST_URI"] . "?SetLanguage=";
- $html = '<p class="content"><a class="sprache" href="' . $URL . 'DE"><img src="pic/flag/de.png" alt="DE" title="Deutsch"></a>';
- $html .= '<a class="sprache" href="' . $URL . 'EN"><img src="pic/flag/en.png" alt="EN" title="English"></a></p>';
+ $html = '<p class="content"><a class="sprache" href="' . htmlspecialchars($URL) . 'DE"><img src="pic/flag/de.png" alt="DE" title="Deutsch"></a>';
+ $html .= '<a class="sprache" href="' . htmlspecialchars($URL) . 'EN"><img src="pic/flag/en.png" alt="EN" title="English"></a></p>';
return '<nav class="container"><h4>' . Get_Text("Sprache") . '</h4>' . $html . '</nav>';
}
?>