ext_tables.php

Go to the documentation of this file.
00001 <?php
00002 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00003 
00004 if (TYPO3_MODE=='BE')   {
00005     $TCA['sys_note'] = Array (
00006         'ctrl' => Array (
00007             'label' => 'subject',
00008             'default_sortby' => 'ORDER BY crdate',
00009             'tstamp' => 'tstamp',
00010             'crdate' => 'crdate',
00011             'cruser_id' => 'cruser',
00012             'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
00013             'delete' => 'deleted',
00014             'title' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note',
00015             'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'ext_icon.gif',
00016         ),
00017         'interface' => Array (
00018             'showRecordFieldList' => 'category,subject,message,author,email,personal'
00019         ),
00020         'columns' => Array (
00021             'category' => Array (
00022                 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.category',
00023                 'config' => Array (
00024                     'type' => 'select',
00025                     'items' => Array (
00026                         Array('', '0'),
00027                         Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.1', '1'),
00028                         Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.2', '3'),
00029                         Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.3', '4'),
00030                         Array('LLL:EXT:sys_note/locallang_tca.php:sys_note.category.I.4', '2')
00031                     ),
00032                     'default' => '0'
00033                 )
00034             ),
00035             'subject' => Array (
00036                 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.subject',
00037                 'config' => Array (
00038                     'type' => 'input',
00039                     'size' => '40',
00040                     'max' => '256'
00041                 )
00042             ),
00043             'message' => Array (
00044                 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.message',
00045                 'config' => Array (
00046                     'type' => 'text',
00047                     'cols' => '40',
00048                     'rows' => '15'
00049                 )
00050             ),
00051             'author' => Array (
00052                 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.author',
00053                 'config' => Array (
00054                     'type' => 'input',
00055                     'size' => '20',
00056                     'eval' => 'trim',
00057                     'max' => '80'
00058                 )
00059             ),
00060             'email' => Array (
00061                 'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
00062                 'config' => Array (
00063                     'type' => 'input',
00064                     'size' => '20',
00065                     'eval' => 'trim',
00066                     'max' => '80'
00067                 )
00068             ),
00069             'personal' => Array (
00070                 'label' => 'LLL:EXT:sys_note/locallang_tca.php:sys_note.personal',
00071                 'config' => Array (
00072                     'type' => 'check'
00073                 )
00074             )
00075         ),
00076         'types' => Array (
00077             '0' => Array('showitem' => 'category;;;;2-2-2, author, email, personal, subject;;;;3-3-3, message')
00078         )
00079     );
00080 
00081     t3lib_extMgm::allowTableOnStandardPages('sys_note');
00082 }
00083 
00084 t3lib_extMgm::addLLrefForTCAdescr('sys_note','EXT:sys_note/locallang_csh_sysnote.xml');
00085 ?>

Generated on Sat Sep 4 04:17:13 2010 for TYPO3 API by  doxygen 1.4.7