"TYPO3 4.0.1: typo3_src-4.0.1/typo3/sysext/rtehtmlarea/tca.php Source File", "datetime" => "Sat Dec 2 19:22:33 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

tca.php

00001 <?php
00002 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00003 
00004 $TCA['tx_rtehtmlarea_acronym'] = Array (
00005         'ctrl' => $TCA['tx_rtehtmlarea_acronym']['ctrl'],
00006         'interface' => Array (
00007                 'showRecordFieldList' => 'hidden,sys_language_uid,term,acronym'
00008         ),
00009         'columns' => Array (
00010                 'hidden' => Array (
00011                         'exclude' => 0,
00012                         'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
00013                         'config' => Array (
00014                                 'type' => 'check',
00015                                 'default' => '0'
00016                         )
00017                 ),
00018                 'starttime' => Array (
00019                         'exclude' => 0,
00020                         "label" => "LLL:EXT:lang/locallang_general.xml:LGL.starttime",
00021                         "config" => Array (
00022                                 "type" => "input",
00023                                 "size" => "8",
00024                                 "max" => "20",
00025                                 "eval" => "date",
00026                                 "default" => "0",
00027                                 "checkbox" => "0"
00028                         )
00029                 ),
00030                 'endtime' => Array (
00031                         'exclude' => 0,
00032                         "label" => "LLL:EXT:lang/locallang_general.xml:LGL.endtime",
00033                         "config" => Array (
00034                                 "type" => "input",
00035                                 "size" => "8",
00036                                 "max" => "20",
00037                                 "eval" => "date",
00038                                 "checkbox" => "0",
00039                                 "default" => "0",
00040                                 "range" => Array (
00041                                         "upper" => mktime(0,0,0,12,31,2020),
00042                                         "lower" => mktime(0,0,0,date("m")-1,date("d"),date("Y"))
00043                                 )
00044 
00045                         )
00046                 ),
00047                 'sys_language_uid' => Array (
00048                         'exclude' => 0,
00049                         'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
00050                         'config' => Array (
00051                                 'type' => 'select',
00052                                 'foreign_table' => 'sys_language',
00053                                 'foreign_table_where' => 'ORDER BY sys_language.title',
00054                                 'items' => Array (
00055                                         Array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', '-1'),
00056                                         Array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', '0'),
00057                                 ),
00058                         )
00059                 ),
00060                 'type' => Array (               
00061                         'exclude' => 0,         
00062                         'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.type',          
00063                         'config' => Array (
00064                                 'type' => 'radio',      
00065                                 'items' => Array (
00066                                         Array('LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.type.I.0', '1'),
00067                                         Array('LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.type.I.1', '2'),
00068                                 ),
00069                         )
00070                 ),
00071                 'term' => Array (               
00072                         'exclude' => 0,         
00073                         'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.term',          
00074                         'config' => Array (
00075                                 'type' => 'input',
00076                                 'size' => '30',
00077                                 'eval' => 'trim,required',
00078                         )
00079                 ),
00080                 'acronym' => Array (            
00081                         'exclude' => 0,         
00082                         'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.acronym',               
00083                         'config' => Array (
00084                                 'type' => 'input',
00085                                 'size' => '30',
00086                                 'eval' => 'trim,required',
00087                         )
00088                 ),
00089         ),
00090         'types' => Array (
00091                 '0' => Array( 'showitem' => 'hidden;;1;;1-1-1, sys_language_uid, type, term, acronym')
00092         ),
00093         "palettes" => Array (
00094                 "1" => Array("showitem" => "starttime, endtime")
00095         )
00096 );
00097 ?>