[BUGFIX] EM: reduce prominence of state column
[Packages/TYPO3.CMS.git] / typo3 / sysext / statictemplates / tca.php
1 <?php
2 // static_template
3 $TCA['static_template'] = array(
4 'ctrl' => $TCA['static_template']['ctrl'],
5 'interface' => array(
6 'showRecordFieldList' => 'title,include_static,description'
7 ),
8 'columns' => array(
9 'title' => array(
10 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.title',
11 'config' => array(
12 'type' => 'input',
13 'size' => '25',
14 'max' => '256',
15 'eval' => 'required'
16 )
17 ),
18 'constants' => array(
19 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.constants',
20 'config' => array(
21 'type' => 'text',
22 'cols' => '48',
23 'rows' => '10',
24 'wrap' => 'OFF'
25 ),
26 'defaultExtras' => 'fixed-font: enable-tab'
27 ),
28 'include_static' => array(
29 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.include_static',
30 'config' => array(
31 'type' => 'select',
32 'foreign_table' => 'static_template',
33 'foreign_table_where' => 'ORDER BY static_template.title',
34 'size' => 10,
35 'maxitems' => 20,
36 'default' => ''
37 )
38 ),
39 'config' => array(
40 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.config',
41 'config' => array(
42 'type' => 'text',
43 'rows' => 10,
44 'cols' => 48,
45 'wrap' => 'OFF'
46 ),
47 'defaultExtras' => 'fixed-font: enable-tab'
48 ),
49 'description' => array(
50 'label' => 'LLL:EXT:statictemplates/locallang_tca.xml:static_template.description',
51 'config' => array(
52 'type' => 'text',
53 'rows' => 10,
54 'cols' => 48
55 )
56 )
57 ),
58 'types' => array(
59 '1' => array('showitem' => 'title;;;;2-2-2, constants;;;;3-3-3, config, include_static;;;;5-5-5, description;;;;5-5-5')
60 )
61 );
62 ?>