[TASK] Move TCA and ext_tables.sql from ext:cms to ext:frontend
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Configuration / TCA / backend_layout.php
1 <?php
2 return array(
3 'ctrl' => array(
4 'title' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout',
5 'label' => 'title',
6 'tstamp' => 'tstamp',
7 'crdate' => 'crdate',
8 'cruser_id' => 'cruser_id',
9 'versioningWS' => TRUE,
10 'origUid' => 't3_origuid',
11 'sortby' => 'sorting',
12 'delete' => 'deleted',
13 'enablecolumns' => array(
14 'disabled' => 'hidden'
15 ),
16 'iconfile' => 'backend_layout.gif',
17 'selicon_field' => 'icon',
18 'selicon_field_path' => 'uploads/media',
19 'thumbnail' => 'resources'
20 ),
21 'interface' => array(
22 'showRecordFieldList' => 'title,config,description,hidden,icon'
23 ),
24 'columns' => array(
25 'title' => array(
26 'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.title',
27 'config' => array(
28 'type' => 'input',
29 'size' => '25',
30 'max' => '256',
31 'eval' => 'required'
32 )
33 ),
34 'description' => array(
35 'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.description',
36 'config' => array(
37 'type' => 'text',
38 'rows' => '5',
39 'cols' => '25'
40 )
41 ),
42 'config' => array(
43 'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.config',
44 'config' => array(
45 'type' => 'text',
46 'rows' => '5',
47 'cols' => '25',
48 'wizards' => array(
49 '_PADDING' => 4,
50 0 => array(
51 'title' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.wizard',
52 'type' => 'popup',
53 'icon' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('cms') . 'layout/wizard_backend_layout.png',
54 'script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('cms') . 'layout/wizard_backend_layout.php',
55 'JSopenParams' => 'height=800,width=800,status=0,menubar=0,scrollbars=0'
56 )
57 )
58 )
59 ),
60 'hidden' => array(
61 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
62 'exclude' => 1,
63 'config' => array(
64 'type' => 'check',
65 'default' => '0'
66 )
67 ),
68 'icon' => array(
69 'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.icon',
70 'exclude' => 1,
71 'config' => array(
72 'type' => 'group',
73 'internal_type' => 'file',
74 'allowed' => 'jpg,gif,png',
75 'uploadfolder' => 'uploads/media',
76 'show_thumbs' => 1,
77 'size' => 1,
78 'maxitems' => 1
79 )
80 )
81 ),
82 'types' => array(
83 '1' => array('showitem' => 'hidden,title;;1;;2-2-2, icon, description, config')
84 )
85 );
86 ?>