[CLEANUP] Remove dividers2tabs functionality
[Packages/TYPO3.CMS.git] / typo3 / sysext / impexp / Tests / Functional / Fixtures / Extensions / impexp_group_files / Configuration / TCA / tx_impexpgroupfiles_item.php
1 <?php
2 defined('TYPO3_MODE') or die();
3
4 return array(
5 'ctrl' => array(
6 'title' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xlf:tx_impexpgroupfiles_item',
7 'label' => 'title',
8 'tstamp' => 'tstamp',
9 'crdate' => 'crdate',
10 'cruser_id' => 'cruser_id',
11 'sortby' => 'sorting',
12
13 'versioningWS' => 2,
14 'versioning_followPages' => TRUE,
15
16 'origUid' => 't3_origuid',
17
18 'delete' => 'deleted',
19 'enablecolumns' => array(
20 'disabled' => 'hidden',
21 'starttime' => 'starttime',
22 'endtime' => 'endtime',
23 ),
24 'searchFields' => 'price,currency,symbol,',
25 'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('impexp_group_files') . 'Resources/Public/Icons/icon_tx_impexpgroupfiles_item.gif'
26 ),
27 'interface' => array(
28 'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, images, image_references, flexform',
29 ),
30 'types' => array(
31 '1' => array('showitem' => 'hidden, title, images, image_references, flexform, --div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,starttime, endtime'),
32 ),
33 'palettes' => array(
34 '1' => array('showitem' => ''),
35 ),
36 'columns' => array(
37
38 't3ver_label' => array(
39 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
40 'config' => array(
41 'type' => 'input',
42 'size' => 30,
43 'max' => 255,
44 )
45 ),
46
47 'hidden' => array(
48 'exclude' => 1,
49 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
50 'config' => array(
51 'type' => 'check',
52 ),
53 ),
54 'starttime' => array(
55 'exclude' => 1,
56 'l10n_mode' => 'mergeIfNotBlank',
57 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
58 'config' => array(
59 'type' => 'input',
60 'size' => 13,
61 'max' => 20,
62 'eval' => 'datetime',
63 'checkbox' => 0,
64 'default' => 0,
65 'range' => array(
66 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
67 ),
68 ),
69 ),
70 'endtime' => array(
71 'exclude' => 1,
72 'l10n_mode' => 'mergeIfNotBlank',
73 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
74 'config' => array(
75 'type' => 'input',
76 'size' => 13,
77 'max' => 20,
78 'eval' => 'datetime',
79 'checkbox' => 0,
80 'default' => 0,
81 'range' => array(
82 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
83 ),
84 ),
85 ),
86 'title' => array(
87 'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_title',
88 'config' => array(
89 'type' => 'input',
90 'size' => 30,
91 'max' => 255,
92 'eval' => 'required'
93 )
94 ),
95 'images' => array(
96 'exclude' => 0,
97 'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_images',
98 'config' => array(
99 'type' => 'group',
100 'internal_type' => 'file',
101 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
102 'disallowed' => 'php',
103 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
104 'uploadfolder' => 'uploads/tx_impexpgroupfiles',
105 'size' => 5,
106 'maxitems' => 5,
107 'show_thumbs' => 1,
108 ),
109 ),
110 'image_references' => array(
111 'exclude' => 0,
112 'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_image_references',
113 'config' => array(
114 'type' => 'group',
115 'internal_type' => 'file_reference',
116 'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
117 'disallowed' => 'php',
118 'max_size' => $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'],
119 'size' => 5,
120 'maxitems' => 5,
121 'show_thumbs' => 1,
122 ),
123 ),
124 'flexform' => array(
125 'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_flexform',
126 'config' => array(
127 'type' => 'flex',
128 'ds' => array(
129 'default' => '<T3DataStructure>
130 <meta>
131 <langDisable>1</langDisable>
132 </meta>
133 <sheets>
134 <sDEF>
135 <ROOT>
136 <TCEforms>
137 <sheetTitle>Default</sheetTitle>
138 </TCEforms>
139 <type>array</type>
140 <el>
141 <link>
142 <TCEforms>
143 <label>Link</label>
144 <config>
145 <type>input</type>
146 <size>50</size>
147 <max>256</max>
148 <eval>trim</eval>
149 <softref>typolink</softref>
150 <wizards type="array">
151 <_PADDING type="integer">2</_PADDING>
152 <link type="array">
153 <type>popup</type>
154 <title>Link</title>
155 <icon>link_popup.gif</icon>
156 <module type="array">
157 <name>wizard_element_browser</name>
158 <urlParameters type="array">
159 <mode>wizard</mode>
160 </urlParameters>
161 </module>
162 <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
163 </link>
164 </wizards>
165 </config>
166 </TCEforms>
167 </link>
168 <images>
169 <TCEforms>
170 <label>Images</label>
171 <config>
172 <type>group</type>
173 <internal_type>file</internal_type>
174 <allowed>' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed>
175 <disallowed>php</disallowed>
176 <max_size>' . $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'] . '</max_size>
177 <uploadfolder>uploads/tx_impexpgroupfiles</uploadfolder>
178 <size>5</size>
179 <maxitems>5</maxitems>
180 <show_thumbs>1</show_thumbs>
181 </config>
182 </TCEforms>
183 </images>
184 <image_references>
185 <TCEforms>
186 <label>Image References</label>
187 <config>
188 <type>group</type>
189 <internal_type>file_reference</internal_type>
190 <allowed>' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed>
191 <disallowed>php</disallowed>
192 <max_size>' . $GLOBALS['TYPO3_CONF_VARS']['BE']['maxFileSize'] . '</max_size>
193 <uploadfolder>uploads/tx_impexpgroupfiles</uploadfolder>
194 <size>5</size>
195 <maxitems>5</maxitems>
196 <show_thumbs>1</show_thumbs>
197 </config>
198 </TCEforms>
199 </image_references>
200 </el>
201 </ROOT>
202 </sDEF>
203 </sheets>
204 </T3DataStructure>'
205 )
206 )
207 ),
208 ),
209 );