[TYPO3-core] RFC #15666: HCI: SysLanguage Table Icon should be the flag you selected

Steffen Kamper info at sk-typo3.de
Sat Oct 30 15:33:03 CEST 2010


Hi,

just if i see this mega array. Imho more easy to read and maintain would 
be something like

$languageKey = array(
	'ad', 'ae', 'af', ...
);

foreach ($languageKey as $language) {
	$TCA['sys_language']['columns']['flag']['config']['items'][] = array(
		$language, $language, '')
);
}

vg Steffen


More information about the TYPO3-team-core mailing list