00001 <?php
00002
00003
00004
00005
00006 $TCA['static_template'] = array(
00007 'ctrl' => $TCA['static_template']['ctrl'],
00008 'interface' => array(
00009 'showRecordFieldList' => 'title,include_static,description'
00010 ),
00011 'columns' => array(
00012 'title' => array(
00013 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.title',
00014 'config' => array(
00015 'type' => 'input',
00016 'size' => '25',
00017 'max' => '256',
00018 'eval' => 'required'
00019 )
00020 ),
00021 'constants' => array(
00022 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.constants',
00023 'config' => array(
00024 'type' => 'text',
00025 'cols' => '48',
00026 'rows' => '10',
00027 'wrap' => 'OFF'
00028 ),
00029 'defaultExtras' => 'fixed-font: enable-tab',
00030 ),
00031 'include_static' => array(
00032 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.include_static',
00033 'config' => array(
00034 'type' => 'select',
00035 'foreign_table' => 'static_template',
00036 'foreign_table_where' => 'ORDER BY static_template.title',
00037 'size' => 10,
00038 'maxitems' => 20,
00039 'default' => ''
00040 )
00041 ),
00042 'config' => array(
00043 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.config',
00044 'config' => array(
00045 'type' => 'text',
00046 'rows' => 10,
00047 'cols' => 48,
00048 'wrap' => 'OFF'
00049 ),
00050 'defaultExtras' => 'fixed-font: enable-tab',
00051 ),
00052 'editorcfg' => array(
00053 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.editorcfg',
00054 'config' => array(
00055 'type' => 'text',
00056 'rows' => 4,
00057 'cols' => 48,
00058 'wrap' => 'OFF'
00059 ),
00060 'defaultExtras' => 'fixed-font: enable-tab',
00061 ),
00062 'description' => array(
00063 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.description',
00064 'config' => array(
00065 'type' => 'text',
00066 'rows' => 10,
00067 'cols' => 48
00068 )
00069 )
00070 ),
00071 'types' => array(
00072 '1' => array('showitem' => 'title;;;;2-2-2, constants;;;;3-3-3, config, include_static;;;;5-5-5, description;;;;5-5-5, editorcfg')
00073 )
00074 );
00075
00076
00077 ?>