Re-added feature #17313: Since using new flags from sprites (#15668), the sys_languag...
authorErnesto Baschny <ernst@cron-it.de>
Tue, 25 Jan 2011 19:51:40 +0000 (19:51 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Tue, 25 Jan 2011 19:51:40 +0000 (19:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10310 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/stddb/tbl_be.php
typo3/sysext/t3skin/ext_tables.php

index f59cd73..3cdb91f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2011-01-25  Ernesto Baschny  <ernst@cron-it.de>
 
+       * Re-added feature #17313: Since using new flags from sprites (#15668), the sys_language hasn't a flag-selector by icon (Thanks to Jo Hasenau)
        * Fixed bug #17305: Login/ Logout was not possible after introducing the locking in #17289 (Thanks to Helmut Hummel)
 
 2011-01-25  Jeff Segars  <jeff@webempoweredchurch.org>
index 8e9a539..23e3461 100644 (file)
@@ -791,7 +791,7 @@ $TCA['sys_language'] = array(
                                'items' => array(
                                        array('', 0, ''),
                                ),
-                               'selicon_cols' => 8,
+                               'selicon_cols' => 16,
                                'size' => 1,
                                'minitems' => 0,
                                'maxitems' => 1,
index e8196a7..56b1961 100644 (file)
@@ -134,7 +134,7 @@ if (TYPO3_MODE == 'BE' || (TYPO3_MODE == 'FE' && isset($GLOBALS['BE_USER']))) {
                'za', 'zm', 'zw'
        );
        foreach ($languageKeys as $languageKey) {
-               $TCA['sys_language']['columns']['flag']['config']['items'][] = array($languageKey, $languageKey, '');
+               $TCA['sys_language']['columns']['flag']['config']['items'][] = array($languageKey, $languageKey, 'EXT:t3skin/images/flags/'. $languageKey . '.png');
        }
        unset($languageKeys, $languageKey);