TYPO3 CMS  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 [
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  'versioning_followPages' => true,
15 
16  'origUid' => 't3_origuid',
17 
18  'delete' => 'deleted',
19  'enablecolumns' => [
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' => [
28  'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, images, image_references, flexform',
29  ],
30  'types' => [
31  '1' => ['showitem' => 'hidden, title, images, image_references, flexform, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access,starttime, endtime'],
32  ],
33  'palettes' => [
34  '1' => ['showitem' => ''],
35  ],
36  'columns' => [
37 
38  't3ver_label' => [
39  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
40  'config' => [
41  'type' => 'input',
42  'size' => 30,
43  'max' => 255,
44  ]
45  ],
46 
47  'hidden' => [
48  'exclude' => 1,
49  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
50  'config' => [
51  'type' => 'check',
52  ],
53  ],
54  'starttime' => [
55  'exclude' => 1,
56  'l10n_mode' => 'mergeIfNotBlank',
57  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
58  'config' => [
59  'type' => 'input',
60  'size' => 13,
61  'eval' => 'datetime',
62  'default' => 0,
63  'range' => [
64  'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
65  ],
66  ],
67  ],
68  'endtime' => [
69  'exclude' => 1,
70  'l10n_mode' => 'mergeIfNotBlank',
71  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
72  'config' => [
73  'type' => 'input',
74  'size' => 13,
75  'eval' => 'datetime',
76  'default' => 0,
77  'range' => [
78  'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
79  ],
80  ],
81  ],
82  'l18n_diffsource' => [
83  'config' => [
84  'type' => 'passthrough',
85  'default' => ''
86  ]
87  ],
88  'title' => [
89  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_title',
90  'config' => [
91  'type' => 'input',
92  'size' => 30,
93  'max' => 255,
94  'eval' => 'required'
95  ]
96  ],
97  'images' => [
98  'exclude' => 0,
99  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_images',
100  'config' => [
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' => [
112  'exclude' => 0,
113  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_image_references',
114  'config' => [
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' => [
125  'label' => 'LLL:EXT:impexp_group_files/Resources/Private/Language/locallang_db.xml:tx_impexpgroupfiles_item_flexform',
126  'config' => [
127  'type' => 'flex',
128  'ds' => [
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>actions-wizard-link</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 ];
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, 'versioning_followPages'=> true, 'origUid'=> 't3_origuid', '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/locallang_general.xlf:LGL.versionLabel', 'config'=> ['type'=> 'input', 'size'=> 30, 'max'=> 255,]], 'hidden'=> ['exclude'=> 1, 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden', 'config'=> ['type'=> 'check',],], 'starttime'=> ['exclude'=> 1, 'l10n_mode'=> 'mergeIfNotBlank', 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime', 'config'=> ['type'=> 'input', 'size'=> 13, 'eval'=> 'datetime', 'default'=> 0, 'range'=> ['lower'=> mktime(0, 0, 0, date('m'), date('d'), date('Y'))],],], 'endtime'=> ['exclude'=> 1, 'l10n_mode'=> 'mergeIfNotBlank', 'label'=> 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime', 'config'=> ['type'=> 'input', 'size'=> 13, 'eval'=> 'datetime', 'default'=> 0, 'range'=> ['lower'=> mktime(0, 0, 0, date('m'), date('d'), 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'=> ['exclude'=> 0, '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, 'show_thumbs'=> 1,],], 'image_references'=> ['exclude'=> 0, '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, 'show_thumbs'=> 1,],], '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 >< size >50</size >< max >256</max >< eval >trim</eval >< softref >typolink</softref >< wizards type="array">< link type="array">< type >popup</type >< title >Link</title >< icon >actions-wizard-link</icon >< module type="array">< name >wizard_link</name ></module >< JSopenParams >width=800, height=600, status=0, menubar=0, scrollbars=1</JSopenParams ></link ></wizards ></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 >< show_thumbs >1</show_thumbs ></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 >< show_thumbs >1</show_thumbs ></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']