TYPO3 CMS  TYPO3_6-2
tx_rtehtmlarea_acronym.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'title' => 'LLL:EXT:rtehtmlarea/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  'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('rtehtmlarea') . 'extensions/Acronym/skin/images/acronym.gif'
15  ),
16  'interface' => array(
17  'showRecordFieldList' => 'hidden,sys_language_uid,term,acronym'
18  ),
19  'columns' => array(
20  'hidden' => array(
21  'exclude' => 0,
22  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
23  'config' => array(
24  'type' => 'check',
25  'default' => '0'
26  )
27  ),
28  'starttime' => array(
29  'exclude' => 0,
30  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
31  'config' => array(
32  'type' => 'input',
33  'size' => '8',
34  'max' => '20',
35  'eval' => 'date',
36  'default' => '0',
37  'checkbox' => '0'
38  )
39  ),
40  'endtime' => array(
41  'exclude' => 0,
42  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
43  'config' => array(
44  'type' => 'input',
45  'size' => '8',
46  'max' => '20',
47  'eval' => 'date',
48  'checkbox' => '0',
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  'foreign_table' => 'sys_language',
62  'foreign_table_where' => 'ORDER BY sys_language.title',
63  'items' => array(
64  array('LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', '-1'),
65  array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', '0')
66  )
67  )
68  ),
69  'type' => array(
70  'exclude' => 1,
71  'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xlf:tx_rtehtmlarea_acronym.type',
72  'config' => array(
73  'type' => 'radio',
74  'items' => array(
75  array('LLL:EXT:rtehtmlarea/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.1', '2'),
76  array('LLL:EXT:rtehtmlarea/locallang_db.xlf:tx_rtehtmlarea_acronym.type.I.0', '1')
77  ),
78  'default' => '2'
79  )
80  ),
81  'term' => array(
82  'exclude' => 0,
83  'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xlf:tx_rtehtmlarea_acronym.term',
84  'config' => array(
85  'type' => 'input',
86  'size' => '30',
87  'eval' => 'trim,required'
88  )
89  ),
90  'acronym' => array(
91  'exclude' => 0,
92  'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xlf:tx_rtehtmlarea_acronym.acronym',
93  'config' => array(
94  'type' => 'input',
95  'size' => '30',
96  'eval' => 'trim,required'
97  )
98  ),
99  'static_lang_isocode' => array(
100  'exclude' => 0,
101  'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xlf:tx_rtehtmlarea_acronym.static_lang_isocode',
102  'displayCond' => 'EXT:static_info_tables:LOADED:true',
103  'config' => array(
104  'type' => 'select',
105  'items' => array(
106  array('', 0),
107  ),
108  'foreign_table' => 'static_languages',
109  'foreign_table_where' => 'ORDER BY static_languages.lg_name_en',
110  'itemsProcFunc' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\ElementRenderingHelper->translateLanguagesSelector',
111  'size' => 1,
112  'minitems' => 0,
113  'maxitems' => 1,
114  'wizards' => array(
115  'suggest' => array(
116  'type' => 'suggest',
117  'default' => array(
118  'receiverClass' => 'SJBR\\StaticInfoTables\\Hook\\Backend\\Form\\SuggestReceiver'
119  )
120  )
121  )
122  )
123  )
124  ),
125  'types' => array(
126  '0' => array('showitem' => 'hidden;;1;;1-1-1, sys_language_uid, type, term, acronym, static_lang_isocode')
127  ),
128  'palettes' => array(
129  '1' => array('showitem' => 'starttime, endtime')
130  )
131 );