|
TYPO3 API
SVNRelease
|
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' => 1, 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.1', '2'), 00067 Array('LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.type.I.0', '1'), 00068 ), 00069 'default' => '2', 00070 ) 00071 ), 00072 'term' => Array ( 00073 'exclude' => 0, 00074 'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.term', 00075 'config' => Array ( 00076 'type' => 'input', 00077 'size' => '30', 00078 'eval' => 'trim,required', 00079 ) 00080 ), 00081 'acronym' => Array ( 00082 'exclude' => 0, 00083 'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.acronym', 00084 'config' => Array ( 00085 'type' => 'input', 00086 'size' => '30', 00087 'eval' => 'trim,required', 00088 ) 00089 ), 00090 'static_lang_isocode' => Array ( 00091 'exclude' => 0, 00092 'label' => 'LLL:EXT:rtehtmlarea/locallang_db.xml:tx_rtehtmlarea_acronym.static_lang_isocode', 00093 'displayCond' => 'EXT:static_info_tables:LOADED:true', 00094 'config' => array( 00095 'type' => 'select', 00096 'items' => array( 00097 array('', 0), 00098 ), 00099 'itemsProcFunc' => 'tx_staticinfotables_div->selectItemsTCA', 00100 'itemsProcFunc_config' => array( 00101 'table' => 'static_languages', 00102 'indexField' => 'uid', 00103 'prependHotlist' => 1, 00104 ), 00105 'size' => 1, 00106 'minitems' => 0, 00107 'maxitems' => 1, 00108 ) 00109 ), 00110 ), 00111 'types' => Array ( 00112 '0' => Array( 'showitem' => 'hidden;;1;;1-1-1, sys_language_uid, type, term, acronym, static_lang_isocode') 00113 ), 00114 "palettes" => Array ( 00115 "1" => Array("showitem" => "starttime, endtime") 00116 ) 00117 ); 00118 ?>
1.8.0