[BUGFIX] Reduce spacing CGL violations in /typo3/sysext/
[Packages/TYPO3.CMS.git] / typo3 / sysext / sys_note / ext_tables.php
1 <?php
2 if (!defined ('TYPO3_MODE')) die ('Access denied.');
3
4 if (TYPO3_MODE=='BE') {
5 $TCA['sys_note'] = Array (
6 'ctrl' => Array (
7 'label' => 'subject',
8 'default_sortby' => 'ORDER BY crdate',
9 'tstamp' => 'tstamp',
10 'crdate' => 'crdate',
11 'cruser_id' => 'cruser',
12 'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
13 'delete' => 'deleted',
14 'title' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note',
15 'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
16 ),
17 'interface' => Array (
18 'showRecordFieldList' => 'category,subject,message,author,email,personal'
19 ),
20 'columns' => Array (
21 'category' => Array (
22 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.category',
23 'config' => Array (
24 'type' => 'select',
25 'items' => Array (
26 Array('', '0'),
27 Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.1', '1'),
28 Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.2', '3'),
29 Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.3', '4'),
30 Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.4', '2')
31 ),
32 'default' => '0'
33 )
34 ),
35 'subject' => Array (
36 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.subject',
37 'config' => Array (
38 'type' => 'input',
39 'size' => '40',
40 'max' => '256'
41 )
42 ),
43 'message' => Array (
44 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.message',
45 'config' => Array (
46 'type' => 'text',
47 'cols' => '40',
48 'rows' => '15'
49 )
50 ),
51 'author' => Array (
52 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
53 'config' => Array (
54 'type' => 'input',
55 'size' => '20',
56 'eval' => 'trim',
57 'max' => '80'
58 )
59 ),
60 'email' => Array (
61 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
62 'config' => Array (
63 'type' => 'input',
64 'size' => '20',
65 'eval' => 'trim',
66 'max' => '80'
67 )
68 ),
69 'personal' => Array (
70 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.personal',
71 'config' => Array (
72 'type' => 'check'
73 )
74 )
75 ),
76 'types' => Array (
77 '0' => Array('showitem' => 'category;;;;2-2-2, author, email, personal, subject;;;;3-3-3, message')
78 )
79 );
80
81 t3lib_extMgm::allowTableOnStandardPages('sys_note');
82 }
83
84 t3lib_extMgm::addLLrefForTCAdescr('sys_note','EXT:sys_note/locallang_csh_sysnote.xml');
85 ?>