Index: typo3/sysext/impexp/ext_tables.php =================================================================== --- typo3/sysext/impexp/ext_tables.php (revision 8023) +++ typo3/sysext/impexp/ext_tables.php (working copy) @@ -4,17 +4,16 @@ } if (TYPO3_MODE == 'BE') { - $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array ( + $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array( 'name' => 'tx_impexp_clickmenu', 'path' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_impexp_clickmenu.php' ); - $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['tasks'] = array ( + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['impexp']['tx_impexp_task'] = array( 'title' => 'LLL:EXT:impexp/locallang_csh.xml:.alttitle', 'description' => 'LLL:EXT:impexp/locallang_csh.xml:.description', - 'icon' => 'EXT:impexp/export.gif', - 'task' => 'tx_impexp_task', + 'icon' => 'EXT:impexp/export.gif' ); t3lib_extMgm::addLLrefForTCAdescr('xMOD_tx_impexp','EXT:impexp/locallang_csh.xml'); Index: typo3/sysext/impexp/task/class.tx_impexp_task.php =================================================================== --- typo3/sysext/impexp/task/class.tx_impexp_task.php (revision 8023) +++ typo3/sysext/impexp/task/class.tx_impexp_task.php (working copy) @@ -68,8 +68,6 @@ return ''; } - - /** * Main Task center module * @@ -86,9 +84,9 @@ } else { // header $content .= $this->taskObject->description( - $GLOBALS['LANG']->getLL('.alttitle'), - $GLOBALS['LANG']->getLL('.description') - ); + $GLOBALS['LANG']->getLL('.alttitle'), + $GLOBALS['LANG']->getLL('.description') + ); $thumbnails = $lines = array(); @@ -109,16 +107,9 @@ foreach($presets as $key => $presetCfg) { $configuration = unserialize($presetCfg['preset_data']); $thumbnailFile = $thumbnails[$configuration['meta']['thumbnail']]; - $title = strlen($presetCfg['title']) ? $presetCfg['title'] : '['.$presetCfg['uid'].']'; + $title = strlen($presetCfg['title']) ? $presetCfg['title'] : '[' . $presetCfg['uid'] . ']'; + $icon = 'EXT:impexp/export.gif'; - if ($thumbnailFile && 1==2) { - // @todo: create icon or maybe completly remove it because where to display? - $src= '../' . $GLOBALS['BACK_PATH'] . substr($tempDir, strlen(PATH_site)) . basename($thumbnailFile); - $icon = $src; - } else { - $icon = 'EXT:impexp/export.gif'; - } - $description = array(); // is public? @@ -157,10 +148,10 @@ // collect all preset information $lines[$key] = array( - 'icon' => $icon, - 'title' => htmlspecialchars($title), - 'descriptionHtml' => implode('
', $description), - 'link' => 'mod.php?M=user_task&SET[function]=impexp.tasks&display=' . $presetCfg['uid'] + 'icon' => $icon, + 'title' => $title, + 'descriptionHtml' => implode('
', $description), + 'link' => 'mod.php?M=user_task&SET[function]=impexp.tx_impexp_task&display=' . $presetCfg['uid'] ); } @@ -174,7 +165,6 @@ $GLOBALS['LANG']->getLL('no-presets'), '', t3lib_FlashMessage::NOTICE - ); $content .= $flashMessage->render(); } @@ -189,14 +179,14 @@ * * @return array Array of preset records */ - function getPresets() { + protected function getPresets() { $presets = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( - '*', - 'tx_impexp_presets', - '(public > 0 OR user_uid=' . $GLOBALS['BE_USER']->user['uid'] . ')', - '', - 'item_uid DESC, title' - ); + '*', + 'tx_impexp_presets', + '(public > 0 OR user_uid=' . $GLOBALS['BE_USER']->user['uid'] . ')', + '', + 'item_uid DESC, title' + ); return $presets; } @@ -206,16 +196,17 @@ * * @return string Absolute path to first "_temp_" folder of the current user, otherwise blank. */ - function userTempFolder() { + protected function userTempFolder() { foreach($GLOBALS['FILEMOUNTS'] as $filePathInfo) { $tempFolder = $filePathInfo['path'] . '_temp_/'; if (@is_dir($tempFolder)) { return $tempFolder; } } + + return ''; } - } Index: typo3/sysext/sys_action/ext_emconf.php =================================================================== --- typo3/sysext/sys_action/ext_emconf.php (revision 8023) +++ typo3/sysext/sys_action/ext_emconf.php (working copy) @@ -33,13 +33,12 @@ 'author_company' => 'Curby Soft Multimedia', 'CGLcompliance' => '', 'CGLcompliance_note' => '', - 'version' => '1.2.0', + 'version' => '2.0.0', '_md5_values_when_last_written' => 'a:17:{s:8:"TODO.txt";s:4:"17ff";s:22:"class.tx_sysaction.php";s:4:"627a";s:16:"ext_autoload.php";s:4:"9b72";s:12:"ext_icon.gif";s:4:"f410";s:14:"ext_tables.php";s:4:"abdf";s:14:"ext_tables.sql";s:4:"c36f";s:13:"locallang.xml";s:4:"3327";s:27:"locallang_csh_sysaction.xml";s:4:"a1d4";s:17:"locallang_tca.xml";s:4:"abe1";s:14:"sys_action.gif";s:4:"eb3a";s:17:"sys_action__h.gif";s:4:"7a29";s:7:"tca.php";s:4:"3356";s:32:"task/class.tx_sysaction_task.php";s:4:"207e";s:46:"toolbarmenu/class.tx_sysaction_toolbarmenu.php";s:4:"11d3";s:35:"toolbarmenu/registerToolbarItem.php";s:4:"58a6";s:29:"toolbarmenu/tx_sysactions.css";s:4:"bd1b";s:28:"toolbarmenu/tx_sysactions.js";s:4:"deb0";}', 'constraints' => array( 'depends' => array( - 'taskcenter' => '1.0.0-0.0.0', - 'php' => '5.1.0-0.0.0', - 'typo3' => '4.3.0-0.0.0', + 'taskcenter' => '2.0.0-0.0.0', + 'typo3' => '4.4.0-0.0.0', ), 'conflicts' => array( ), Index: typo3/sysext/sys_action/ext_tables.php =================================================================== --- typo3/sysext/sys_action/ext_tables.php (revision 8023) +++ typo3/sysext/sys_action/ext_tables.php (working copy) @@ -4,8 +4,8 @@ } if (TYPO3_MODE == 'BE') { - $TCA['sys_action'] = array ( - 'ctrl' => array ( + $TCA['sys_action'] = array( + 'ctrl' => array( 'label' => 'title', 'tstamp' => 'tstamp', 'default_sortby' => 'ORDER BY title', @@ -17,7 +17,7 @@ 'adminOnly' => 1, 'rootLevel' => -1, 'setToDefaultOnCopy' => 'assign_to_groups', - 'enablecolumns' => array ( + 'enablecolumns' => array( 'disabled' => 'hidden' ), 'typeicon_classes' => array( @@ -33,11 +33,10 @@ t3lib_extMgm::addLLrefForTCAdescr('sys_action','EXT:sys_action/locallang_csh_sysaction.xml'); - $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tasks'] = array( + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['taskcenter']['sys_action']['tx_sysaction_task'] = array( 'title' => 'LLL:EXT:sys_action/locallang_tca.xml:sys_action', 'description' => 'LLL:EXT:sys_action/locallang_csh_sysaction.xml:.description', - 'icon' => 'EXT:sys_action/sys_action.gif', - 'task' => 'tx_sysaction_task' + 'icon' => 'EXT:sys_action/x-sys_action.png', ); } ?> \ No newline at end of file Index: typo3/sysext/sys_action/task/class.tx_sysaction_task.php =================================================================== --- typo3/sysext/sys_action/task/class.tx_sysaction_task.php (revision 8023) +++ typo3/sysext/sys_action/task/class.tx_sysaction_task.php (working copy) @@ -59,9 +59,9 @@ // if no task selected, render the menu if ($show == 0) { $content .= $this->taskObject->description( - $GLOBALS['LANG']->getLL('sys_action'), - $GLOBALS['LANG']->getLL('description') - ); + $GLOBALS['LANG']->getLL('sys_action'), + $GLOBALS['LANG']->getLL('description') + ); $content .= $this->renderActionList(); } else { @@ -71,7 +71,7 @@ if (count($record) == 0) { $flashMessage = t3lib_div::makeInstance( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_error-not-found', true), + $GLOBALS['LANG']->getLL('action_error-not-found', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); @@ -100,7 +100,7 @@ default: $flashMessage = t3lib_div::makeInstance( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_noType', true), + $GLOBALS['LANG']->getLL('action_noType', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); @@ -121,16 +121,16 @@ $content = '

' . $GLOBALS['LANG']->getLL('description') . '

'; // get the actions - $lines = $this->getActions(); - if (count($lines) > 0) { + $actionList = $this->getActions(); + if (count($actionList) > 0) { $items = ''; // render a single action menu item - foreach ($lines as $line) { - $active = (t3lib_div::_GP('show') === $line['uid']) ? ' class="active" ' : ''; + foreach ($actionList as $action) { + $active = (t3lib_div::_GP('show') === $action['uid']) ? ' class="active" ' : ''; $items .= ' - ' . - htmlspecialchars($line['title']) . + ' . + htmlspecialchars($action['title']) . ' '; } @@ -144,11 +144,11 @@ * Get all actions of an user. Admins can see any action, all others only those * whic are allowed in sys_action record itself. * - * @param boolean $toOverview: If true, the link redirects to the taskcenter + * @param boolean $toOverview: If TRUE, the link redirects to the taskcenter * @return array Array holding every needed information of a sys_action */ protected function getActions() { - $lines = array(); + $actionList = array(); // admins can see any record if ($GLOBALS['BE_USER']->isAdmin()) { @@ -188,18 +188,18 @@ ''; } - $lines[] = array( + $actionList[] = array( 'uid' => $actionRow['uid'], 'title' => $actionRow['title'], 'description' => $actionRow['description'], 'descriptionHtml' => nl2br(htmlspecialchars($actionRow['description'])) . $editActionLink, - 'link' => 'mod.php?M=user_task&SET[function]=sys_action.tasks&show=' . $actionRow['uid'], + 'link' => 'mod.php?M=user_task&SET[function]=sys_action.tx_sysaction_task&show=' . $actionRow['uid'], 'icon' => 'EXT:sys_action/sys_action.gif' ); } $GLOBALS['TYPO3_DB']->sql_free_result($res); - return $lines; + return $actionList; } /** @@ -211,15 +211,15 @@ $content = ''; // get the sys_action records - $lines = $this->getActions(); + $actionList = $this->getActions(); // if any actions are found for the current users - if (count($lines) > 0) { - $content .= $this->taskObject->renderListMenu($lines); + if (count($actionList) > 0) { + $content .= $this->taskObject->renderListMenu($actionList); } else { $flashMessage = t3lib_div::makeInstance ( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_not-found-description', true), + $GLOBALS['LANG']->getLL('action_not-found-description', TRUE), $GLOBALS['LANG']->getLL('action_not-found'), t3lib_FlashMessage::INFO ); @@ -255,7 +255,7 @@ if (!is_array($beRec)) { $flashMessage = t3lib_div::makeInstance( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_notReady', true), + $GLOBALS['LANG']->getLL('action_notReady', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); @@ -264,8 +264,6 @@ return $content; } - $userRecord = array(); - $newFlag = 0; $vars = t3lib_div::_POST('data'); $key = 'NEW'; @@ -311,13 +309,12 @@ } - // load BE user to edit if (intval(t3lib_div::_GP('be_users_uid')) > 0) { $tmpUserId = intval(t3lib_div::_GP('be_users_uid')); + // check if the selected user is created by the current user $rawRecord = $this->isCreatedByUser($tmpUserId, $record); - if ($rawRecord) { // delete user if (t3lib_div::_GP('delete') == 1) { @@ -327,7 +324,6 @@ $key = $tmpUserId; $vars = $rawRecord; } - } $this->JScode(); @@ -338,37 +334,37 @@
General fields
- - + +
- - + +
- - + +
- - + +
- - + +
Configuration
- - ' . $this->getUsergroups($record, $vars) . '
- + ' . $this->t3lib_TCEforms->dbFileIcons('data[db_mountpoints]', 'db', 'pages', $loadDB->itemArray, '', array('size' => 3)) . '
@@ -396,8 +392,8 @@ 'be_users', 'uid=' . $userId, array ( - 'deleted' => 1, - 'tstamp' => $GLOBALS['ACCESS_TIME'] + 'deleted' => 1, + 'tstamp' => $GLOBALS['ACCESS_TIME'] ) ); @@ -411,14 +407,14 @@ * * @param int $id: Id of the BE user * @param array $action: sys_action record. - * @return mixed the record of the BE user if found, otherwise false + * @return mixed the record of the BE user if found, otherwise FALSE */ protected function isCreatedByUser($id, $action) { $record = t3lib_BEfunc::getRecord( 'be_users', $id, '*', - ' AND cruser_id=' . $GLOBALS['BE_USER']->user['uid'] . ' AND createdByAction=' . intval($action['uid']) + ' AND cruser_id=' . $GLOBALS['BE_USER']->user['uid'] . ' AND createdByAction=' . $action['uid'] ); if (is_array($record)) { @@ -438,7 +434,7 @@ */ protected function getCreatedUsers($action, $selectedUser) { $content = ''; - $lines = array(); + $userList = array(); // List of users $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery( @@ -459,13 +455,13 @@ $line = '' . $line . ''; } - $lines[] = $line; + $userList[] = $line; } $GLOBALS['TYPO3_DB']->sql_free_result($res); // if any records found - if (count($lines)) { - $content .= '
' . $this->taskObject->doc->section($GLOBALS['LANG']->getLL('action_t1_listOfUsers'), implode('
', $lines)); + if (count($userList)) { + $content .= '
' . $this->taskObject->doc->section($GLOBALS['LANG']->getLL('action_t1_listOfUsers'), implode('
', $userList)); } return $content; @@ -507,8 +503,6 @@ * @return int Id of the new/updated user */ protected function saveNewBackendUser($record, $vars) { - $content = ''; - // check if the db mount is a page the current user is allowed to.); $vars['db_mountpoints'] = $this->fixDbMount($vars['db_mountpoints']); // check if the usergroup is allowed @@ -709,6 +703,13 @@ } } + /** + * Get all allowed usergroups which can be applied to a user record + * + * @param array $record sys_action record + * @param array $vars Selected be_user record + * @return string rendered user groups + */ protected function getUsergroups($record, $vars) { $content = ''; // do nothing if no groups are allowed @@ -750,7 +751,7 @@ */ protected function viewEditRecord($record) { $content = ''; - $lines = array(); + $actionList = array(); $dbAnalysis = t3lib_div::makeInstance('t3lib_loadDBGroup'); $dbAnalysis->fromTC = 0; @@ -767,7 +768,7 @@ $description .= ' - ' . t3lib_BEfunc::dateTimeAge($record['crdate']); } - $lines[$el['id']] = array( + $actionList[$el['id']] = array( 'title' => $title, 'description' => t3lib_BEfunc::getRecordTitle($el['table'], $dbAnalysis->results[$el['table']][$el['id']]), 'descriptionHtml' => $description, @@ -777,7 +778,7 @@ } // render the record list - $content .= $this->taskObject->renderListMenu($lines); + $content .= $this->taskObject->renderListMenu($actionList); return $content; } @@ -801,7 +802,6 @@ $fullsearch->formW = 40; $fullsearch->noDownloadB = 1; - $type = $sql_query['qC']['search_query_makeQuery']; $res = $GLOBALS['TYPO3_DB']->sql_query($sql_query['qSelect']); @@ -823,14 +823,14 @@ // Admin users are allowed to see and edit the query if ($GLOBALS['BE_USER']->isAdmin()) { $actionContent .= '
' . $fullsearch->tableWrap($sql_query['qSelect']); - $actionContent .= '
getLL('action_editQuery') . '" href="' . $GLOBALS['BACK_PATH'] . t3lib_extMgm::extRelPath('lowlevel') . 'dbint/index.php?id=' . '&SET[function]=search' . '&SET[search]=query' . '&storeControl[STORE]=-' . $record['uid'] . '&storeControl[LOAD]=1' . '"> ' . - $GLOBALS['LANG']->getLL('action_editQuery') . '

'; + $GLOBALS['LANG']->getLL('action_editQuery') . '

'; } $content .= $this->taskObject->doc->section($GLOBALS['LANG']->getLL('action_t2_result'), $actionContent, 0, 1); @@ -838,7 +838,7 @@ // query is not configured $flashMessage = t3lib_div::makeInstance ( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_notReady', true), + $GLOBALS['LANG']->getLL('action_notReady', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); @@ -848,7 +848,7 @@ // required sysext lowlevel is not installed $flashMessage = t3lib_div::makeInstance ( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_lowlevelMissing', true), + $GLOBALS['LANG']->getLL('action_lowlevelMissing', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); @@ -872,7 +872,7 @@ if ($this->id == 0 || $this->table == '') { $flashMessage = t3lib_div::makeInstance( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_lowlevelMissing', true), + $GLOBALS['LANG']->getLL('action_lowlevelMissing', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); @@ -884,15 +884,10 @@ require_once($GLOBALS['BACK_PATH'] . 'class.db_list.inc'); require_once($GLOBALS['BACK_PATH'] . 'class.db_list_extra.inc'); - - // Start document template object: -// $this->doc = t3lib_div::makeInstance('template'); - // Loading current page record and checking access: $this->pageinfo = t3lib_BEfunc::readPageAccess($this->id,$this->taskObject->perms_clause); $access = is_array($this->pageinfo) ? 1 : 0; - // If there is access to the page, then render the list contents and set up the document template object: if ($access) { // Initialize the dblist object: @@ -978,7 +973,6 @@ // Setting up the context sensitive menu: $this->taskObject->doc->getContextMenuCode(); - // Begin to compile the whole page $content .= '
' . $dblist->HTMLcode . @@ -987,7 +981,6 @@ // If a listing was produced, create the page footer with search form etc: if ($dblist->HTMLcode) { - // Making field select box (when extended view for a single table is enabled): if ($dblist->table) { $tmpBackpath = $GLOBALS['BACK_PATH']; @@ -1000,7 +993,7 @@ // not enough rights to access the list view or the page $flashMessage = t3lib_div::makeInstance( 't3lib_FlashMessage', - $GLOBALS['LANG']->getLL('action_error-access', true), + $GLOBALS['LANG']->getLL('action_error-access', TRUE), $GLOBALS['LANG']->getLL('action_error'), t3lib_FlashMessage::ERROR ); Index: typo3/sysext/sys_action/tca.php =================================================================== --- typo3/sysext/sys_action/tca.php (revision 8023) +++ typo3/sysext/sys_action/tca.php (working copy) @@ -3,40 +3,40 @@ // ****************************************************************** // sys_action // ****************************************************************** -$TCA['sys_action'] = array ( +$TCA['sys_action'] = array( 'ctrl' => $TCA['sys_action']['ctrl'], - 'interface' => array ( + 'interface' => array( 'showRecordFieldList' => 'hidden,title,type,description,assign_to_groups' ), - 'columns' => array ( - 'title' => array ( + 'columns' => array( + 'title' => array( 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.title', - 'config' => array ( + 'config' => array( 'type' => 'input', 'size' => '25', 'max' => '256', 'eval' => 'trim,required' ) ), - 'description' => array ( + 'description' => array( 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.description', - 'config' => array ( + 'config' => array( 'type' => 'text', 'rows' => 10, 'cols' => 48 ) ), - 'hidden' => array ( + 'hidden' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.hidden', - 'config' => array ( + 'config' => array( 'type' => 'check' ) ), - 'type' => array ( + 'type' => array( 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.type', - 'config' => array ( + 'config' => array( 'type' => 'select', - 'items' => array ( + 'items' => array( array('', '0'), array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.1', '1'), array('LLL:EXT:sys_action/locallang_tca.php:sys_action.type.2', '2'), @@ -46,9 +46,9 @@ ) ) ), - 'assign_to_groups' => array ( + 'assign_to_groups' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.assign_to_groups', - 'config' => array ( + 'config' => array( 'type' => 'select', 'foreign_table' => 'be_groups', 'foreign_table_where' => 'ORDER BY be_groups.title', @@ -59,18 +59,18 @@ 'autoSizeMax' => '10' ) ), - 't1_userprefix' => array ( + 't1_userprefix' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_userprefix', - 'config' => array ( + 'config' => array( 'type' => 'input', 'size' => '25', 'max' => '10', 'eval' => 'trim' ) ), - 't1_allowed_groups' => array ( + 't1_allowed_groups' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_allowed_groups', - 'config' => array ( + 'config' => array( 'type' => 'select', 'foreign_table' => 'be_groups', 'foreign_table_where' => 'ORDER BY be_groups.title', @@ -79,15 +79,15 @@ 'autoSizeMax' => '10' ) ), - 't1_create_user_dir' => array ( + 't1_create_user_dir' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_create_user_dir', - 'config' => array ( + 'config' => array( 'type' => 'check' ) ), - 't1_copy_of_user' => array ( + 't1_copy_of_user' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t1_copy_of_user', - 'config' => array ( + 'config' => array( 'type' => 'group', 'internal_type' => 'db', 'allowed' => 'be_users', @@ -102,9 +102,9 @@ ) ) ), - 't3_listPid' => array ( + 't3_listPid' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t3_listPid', - 'config' => array ( + 'config' => array( 'type' => 'group', 'internal_type' => 'db', 'allowed' => 'pages', @@ -119,19 +119,19 @@ ) ) ), - 't3_tables' => array ( + 't3_tables' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t3_tables', - 'config' => array ( + 'config' => array( 'type' => 'select', 'special' => 'tables', - 'items' => array ( + 'items' => array( array('','') ) ) ), - 't4_recordsToEdit' => array ( + 't4_recordsToEdit' => array( 'label' => 'LLL:EXT:sys_action/locallang_tca.php:sys_action.t4_recordsToEdit', - 'config' => array ( + 'config' => array( 'type' => 'group', 'internal_type' => 'db', 'allowed' => '*', @@ -149,8 +149,8 @@ ), ), - 'types' => array ( - '0' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2'), + 'types' => array( + '0' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,'), '1' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t1_userprefix;;;;5-5-5,t1_copy_of_user,t1_allowed_groups,t1_create_user_dir'), '2' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,'), '3' => array('showitem' => 'hidden;;;;1-1-1,type,title;;;;2-2-2,description;;;;3-3-3,assign_to_groups,--div--,t3_listPid;;;;5-5-5,t3_tables;'), Index: typo3/sysext/sys_action/toolbarmenu/class.tx_sysaction_toolbarmenu.php =================================================================== --- typo3/sysext/sys_action/toolbarmenu/class.tx_sysaction_toolbarmenu.php (revision 8023) +++ typo3/sysext/sys_action/toolbarmenu/class.tx_sysaction_toolbarmenu.php (working copy) @@ -79,12 +79,9 @@ $this->addCssToBackend(); $title = $GLOBALS['LANG']->getLL('action_toolbaritem', TRUE); - $actionMenu[] = 'backPath, - t3lib_extMgm::extRelPath($this->EXTKEY) . 'ext_icon.gif', - 'width="16" height="16"' - ) . ' title="' . $title . '" alt="' . $title . '" />'; + $actionMenu[] = ''. + t3lib_iconWorks::getSpriteIcon('apps-toolbar-menu-actions', array('title' => $title)) . + ''; $actionMenu[] = '