diff options
author | Jan-Philipp Litza <janphilipp@litza.de> | 2012-12-29 14:41:09 +0100 |
---|---|---|
committer | Jan-Philipp Litza <janphilipp@litza.de> | 2012-12-29 14:41:09 +0100 |
commit | 2d0b2542c9af24a9ec4dd05010bc554010151e61 (patch) | |
tree | 135d4ab087eb6666e44729a3a9b90435bb0b1a7e /includes/sys_menu.php | |
parent | b60603d76c286937875afb0ba267be3d7f880a21 (diff) |
a few fixes and polishes in myshifts, shifts and menu
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r-- | includes/sys_menu.php | 4 |
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>'; } ?> |