remove flags since they do not belong to language selection

This commit is contained in:
msquare 2017-12-19 19:17:50 +01:00
parent b60ad7ccfb
commit 567ed9ebd2
4 changed files with 3 additions and 6 deletions

View File

@ -123,7 +123,7 @@ function shift_entry_add_controller()
'SELECT `id` FROM `ShiftEntry` WHERE `SID`= ? AND `UID` = ?', 'SELECT `id` FROM `ShiftEntry` WHERE `SID`= ? AND `UID` = ?',
[$shift['SID'], $user_id])) [$shift['SID'], $user_id]))
) { ) {
return error('This angel does already have an entry for this shift.', true); return error(_('This angel does already have an entry for this shift.'), true);
} }
$freeloaded = isset($shift['freeloaded']) ? $shift['freeloaded'] : false; $freeloaded = isset($shift['freeloaded']) ? $shift['freeloaded'] : false;

View File

@ -72,11 +72,8 @@ function make_langselect()
$items[] = toolbar_item_link( $items[] = toolbar_item_link(
htmlspecialchars($url), htmlspecialchars($url),
'', '',
sprintf( $name,
'<img src="%s" alt="%s" title="%2$s"> %2$s', $locale == locale()
url('pic/flag/' . $locale . '.png'),
$name
)
); );
} }
return $items; return $items;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 545 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B