diff options
author | Bot <bot@myigel.name> | 2017-01-03 14:12:17 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-01-03 15:32:59 +0100 |
commit | 55141154c083acc2d0397f4c62b4e0be1c7a19fa (patch) | |
tree | 7e5e54a19f7df976fa68c42f21f1484112a7c257 /includes/helper/internationalization_helper.php | |
parent | 356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff) |
Replaced " with '
Diffstat (limited to 'includes/helper/internationalization_helper.php')
-rw-r--r-- | includes/helper/internationalization_helper.php | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <?php $locales = [ - 'de_DE.UTF-8' => "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, '', '<img src="pic/flag/' . $locale . '.png" alt="' . $name . '" title="' . $name . '"> ' . $name ); |