diff --git typo3/sysext/cms/tbl_tt_content.php typo3/sysext/cms/tbl_tt_content.php index c322f36..982215c 100755 --- typo3/sysext/cms/tbl_tt_content.php +++ typo3/sysext/cms/tbl_tt_content.php @@ -35,6 +35,12 @@ +if (!function_exists('user_sortPluginList')) { + function user_sortPluginList(array &$parameters) { + usort($parameters['items'], create_function('$item1,$item2', 'return strcasecmp($GLOBALS[\'LANG\']->sL($item1[0]),$GLOBALS[\'LANG\']->sL($item2[0]));')); + } +} + $TCA['tt_content'] = array( 'ctrl' => $TCA['tt_content']['ctrl'], 'interface' => array( @@ -1277,6 +1283,7 @@ $TCA['tt_content'] = array( '', ), ), + 'itemsProcFunc' => 'user_sortPluginList', 'default' => '', 'authMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['explicitADmode'], 'iconsInOptionTags' => 1, @@ -2052,4 +2059,4 @@ $TCA['tt_content'] = array( ); -?> \ No newline at end of file +?>