TYPO3  7.6
sys_note.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'label' => 'subject',
5  'default_sortby' => 'ORDER BY crdate',
6  'tstamp' => 'tstamp',
7  'crdate' => 'crdate',
8  'cruser_id' => 'cruser',
9  'prependAtCopy' => 'LLL:EXT:lang/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' => array(
13  'default' => 'mimetypes-x-sys_note'
14  ),
15  'sortby' => 'sorting'
16  ),
17  'interface' => array(
18  'showRecordFieldList' => 'category,subject,message,personal'
19  ),
20  'columns' => array(
21  'category' => array(
22  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.category',
23  'config' => array(
24  'type' => 'select',
25  'renderType' => 'selectSingle',
26  'items' => array(
27  array('', '0', 'sysnote-type-0'),
28  array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.1', '1', 'sysnote-type-1'),
29  array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.3', '3', 'sysnote-type-3'),
30  array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.4', '4', 'sysnote-type-4'),
31  array('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' => array(
38  'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.subject',
39  'config' => array(
40  'type' => 'input',
41  'size' => '40',
42  'max' => '255'
43  )
44  ),
45  'message' => array(
46  'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.message',
47  'config' => array(
48  'type' => 'text',
49  'cols' => '40',
50  'rows' => '15'
51  )
52  ),
53  'personal' => array(
54  'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.personal',
55  'config' => array(
56  'type' => 'check'
57  )
58  )
59  ),
60  'types' => array(
61  '0' => array('showitem' => 'category, personal, subject, message')
62  )
63 );