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