[BUGFIX] Set correct file extensions in ['SYS']['mediafile_ext']
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / be_groups.php
index f4c8b46..c4b3ccd 100644 (file)
@@ -2,6 +2,7 @@
 return array(
        'ctrl' => array(
                'label' => 'title',
+               'descriptionColumn' => 'description',
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
@@ -10,11 +11,6 @@ return array(
                'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
                'adminOnly' => 1,
                'rootLevel' => 1,
-               'type' => 'inc_access_lists',
-               'typeicon_column' => 'inc_access_lists',
-               'typeicons' => array(
-                       '1' => 'be_groups_lists.gif'
-               ),
                'typeicon_classes' => array(
                        'default' => 'status-user-group-backend'
                ),
@@ -23,12 +19,11 @@ return array(
                ),
                'title' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups',
                'useColumnsForDefaultValues' => 'lockToDomain, file_permissions',
-               'dividers2tabs' => TRUE,
                'versioningWS_alwaysAllowLiveEdit' => TRUE,
                'searchFields' => 'title'
        ),
        'interface' => array(
-               'showRecordFieldList' => 'title, db_mountpoints, file_mountpoints, file_permissions, inc_access_lists, tables_select, tables_modify, pagetypes_select, non_exclude_fields, groupMods, lockToDomain, description'
+               'showRecordFieldList' => 'title, db_mountpoints, file_mountpoints, file_permissions, tables_select, tables_modify, pagetypes_select, non_exclude_fields, groupMods, lockToDomain, description'
        ),
        'columns' => array(
                'title' => array(
@@ -66,9 +61,7 @@ return array(
                                'size' => '3',
                                'maxitems' => 100,
                                'autoSizeMax' => 10,
-                               'iconsInOptionTags' => 1,
                                'wizards' => array(
-                                       '_PADDING' => 1,
                                        '_VERTICAL' => 1,
                                        'edit' => array(
                                                'type' => 'popup',
@@ -77,29 +70,33 @@ return array(
                                                        'name' => 'wizard_edit',
                                                ),
                                                'popup_onlyOpenIfSelected' => 1,
-                                               'icon' => 'edit2.gif',
-                                               'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
+                                               'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        ),
                                        'add' => array(
                                                'type' => 'script',
                                                'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_add_title',
-                                               'icon' => 'add.gif',
+                                               'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_add.gif',
                                                'params' => array(
                                                        'table' => 'sys_filemounts',
                                                        'pid' => '0',
                                                        'setValue' => 'prepend'
                                                ),
-                                               'script' => 'wizard_add.php'
+                                               'module' => array(
+                                                       'name' => 'wizard_add'
+                                               )
                                        ),
                                        'list' => array(
                                                'type' => 'script',
                                                'title' => 'LLL:EXT:lang/locallang_tca.xlf:file_mountpoints_list_title',
-                                               'icon' => 'list.gif',
+                                               'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_list.gif',
                                                'params' => array(
                                                        'table' => 'sys_filemounts',
                                                        'pid' => '0'
                                                ),
-                                               'script' => 'wizard_list.php'
+                                               'module' => array(
+                                                       'name' => 'wizard_list'
+                                               )
                                        )
                                )
                        )
@@ -117,23 +114,22 @@ return array(
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_move', 'moveFolder', 'apps-filetree-folder-default'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_copy', 'copyFolder', 'apps-filetree-folder-default'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_delete', 'deleteFolder', 'apps-filetree-folder-default'),
-                                       array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_recursivedelete', 'folder_recursivedelete', 'apps-filetree-folder-default'),
+                                       array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.folder_recursivedelete', 'recursivedeleteFolder', 'apps-filetree-folder-default'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files', '--div--', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_read', 'readFile', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_write', 'writeFile', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_add', 'addFile', 'mimetypes-other-other'),
-                                       array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_upload', 'files_upload', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_rename', 'renameFile', 'mimetypes-other-other'),
+                                       array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_replace', 'replaceFile', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_move', 'moveFile', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_copy', 'copyFile', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.fileoper_perms_unzip', 'unzipFile', 'mimetypes-other-other'),
                                        array('LLL:EXT:lang/locallang_tca.xlf:be_groups.file_permissions.files_delete', 'deleteFile', 'mimetypes-other-other')
                                ),
-                               'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
-                               'size' => 16,
-                               'maxitems' => 16,
-                               'itemListStyle' => 'width:500px',
-                               'default' => 'readFolder,writeFolder,addFolder,renameFolder,moveFolder,deleteFolder,readFile,writeFile,addFile,renameFile,moveFile,files_copy,deleteFile'
+                               'renderMode' => 'checkbox',
+                               'size' => 17,
+                               'maxitems' => 17,
+                               'default' => 'readFolder,writeFolder,addFolder,renameFolder,moveFolder,deleteFolder,readFile,writeFile,addFile,renameFile,replaceFile,moveFile,files_copy,deleteFile'
                        )
                ),
                'workspace_perms' => array(
@@ -154,8 +150,7 @@ return array(
                                'size' => '5',
                                'autoSizeMax' => 50,
                                'maxitems' => 20,
-                               'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
-                               'iconsInOptionTags' => 1
+                               'renderMode' => 'checkbox',
                        )
                ),
                'tables_modify' => array(
@@ -166,8 +161,7 @@ return array(
                                'size' => '5',
                                'autoSizeMax' => 50,
                                'maxitems' => 100,
-                               'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
-                               'iconsInOptionTags' => 1
+                               'renderMode' => 'checkbox',
                        )
                ),
                'tables_select' => array(
@@ -178,8 +172,7 @@ return array(
                                'size' => '5',
                                'autoSizeMax' => 50,
                                'maxitems' => 100,
-                               'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
-                               'iconsInOptionTags' => 1
+                               'renderMode' => 'checkbox',
                        )
                ),
                'non_exclude_fields' => array(
@@ -190,8 +183,7 @@ return array(
                                'size' => '25',
                                'maxitems' => 1000,
                                'autoSizeMax' => 50,
-                               'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
-                               'itemListStyle' => 'width:500px'
+                               'renderMode' => 'checkbox'
                        )
                ),
                'explicit_allowdeny' => array(
@@ -246,15 +238,7 @@ return array(
                                'size' => '5',
                                'autoSizeMax' => 50,
                                'maxitems' => 100,
-                               'renderMode' => $GLOBALS['TYPO3_CONF_VARS']['BE']['accessListRenderMode'],
-                               'iconsInOptionTags' => 1
-                       )
-               ),
-               'inc_access_lists' => array(
-                       'label' => 'LLL:EXT:lang/locallang_tca.xlf:be_groups.inc_access_lists',
-                       'config' => array(
-                               'type' => 'check',
-                               'default' => '0'
+                               'renderMode' => 'checkbox',
                        )
                ),
                'description' => array(
@@ -262,7 +246,8 @@ return array(
                        'config' => array(
                                'type' => 'text',
                                'rows' => 5,
-                               'cols' => 30
+                               'cols' => 30,
+                               'max' => '2000',
                        )
                ),
                'TSconfig' => array(
@@ -291,7 +276,6 @@ return array(
                                'size' => '5',
                                'autoSizeMax' => 50,
                                'maxitems' => 20,
-                               'iconsInOptionTags' => 1
                        )
                ),
                'category_perms' => array(
@@ -317,15 +301,10 @@ return array(
                )
        ),
        'types' => array(
-               '0' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, inc_access_lists;;;;1-1-1,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, file_mountpoints;;;;3-3-3, file_permissions, category_perms,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain;;;;1-1-1, hide_in_lists;;;;2-2-2, TSconfig;;;;3-3-3,
+               '0' => array('showitem' => 'hidden, title, description, subgroup,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny, allowed_languages, custom_options,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms, db_mountpoints, file_mountpoints, file_permissions, category_perms,
+                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain, hide_in_lists, TSconfig,
                        --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended'),
-               '1' => array('showitem' => 'hidden;;;;1-1-1, title;;;;2-2-2, description, subgroup;;;;3-3-3,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.base_rights, inc_access_lists;;;;1-1-1, groupMods, tables_select, tables_modify, pagetypes_select, non_exclude_fields, explicit_allowdeny , allowed_languages;;;;2-2-2, custom_options;;;;3-3-3,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.mounts_and_workspaces, workspace_perms;;;;1-1-1, db_mountpoints;;;;2-2-2, file_mountpoints;;;;3-3-3, file_permissions, category_perms,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.options, lockToDomain;;;;1-1-1, hide_in_lists;;;;2-2-2, TSconfig;;;;3-3-3,
-                       --div--;LLL:EXT:lang/locallang_tca.xlf:be_groups.tabs.extended')
        )
 );