TYPO3  7.6
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:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain',
10  'enablecolumns' => array(
11  'disabled' => 'hidden'
12  ),
13  'typeicon_classes' => array(
14  'default' => 'mimetypes-x-content-domain'
15  ),
16  'searchFields' => 'domainName,redirectTo'
17  ),
18  'interface' => array(
19  'showRecordFieldList' => 'hidden,domainName,redirectTo'
20  ),
21  'columns' => array(
22  'domainName' => array(
23  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.domainName',
24  'config' => array(
25  'type' => 'input',
26  'size' => '35',
27  'max' => '80',
28  'eval' => 'required,unique,lower,trim,domainname',
29  'softref' => 'substitute'
30  )
31  ),
32  'redirectTo' => array(
33  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectTo',
34  'config' => array(
35  'type' => 'input',
36  'size' => '35',
37  'max' => '255',
38  'default' => '',
39  'eval' => 'trim',
40  'softref' => 'substitute'
41  )
42  ),
43  'redirectHttpStatusCode' => array(
44  'exclude' => 1,
45  'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode',
46  'config' => array(
47  'type' => 'select',
48  'renderType' => 'selectSingle',
49  'items' => array(
50  array('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.301', '301'),
51  array('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.302', '302'),
52  array('LLL:EXT:frontend/Resources/Private/Language/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.303', '303'),
53  array('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' => 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:frontend/Resources/Private/Language/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:frontend/Resources/Private/Language/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(
86  'showitem' => 'hidden, domainName, --palette--;;1, prepend_params, forced',
87  ),
88  ),
89  'palettes' => array(
90  '1' => array(
91  'showitem' => 'redirectTo, redirectHttpStatusCode',
92  ),
93  )
94 );