TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
tx_rtehtmlarea_acronym.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'title' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym',
5  'label' => 'term',
6  'default_sortby' => 'ORDER BY term',
7  'sortby' => 'sorting',
8  'delete' => 'deleted',
9  'enablecolumns' => [
10  'disabled' => 'hidden',
11  'starttime' => 'starttime',
12  'endtime' => 'endtime'
13  ],
14  'typeicon_classes' => [
15  'default' => 'mimetypes-x-tx_rtehtmlarea_acronym'
16  ]
17  ],
18  'interface' => [
19  'showRecordFieldList' => 'hidden,sys_language_uid,term,acronym'
20  ],
21  'columns' => [
22  'hidden' => [
23  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.hidden',
24  'config' => [
25  'type' => 'check',
26  'default' => 0
27  ]
28  ],
29  'starttime' => [
30  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
31  'config' => [
32  'type' => 'input',
33  'size' => 8,
34  'max' => 20,
35  'eval' => 'date',
36  'default' => 0,
37  ]
38  ],
39  'endtime' => [
40  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
41  'config' => [
42  'type' => 'input',
43  'size' => 8,
44  'max' => 20,
45  'eval' => 'date',
46  'default' => 0,
47  'range' => [
48  'upper' => mktime(0, 0, 0, 12, 31, 2020),
49  'lower' => mktime(0, 0, 0, date('m') - 1, date('d'), date('Y'))
50  ]
51  ]
52  ],
53  'sys_language_uid' => [
54  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.language',
55  'config' => [
56  'type' => 'select',
57  'renderType' => 'selectSingle',
58  'foreign_table' => 'sys_language',
59  'foreign_table_where' => 'ORDER BY sys_language.title',
60  'items' => [
61  ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages', '-1'],
62  ['LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.default_value', '0']
63  ],
64  'default' => 0,
65  'showIconTable' => true,
66  ]
67  ],
68  'type' => [
69  'exclude' => true,
70  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type',
71  'config' => [
72  'type' => 'radio',
73  'items' => [
74  ['LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.1', '2'],
75  ['LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.0', '1']
76  ],
77  'default' => '2'
78  ]
79  ],
80  'term' => [
81  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.term',
82  'config' => [
83  'type' => 'input',
84  'size' => 30,
85  'eval' => 'trim,required'
86  ]
87  ],
88  'acronym' => [
89  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.acronym',
90  'config' => [
91  'type' => 'input',
92  'size' => 30,
93  'eval' => 'trim,required'
94  ]
95  ],
96  ],
97  'types' => [
98  '0' => [
99  'showitem' => '
100  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
101  type, term, acronym,
102  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:language,
103  sys_language_uid,
104  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
105  hidden,--palette--;;1,
106  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
107  ',
108  ],
109  ],
110  'palettes' => [
111  '1' => [
112  'showitem' => 'starttime, endtime',
113  ],
114  ],
115 ];