Project

General

Profile

Bug #24477 » no-flags-in-em.patch

Administrator Admin, 2011-01-14 12:19

View differences:

classes/connection/class.tx_em_connection_extdirectserver.php (copie de travail)
$lang = $meta = array();
foreach ($theLanguages as $language) {
$label = htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:setup/mod/locallang.xml:lang_' . $language));
$cls = t3lib_iconWorks::getSpriteIconClasses('flags-' . $language);
$lang[] = array(
'label' => $label,
'lang' => $language,
'cls' => $cls,
'selected' => is_array($selected) && in_array($language, $selected) ? 1 : 0
);
$meta[] = array(
(3-3/3)