TYPO3 CMS  TYPO3_8-7
tx_impexpgroupfiles_item.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 return [
5  'ctrl' => [
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 
15  'origUid' => 't3_origuid',
16  'transOrigDiffSourceField' => 'l18n_diffsource',
17  'delete' => 'deleted',
18  'enablecolumns' => [
19  'disabled' => 'hidden',
20  'starttime' => 'starttime',
21  'endtime' => 'endtime',
22  ],
23  'searchFields' => 'price,currency,symbol,',
24  'iconfile' => 'EXT:impexp_group_files/Resources/Public/Icons/icon_tx_impexpgroupfiles_item.gif'
25  ],
26  'interface' => [
27  'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, images, image_references, flexform',
28  ],
29  'types' => [
30  '1' => ['showitem' => 'hidden, title, images, image_references, flexform, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,starttime, endtime'],
31  ],
32  'palettes' => [
33  '1' => ['showitem' => ''],
34  ],
35  'columns' => [
36 
37  't3ver_label' => [
38  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
39  'config' => [
40  'type' => 'input',
41  'size' => 30,
42  'max' => 255,
43  ]
44  ],
45 
46  'hidden' => [
47  'exclude' => true,
48  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
49  'config' => [
50  'type' => 'check',
51  ],
52  ],
53  'starttime' => [
54  'exclude' => true,
55  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
56  'config' => [
57  'type' => 'input',
58  'renderType' => 'inputDateTime',
59  'size' => 13,
60  'eval' => 'datetime',
61  'default' => 0,
62  'range' => [
63  'lower' => mktime(0, 0, 0, (int)date('m'), (int)date('d'), (int)date('Y'))
64  ],
65  ],
66  ],
67  'endtime' => [
68  'exclude' => true,
69  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
70  'config' => [
71  'type' => 'input',
72  'renderType' => 'inputDateTime',
73  'size' => 13,
74  'eval' => 'datetime',
75  'default' => 0,
76  'range' => [
77  'lower' => mktime(0, 0, 0, (int)date('m'), (int)date('d'), (int)date('Y'))
78  ],
79  ],
80  ],
81  'l18n_diffsource' => [
82  'config' => [
83  'type' => 'passthrough',
84  'default' => ''
85  ]
86  ],
87  'title' => [
88  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_title',
89  'config' => [
90  'type' => 'input',
91  'size' => 30,
92  'max' => 255,
93  'eval' => 'required'
94  ]
95  ],
96  'images' => [
97  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_images',
98  'config' => [
99  'type' => 'group',
100  'internal_type' => 'file',
101  'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
102  'disallowed' => 'php',
103  'uploadfolder' => 'uploads/tx_impexpgroupfiles',
104  'size' => 5,
105  'maxitems' => 5,
106  ],
107  ],
108  'image_references' => [
109  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_image_references',
110  'config' => [
111  'type' => 'group',
112  'internal_type' => 'file_reference',
113  'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
114  'disallowed' => 'php',
115  'size' => 5,
116  'maxitems' => 5,
117  ],
118  ],
119  'flexform' => [
120  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_flexform',
121  'config' => [
122  'type' => 'flex',
123  'ds' => [
124  'default' => '<T3DataStructure>
125  <sheets>
126  <sDEF>
127  <ROOT>
128  <TCEforms>
129  <sheetTitle>Default</sheetTitle>
130  </TCEforms>
131  <type>array</type>
132  <el>
133  <link>
134  <TCEforms>
135  <label>Link</label>
136  <config>
137  <type>input</type>
138  <renderType>inputLink</renderType>
139  <size>50</size>
140  <max>256</max>
141  <eval>trim</eval>
142  <softref>typolink</softref>
143  </config>
144  </TCEforms>
145  </link>
146  <images>
147  <TCEforms>
148  <label>Images</label>
149  <config>
150  <type>group</type>
151  <internal_type>file</internal_type>
152  <allowed>' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed>
153  <disallowed>php</disallowed>
154  <uploadfolder>uploads/tx_impexpgroupfiles</uploadfolder>
155  <size>5</size>
156  <maxitems>5</maxitems>
157  </config>
158  </TCEforms>
159  </images>
160  <image_references>
161  <TCEforms>
162  <label>Image References</label>
163  <config>
164  <type>group</type>
165  <internal_type>file_reference</internal_type>
166  <allowed>' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed>
167  <disallowed>php</disallowed>
168  <uploadfolder>uploads/tx_impexpgroupfiles</uploadfolder>
169  <size>5</size>
170  <maxitems>5</maxitems>
171  </config>
172  </TCEforms>
173  </image_references>
174  </el>
175  </ROOT>
176  </sDEF>
177  </sheets>
178  </T3DataStructure>'
179  ],
180  'default' => ''
181  ]
182  ],
183  ],
184 ];
return['ctrl'=> ['title'=> 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xlf:tx_impexpgroupfiles_item', 'label'=> 'title', 'tstamp'=> 'tstamp', 'crdate'=> 'crdate', 'cruser_id'=> 'cruser_id', 'sortby'=> 'sorting', 'versioningWS'=> true, 'origUid'=> 't3_origuid', 'transOrigDiffSourceField'=> 'l18n_diffsource', 'delete'=> 'deleted', 'enablecolumns'=> ['disabled'=> 'hidden', 'starttime'=> 'starttime', 'endtime'=> 'endtime',], 'searchFields'=> 'price, currency, symbol,', 'iconfile'=> 'EXT:impexp_group_files/Resources/Public/Icons/icon_tx_impexpgroupfiles_item.gif'], 'interface'=> ['showRecordFieldList'=> 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, images, image_references, flexform',], 'types'=> ['1'=> ['showitem'=> 'hidden, title, images, image_references, flexform, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'],], 'palettes'=> ['1'=> ['showitem'=> ''],], 'columns'=> ['t3ver_label'=> ['label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel', 'config'=> ['type'=> 'input', 'size'=> 30, 'max'=> 255,]], 'hidden'=> ['exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden', 'config'=> ['type'=> 'check',],], 'starttime'=> ['exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.starttime', 'config'=> ['type'=> 'input', 'renderType'=> 'inputDateTime', 'size'=> 13, 'eval'=> 'datetime', 'default'=> 0, 'range'=> ['lower'=> mktime(0, 0, 0,(int) date('m'),(int) date('d'),(int) date('Y'))],],], 'endtime'=> ['exclude'=> true, 'label'=> 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.endtime', 'config'=> ['type'=> 'input', 'renderType'=> 'inputDateTime', 'size'=> 13, 'eval'=> 'datetime', 'default'=> 0, 'range'=> ['lower'=> mktime(0, 0, 0,(int) date('m'),(int) date('d'),(int) date('Y'))],],], 'l18n_diffsource'=> ['config'=> ['type'=> 'passthrough', 'default'=> '']], 'title'=> ['label'=> 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_title', 'config'=> ['type'=> 'input', 'size'=> 30, 'max'=> 255, 'eval'=> 'required']], 'images'=> ['label'=> 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_images', 'config'=> ['type'=> 'group', 'internal_type'=> 'file', 'allowed'=> $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'disallowed'=> 'php', 'uploadfolder'=> 'uploads/tx_impexpgroupfiles', 'size'=> 5, 'maxitems'=> 5,],], 'image_references'=> ['label'=> 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_image_references', 'config'=> ['type'=> 'group', 'internal_type'=> 'file_reference', 'allowed'=> $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'], 'disallowed'=> 'php', 'size'=> 5, 'maxitems'=> 5,],], 'flexform'=> ['label'=> 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_flexform', 'config'=> ['type'=> 'flex', 'ds'=> ['default'=> '< T3DataStructure >< sheets >< sDEF >< ROOT >< TCEforms >< sheetTitle >Default</sheetTitle ></TCEforms >< type >array</type >< el >< link >< TCEforms >< label >Link</label >< config >< type >input</type >< renderType >inputLink</renderType >< size >50</size >< max >256</max >< eval >trim</eval >< softref >typolink</softref ></config ></TCEforms ></link >< images >< TCEforms >< label >Images</label >< config >< type >group</type >< internal_type >file</internal_type >< allowed >' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed >< disallowed >php</disallowed >< uploadfolder >uploads/tx_impexpgroupfiles</uploadfolder >< size >5</size >< maxitems >5</maxitems ></config ></TCEforms ></images >< image_references >< TCEforms >< label >Image References</label >< config >< type >group</type >< internal_type >file_reference</internal_type >< allowed >' . $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] . '</allowed >< disallowed >php</disallowed >< uploadfolder >uploads/tx_impexpgroupfiles</uploadfolder >< size >5</size >< maxitems >5</maxitems ></config ></TCEforms ></image_references ></el ></ROOT ></sDEF ></sheets ></T3DataStructure >'], 'default'=> '']],],]
if(TYPO3_MODE==='BE') $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['frontendEditingController']['default']