TYPO3 CMS  TYPO3_6-2
sys_domain.php
Go to the documentation of this file.
1 <?php
2 return array(
3  'ctrl' => array(
4  'label' => 'domainName',
5  'tstamp' => 'tstamp',
6  'crdate' => 'crdate',
7  'cruser_id' => 'cruser_id',
8  'sortby' => 'sorting',
9  'title' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain',
10  'iconfile' => 'domain.gif',
11  'enablecolumns' => array(
12  'disabled' => 'hidden'
13  ),
14  'typeicon_classes' => array(
15  'default' => 'mimetypes-x-content-domain'
16  ),
17  'searchFields' => 'domainName,redirectTo'
18  ),
19  'interface' => array(
20  'showRecordFieldList' => 'hidden,domainName,redirectTo'
21  ),
22  'columns' => array(
23  'domainName' => array(
24  'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.domainName',
25  'config' => array(
26  'type' => 'input',
27  'size' => '35',
28  'max' => '80',
29  'eval' => 'required,unique,lower,trim,domainname',
30  'softref' => 'substitute'
31  )
32  ),
33  'redirectTo' => array(
34  'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectTo',
35  'config' => array(
36  'type' => 'input',
37  'size' => '35',
38  'max' => '255',
39  'default' => '',
40  'eval' => 'trim',
41  'softref' => 'substitute'
42  )
43  ),
44  'redirectHttpStatusCode' => array(
45  'exclude' => 1,
46  'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode',
47  'config' => array(
48  'type' => 'select',
49  'items' => array(
50  array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.301', '301'),
51  array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.302', '302'),
52  array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.303', '303'),
53  array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.307', '307')
54  ),
55  'size' => 1,
56  'maxitems' => 1
57  )
58  ),
59  'hidden' => array(
60  'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
61  'exclude' => 1,
62  'config' => array(
63  'type' => 'check',
64  'default' => '0'
65  )
66  ),
67  'prepend_params' => array(
68  'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.prepend_params',
69  'exclude' => 1,
70  'config' => array(
71  'type' => 'check',
72  'default' => '0'
73  )
74  ),
75  'forced' => array(
76  'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.forced',
77  'exclude' => 1,
78  'config' => array(
79  'type' => 'check',
80  'default' => '0'
81  )
82  )
83  ),
84  'types' => array(
85  '1' => array('showitem' => 'hidden;;;;1-1-1,domainName;;1;;3-3-3,prepend_params,forced;;;;4-4-4')
86  ),
87  'palettes' => array(
88  '1' => array('showitem' => 'redirectTo, redirectHttpStatusCode')
89  )
90 );