[FOLLOWUP][TASK] Move sys_note icons from EXT:t3skin to EXT:sys_note
[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 'iconfile' => 'EXT:sys_note/ext_icon.png',
13 'sortby' => 'sorting',
14 ),
15 'interface' => array(
16 'showRecordFieldList' => 'category,subject,message,personal'
17 ),
18 'columns' => array(
19 'category' => array(
20 'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.category',
21 'config' => array(
22 'type' => 'select',
23 'items' => array(
24 array('', '0'),
25 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.1', '1', 'sysext/sys_note/Resources/Public/Icons/instruction.png'),
26 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.3', '3', 'sysext/sys_note/Resources/Public/Icons/note.png'),
27 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.4', '4', 'sysext/sys_note/Resources/Public/Icons/todo.png'),
28 array('LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.category.I.2', '2', 'sysext/sys_note/Resources/Public/Icons/template.png')
29 ),
30 'default' => '0'
31 )
32 ),
33 'subject' => array(
34 'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.subject',
35 'config' => array(
36 'type' => 'input',
37 'size' => '40',
38 'max' => '256'
39 )
40 ),
41 'message' => array(
42 'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.message',
43 'config' => array(
44 'type' => 'text',
45 'cols' => '40',
46 'rows' => '15'
47 )
48 ),
49 'personal' => array(
50 'label' => 'LLL:EXT:sys_note/Resources/Private/Language/locallang_tca.xlf:sys_note.personal',
51 'config' => array(
52 'type' => 'check'
53 )
54 )
55 ),
56 'types' => array(
57 '0' => array('showitem' => 'category, personal, subject, message')
58 )
59 );