TYPO3 CMS  TYPO3_7-6
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  'exclude' => 0,
24  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
25  'config' => [
26  'type' => 'check',
27  'default' => '0'
28  ]
29  ],
30  'starttime' => [
31  'exclude' => 0,
32  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
33  'config' => [
34  'type' => 'input',
35  'size' => '8',
36  'max' => '20',
37  'eval' => 'date',
38  'default' => '0',
39  ]
40  ],
41  'endtime' => [
42  'exclude' => 0,
43  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
44  'config' => [
45  'type' => 'input',
46  'size' => '8',
47  'max' => '20',
48  'eval' => 'date',
49  'default' => '0',
50  'range' => [
51  'upper' => mktime(0, 0, 0, 12, 31, 2020),
52  'lower' => mktime(0, 0, 0, date('m') - 1, date('d'), date('Y'))
53  ]
54  ]
55  ],
56  'sys_language_uid' => [
57  'exclude' => 0,
58  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
59  'config' => [
60  'type' => 'select',
61  'renderType' => 'selectSingle',
62  'foreign_table' => 'sys_language',
63  'foreign_table_where' => 'ORDER BY sys_language.title',
64  'items' => [
65  ['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', '-1'],
66  ['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', '0']
67  ],
68  'default' => 0,
69  'showIconTable' => true,
70  ]
71  ],
72  'type' => [
73  'exclude' => 1,
74  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type',
75  'config' => [
76  'type' => 'radio',
77  'items' => [
78  ['LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.1', '2'],
79  ['LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.0', '1']
80  ],
81  'default' => '2'
82  ]
83  ],
84  'term' => [
85  'exclude' => 0,
86  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.term',
87  'config' => [
88  'type' => 'input',
89  'size' => '30',
90  'eval' => 'trim,required'
91  ]
92  ],
93  'acronym' => [
94  'exclude' => 0,
95  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.acronym',
96  'config' => [
97  'type' => 'input',
98  'size' => '30',
99  'eval' => 'trim,required'
100  ]
101  ],
102  ],
103  'types' => [
104  '0' => [
105  'showitem' => 'hidden, --palette--;;1, sys_language_uid, type, term, acronym',
106  ],
107  ],
108  'palettes' => [
109  '1' => [
110  'showitem' => 'starttime, endtime',
111  ],
112  ],
113 ];