TYPO3  7.6
sys_news.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'title' => 'LLL:EXT:lang/locallang_tca.xlf:sys_news',
5  'label' => 'title',
6  'tstamp' => 'tstamp',
7  'crdate' => 'crdate',
8  'cruser_id' => 'cruser_id',
9  'adminOnly' => true,
10  'rootLevel' => true,
11  'delete' => 'deleted',
12  'enablecolumns' => array(
13  'disabled' => 'hidden',
14  'starttime' => 'starttime',
15  'endtime' => 'endtime'
16  ),
17  'default_sortby' => 'crdate DESC',
18  'typeicon_classes' => array(
19  'default' => 'mimetypes-x-sys_news'
20  )
21  ),
22  'interface' => array(
23  'showRecordFieldList' => 'hidden,title,content,starttime,endtime'
24  ),
25  'columns' => array(
26  'hidden' => array(
27  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
28  'exclude' => 1,
29  'config' => array(
30  'type' => 'check',
31  'default' => '0'
32  )
33  ),
34  'starttime' => array(
35  'exclude' => 1,
36  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
37  'config' => array(
38  'type' => 'input',
39  'size' => '13',
40  'eval' => 'datetime',
41  'default' => '0'
42  )
43  ),
44  'endtime' => array(
45  'exclude' => 1,
46  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
47  'config' => array(
48  'type' => 'input',
49  'size' => '13',
50  'eval' => 'datetime',
51  'default' => '0'
52  )
53  ),
54  'title' => array(
55  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.title',
56  'config' => array(
57  'type' => 'input',
58  'size' => '30',
59  'max' => '255',
60  'eval' => 'required'
61  )
62  ),
63  'content' => array(
64  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.text',
65  'config' => array(
66  'type' => 'text',
67  'cols' => '48',
68  'rows' => '5',
69  'wizards' => array(
70  'RTE' => array(
71  'notNewRecords' => 1,
72  'RTEonly' => 1,
73  'type' => 'script',
74  'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:bodytext.W.RTE',
75  'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_rte.gif',
76  'module' => array(
77  'name' => 'wizard_rte'
78  )
79  )
80  )
81  ),
82  'defaultExtras' => 'richtext:rte_transform[mode=ts_css]',
83  )
84  ),
85  'types' => array(
86  '1' => array(
87  'showitem' => 'hidden, title, content, --div--;LLL:EXT:lang/locallang_tca.xlf:sys_news.tabs.access, starttime, endtime',
88  ),
89  ),
90 );