TYPO3  7.6
tx_rtehtmlarea_acronym.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
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' => array(
10  'disabled' => 'hidden',
11  'starttime' => 'starttime',
12  'endtime' => 'endtime'
13  ),
14  'typeicon_classes' => array(
15  'default' => 'mimetypes-x-tx_rtehtmlarea_acronym'
16  )
17  ),
18  'interface' => array(
19  'showRecordFieldList' => 'hidden,sys_language_uid,term,acronym'
20  ),
21  'columns' => array(
22  'hidden' => array(
23  'exclude' => 0,
24  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
25  'config' => array(
26  'type' => 'check',
27  'default' => '0'
28  )
29  ),
30  'starttime' => array(
31  'exclude' => 0,
32  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
33  'config' => array(
34  'type' => 'input',
35  'size' => '8',
36  'max' => '20',
37  'eval' => 'date',
38  'default' => '0',
39  )
40  ),
41  'endtime' => array(
42  'exclude' => 0,
43  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
44  'config' => array(
45  'type' => 'input',
46  'size' => '8',
47  'max' => '20',
48  'eval' => 'date',
49  'default' => '0',
50  'range' => array(
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' => array(
57  'exclude' => 0,
58  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
59  'config' => array(
60  'type' => 'select',
61  'renderType' => 'selectSingle',
62  'foreign_table' => 'sys_language',
63  'foreign_table_where' => 'ORDER BY sys_language.title',
64  'items' => array(
65  array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', '-1'),
66  array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', '0')
67  ),
68  'default' => 0,
69  'showIconTable' => true,
70  )
71  ),
72  'type' => array(
73  'exclude' => 1,
74  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type',
75  'config' => array(
76  'type' => 'radio',
77  'items' => array(
78  array('LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.1', '2'),
79  array('LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.0', '1')
80  ),
81  'default' => '2'
82  )
83  ),
84  'term' => array(
85  'exclude' => 0,
86  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.term',
87  'config' => array(
88  'type' => 'input',
89  'size' => '30',
90  'eval' => 'trim,required'
91  )
92  ),
93  'acronym' => array(
94  'exclude' => 0,
95  'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.acronym',
96  'config' => array(
97  'type' => 'input',
98  'size' => '30',
99  'eval' => 'trim,required'
100  )
101  ),
102  ),
103  'types' => array(
104  '0' => array(
105  'showitem' => 'hidden, --palette--;;1, sys_language_uid, type, term, acronym',
106  ),
107  ),
108  'palettes' => array(
109  '1' => array(
110  'showitem' => 'starttime, endtime',
111  ),
112  ),
113 );