776b11227a44868c238f9e0f1ea141dd8764b35f
[Packages/TYPO3.CMS.git] / typo3 / sysext / rtehtmlarea / Configuration / TCA / tx_rtehtmlarea_acronym.php
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 'checkbox' => '0'
40 )
41 ),
42 'endtime' => array(
43 'exclude' => 0,
44 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
45 'config' => array(
46 'type' => 'input',
47 'size' => '8',
48 'max' => '20',
49 'eval' => 'date',
50 'checkbox' => '0',
51 'default' => '0',
52 'range' => array(
53 'upper' => mktime(0, 0, 0, 12, 31, 2020),
54 'lower' => mktime(0, 0, 0, date('m') - 1, date('d'), date('Y'))
55 )
56 )
57 ),
58 'sys_language_uid' => array(
59 'exclude' => 0,
60 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
61 'config' => array(
62 'type' => 'select',
63 'foreign_table' => 'sys_language',
64 'foreign_table_where' => 'ORDER BY sys_language.title',
65 'items' => array(
66 array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', '-1'),
67 array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', '0')
68 ),
69 'default' => 0
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 'static_lang_isocode' => array(
103 'exclude' => 0,
104 'label' => 'LLL:EXT:rtehtmlarea/Resources/Private/Language/locallang_db.xlf:tx_rtehtmlarea_acronym.static_lang_isocode',
105 'displayCond' => 'EXT:static_info_tables:LOADED:true',
106 'config' => array(
107 'type' => 'select',
108 'items' => array(
109 array('', 0),
110 ),
111 'foreign_table' => 'static_languages',
112 'foreign_table_where' => 'ORDER BY static_languages.lg_name_en',
113 'itemsProcFunc' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->translateLanguagesSelector',
114 'size' => 1,
115 'minitems' => 0,
116 'maxitems' => 1,
117 'wizards' => array(
118 'suggest' => array(
119 'type' => 'suggest',
120 'default' => array(
121 'receiverClass' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\SuggestReceiver'
122 )
123 )
124 )
125 )
126 )
127 ),
128 'types' => array(
129 '0' => array(
130 'showitem' => 'hidden, --palette--;;1, sys_language_uid, type, term, acronym, static_lang_isocode',
131 ),
132 ),
133 'palettes' => array(
134 '1' => array(
135 'showitem' => 'starttime, endtime',
136 ),
137 ),
138 );