summaryrefslogtreecommitdiff
path: root/includes/helper
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-12-19 19:17:50 +0100
committermsquare <msquare@notrademark.de>2017-12-19 19:17:50 +0100
commit567ed9ebd2603a5deb9c171b4d969f7188414794 (patch)
tree43665c721e7aa9b4b20a75e11e6eecb72427ae0b /includes/helper
parentb60ad7ccfb7dff80728653ea4713bb7d389bc101 (diff)
remove flags since they do not belong to language selection
Diffstat (limited to 'includes/helper')
-rw-r--r--includes/helper/internationalization_helper.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/includes/helper/internationalization_helper.php b/includes/helper/internationalization_helper.php
index 7fa6518b..01aca71f 100644
--- a/includes/helper/internationalization_helper.php
+++ b/includes/helper/internationalization_helper.php
@@ -72,11 +72,8 @@ function make_langselect()
$items[] = toolbar_item_link(
htmlspecialchars($url),
'',
- sprintf(
- '<img src="%s" alt="%s" title="%2$s"> %2$s',
- url('pic/flag/' . $locale . '.png'),
- $name
- )
+ $name,
+ $locale == locale()
);
}
return $items;