From 55141154c083acc2d0397f4c62b4e0be1c7a19fa Mon Sep 17 00:00:00 2001 From: Bot Date: Tue, 3 Jan 2017 14:12:17 +0100 Subject: Replaced " with ' --- includes/helper/internationalization_helper.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/helper/internationalization_helper.php') diff --git a/includes/helper/internationalization_helper.php b/includes/helper/internationalization_helper.php index ee9339e2..7c04ebbd 100644 --- a/includes/helper/internationalization_helper.php +++ b/includes/helper/internationalization_helper.php @@ -1,7 +1,7 @@ "Deutsch", - 'en_US.UTF-8' => "English" + 'de_DE.UTF-8' => 'Deutsch', + 'en_US.UTF-8' => 'English' ]; $default_locale = 'en_US.UTF-8'; @@ -68,12 +68,12 @@ function gettext_locale($locale = null) function make_langselect() { global $locales; - $URL = $_SERVER["REQUEST_URI"] . (strpos($_SERVER["REQUEST_URI"], "?") > 0 ? '&' : '?') . "set_locale="; + $url = $_SERVER['REQUEST_URI'] . (strpos($_SERVER['REQUEST_URI'], '?') > 0 ? '&' : '?') . 'set_locale='; $items = []; foreach ($locales as $locale => $name) { $items[] = toolbar_item_link( - htmlspecialchars($URL) . $locale, + htmlspecialchars($url) . $locale, '', '' . $name . ' ' . $name ); -- cgit v1.2.3-54-g00ecf