TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
sys_note.php
Go to the documentation of this file.
1 <?php
2 return [
3  'ctrl' => [
4  'label' => 'subject',
5  'default_sortby' => 'ORDER BY crdate',
6  'tstamp' => 'tstamp',
7  'crdate' => 'crdate',
8  'cruser_id' => 'cruser',
9  'prependAtCopy' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.prependAtCopy',
10  'delete' => 'deleted',
11  'title' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note',
12  'typeicon_classes' => [
13  'default' => 'mimetypes-x-sys_note'
14  ],
15  'sortby' => 'sorting'
16  ],
17  'interface' => [
18  'showRecordFieldList' => 'category,subject,message,personal'
19  ],
20  'columns' => [
21  'category' => [
22  'label' => 'LLL:EXT:lang/Resources/Private/Language/locallang_general.xlf:LGL.category',
23  'config' => [
24  'type' => 'select',
25  'renderType' => 'selectSingle',
26  'items' => [
27  ['', '0', 'sysnote-type-0'],
28  ['LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.1', '1', 'sysnote-type-1'],
29  ['LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.3', '3', 'sysnote-type-3'],
30  ['LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.4', '4', 'sysnote-type-4'],
31  ['LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.2', '2', 'sysnote-type-2']
32  ],
33  'default' => 0,
34  'showIconTable' => true,
35  ]
36  ],
37  'subject' => [
38  'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.subject',
39  'config' => [
40  'type' => 'input',
41  'size' => 40,
42  'max' => 255
43  ]
44  ],
45  'message' => [
46  'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.message',
47  'config' => [
48  'type' => 'text',
49  'cols' => 40,
50  'rows' => '15'
51  ]
52  ],
53  'personal' => [
54  'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.personal',
55  'config' => [
56  'type' => 'check'
57  ]
58  ]
59  ],
60  'types' => [
61  '0' => ['showitem' => '
62  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:general,
63  category, subject,message,
64  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:access,
65  personal,
66  --div--;LLL:EXT:core/Resources/Private/Language/Form/locallang_tabs.xlf:extended,
67  ']
68  ]
69 ];