From 567ed9ebd2603a5deb9c171b4d969f7188414794 Mon Sep 17 00:00:00 2001 From: msquare Date: Tue, 19 Dec 2017 19:17:50 +0100 Subject: remove flags since they do not belong to language selection --- includes/helper/internationalization_helper.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'includes/helper') 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( - '%s %2$s', - url('pic/flag/' . $locale . '.png'), - $name - ) + $name, + $locale == locale() ); } return $items; -- cgit v1.2.3-70-g09d2