summaryrefslogtreecommitdiff
path: root/includes/helper/internationalization_helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/helper/internationalization_helper.php')
-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;