1d7d6b9732c6253b2d83c387f58d01f2ebcfceef
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_note / Configuration / TCA / sys_note.php
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 'items' => array(
26 array('', '0', 'sysnote-type-0'),
27 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.1', '1', 'sysnote-type-1'),
28 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.3', '3', 'sysnote-type-3'),
29 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.4', '4', 'sysnote-type-4'),
30 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.2', '2', 'sysnote-type-2')
31 ),
32 'default' => '0'
33 )
34 ),
35 'subject' => array(
36 'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.subject',
37 'config' => array(
38 'type' => 'input',
39 'size' => '40',
40 'max' => '255'
41 )
42 ),
43 'message' => array(
44 'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.message',
45 'config' => array(
46 'type' => 'text',
47 'cols' => '40',
48 'rows' => '15'
49 )
50 ),
51 'personal' => array(
52 'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.personal',
53 'config' => array(
54 'type' => 'check'
55 )
56 )
57 ),
58 'types' => array(
59 '0' => array('showitem' => 'category, personal, subject, message')
60 )
61 );