TYPO3  7.6
tx_impexpgroupfiles_item.php
Go to the documentation of this file.
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' => true,
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' => 'EXT: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:frontend/Resources/Private/Language/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  'eval' => 'datetime',
62  'default' => 0,
63  'range' => array(
64  'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
65  ),
66  ),
67  ),
68  'endtime' => array(
69  'exclude' => 1,
70  'l10n_mode' => 'mergeIfNotBlank',
71  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
72  'config' => array(
73  'type' => 'input',
74  'size' => 13,
75  'eval' => 'datetime',
76  'default' => 0,
77  'range' => array(
78  'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
79  ),
80  ),
81  ),
82  'l18n_diffsource' => array(
83  'config' => array(
84  'type' => 'passthrough',
85  'default' => ''
86  )
87  ),
88  'title' => array(
89  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_title',
90  'config' => array(
91  'type' => 'input',
92  'size' => 30,
93  'max' => 255,
94  'eval' => 'required'
95  )
96  ),
97  'images' => array(
98  'exclude' => 0,
99  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_images',
100  'config' => array(
101  'type' => 'group',
102  'internal_type' => 'file',
103  'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
104  'disallowed' => 'php',
105  'uploadfolder' => 'uploads/tx_impexpgroupfiles',
106  'size' => 5,
107  'maxitems' => 5,
108  'show_thumbs' => 1,
109  ),
110  ),
111  'image_references' => array(
112  'exclude' => 0,
113  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_image_references',
114  'config' => array(
115  'type' => 'group',
116  'internal_type' => 'file_reference',
117  'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
118  'disallowed' => 'php',
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  <sheets>
131  <sDEF>
132  <ROOT>
133  <TCEforms>
134  <sheetTitle>Default</sheetTitle>
135  </TCEforms>
136  <type>array</type>
137  <el>
138  <link>
139  <TCEforms>
140  <label>Link</label>
141  <config>
142  <type>input</type>
143  <size>50</size>
144  <max>256</max>
145  <eval>trim</eval>
146  <softref>typolink</softref>
147  <wizards type="array">
148  <link type="array">
149  <type>popup</type>
150  <title>Link</title>
151  <icon>EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif</icon>
152  <module type="array">
153  <name>wizard_link</name>
154  </module>
155  <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
156  </link>
157  </wizards>
158  </config>
159  </TCEforms>
160  </link>
161  <images>
162  <TCEforms>
163  <label>Images</label>
164  <config>
165  <type>group</type>
166  <internal_type>file</internal_type>
167  <allowed>' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed>
168  <disallowed>php</disallowed>
169  <uploadfolder>uploads/tx_impexpgroupfiles</uploadfolder>
170  <size>5</size>
171  <maxitems>5</maxitems>
172  <show_thumbs>1</show_thumbs>
173  </config>
174  </TCEforms>
175  </images>
176  <image_references>
177  <TCEforms>
178  <label>Image References</label>
179  <config>
180  <type>group</type>
181  <internal_type>file_reference</internal_type>
182  <allowed>' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed>
183  <disallowed>php</disallowed>
184  <uploadfolder>uploads/tx_impexpgroupfiles</uploadfolder>
185  <size>5</size>
186  <maxitems>5</maxitems>
187  <show_thumbs>1</show_thumbs>
188  </config>
189  </TCEforms>
190  </image_references>
191  </el>
192  </ROOT>
193  </sDEF>
194  </sheets>
195  </T3DataStructure>'
196  ),
197  'default' => ''
198  )
199  ),
200  ),
201 );