tx_terfe2_domain_model_extension.php 8.56 KB
Newer Older
1
<?php
2
3
return [
    'ctrl' => [
4
        'title' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension',
5
6
7
8
9
        'label' => 'ext_key',
        'searchFields' => 'ext_key',
        'tstamp' => 'tstamp',
        'crdate' => 'crdate',
        'delete' => 'deleted',
10
        'enablecolumns' => [
11
            'disabled' => 'hidden'
12
        ],
13
        'iconfile' => 'EXT:ter_fe2/Resources/Public/Icons/extension.gif',
14
15
    ],
    'interface' => [
16
        'showRecordFieldList' => 'ext_key,forge_link,last_update,last_maintained,tags,versions,last_version,frontend_user,downloads,composer_name,repository_url,paypal_url,external_manual,expire,security_team_notice,localization_status,crowdin_key',
17
18
    ],
    'types' => [
19
        '1' => ['showitem' => 'ext_key,forge_link,last_update,last_maintained,tags,versions,last_version,frontend_user,downloads,composer_name,repository_url,paypal_url,external_manual,security_team_notice,expire,localization_status,crowdin_key'],
20
21
22
23
24
25
    ],
    'palettes' => [
        '1' => ['showitem' => ''],
    ],
    'columns' => [
        'hidden' => [
26
27
            'exclude' => 1,
            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
28
            'config' => [
29
                'type' => 'check',
30
31
32
            ],
        ],
        'crdate' => [
33
34
            'exclude' => 1,
            'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.crdate',
35
            'config' => [
36
37
                'type' => 'input',
                'eval' => 'date'
38
39
40
            ],
        ],
        'ext_key' => [
41
            'exclude' => 1,
42
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.ext_key',
43
            'config' => [
44
45
46
                'type' => 'input',
                'size' => 30,
                'eval' => 'trim,required',
47
48
49
            ],
        ],
        'forge_link' => [
50
            'exclude' => 1,
51
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.forge_link',
52
            'config' => [
53
54
55
                'type' => 'input',
                'size' => 30,
                'eval' => 'trim',
56
57
58
            ],
        ],
        'composer_name' => [
59
60
            'exclude' => 1,
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.composer_name',
61
            'config' => [
62
                'type' => 'input',
63
                'size' => 60,
64
                'eval' => 'trim',
65
66
67
            ],
        ],
        'last_upload' => [
68
            'exclude' => 1,
69
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.last_upload',
70
            'config' => [
71
72
73
74
75
                'type' => 'input',
                'size' => 12,
                'max' => 20,
                'eval' => 'datetime',
                'default' => '0',
76
77
78
            ],
        ],
        'last_maintained' => [
79
            'exclude' => 1,
80
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.last_maintained',
81
            'config' => [
82
83
84
85
86
                'type' => 'input',
                'size' => 12,
                'max' => 20,
                'eval' => 'datetime',
                'default' => '0',
87
88
89
            ],
        ],
        'tags' => [
90
            'exclude' => 1,
91
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.tags',
92
            'config' => [
93
94
95
96
97
98
99
100
101
                'type' => 'select',
                'size' => 3,
                'minitems' => 0,
                'maxitems' => 9999,
                'autoSizeMax' => 10,
                'multiple' => 0,
                'foreign_table' => 'tx_terfe2_domain_model_tag',
                'MM' => 'tx_terfe2_extension_tag_mm',
                'MM_opposite_field' => 'extensions',
102
103
104
            ],
        ],
        'versions' => [
105
            'exclude' => 1,
106
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.versions',
107
            'config' => [
108
109
110
111
                'type' => 'inline',
                'foreign_table' => 'tx_terfe2_domain_model_version',
                'foreign_field' => 'extension',
                'maxitems' => 9999,
112
                'appearance' => [
113
114
                    'collapse' => 0,
                    'newRecordLinkPosition' => 'bottom',
115
116
117
118
                ],
            ],
        ],
        'last_version' => [
119
            'exclude' => 1,
120
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.last_version',
121
            'config' => [
122
123
124
                'type' => 'inline',
                'foreign_table' => 'tx_terfe2_domain_model_version',
                'maxitems' => 1,
125
126
127
            ],
        ],
        'frontend_user' => [
128
            'exclude' => 1,
129
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.frontend_user',
130
            'config' => [
131
132
133
                'type' => 'input',
                'size' => 40,
                'eval' => 'trim'
134
135
136
            ],
        ],
        'downloads' => [
137
            'exclude' => 1,
138
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.downloads',
139
            'config' => [
140
141
142
                'type' => 'input',
                'size' => 5,
                'eval' => 'trim',
143
144
145
            ],
        ],
        'repository_url' => [
146
            'exclude' => 1,
147
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.repository_url',
148
            'config' => [
149
150
151
152
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
153
154
155
            ],
        ],
        'external_manual' => [
156
            'exclude' => 1,
157
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.external_manual',
158
            'config' => [
159
160
161
162
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
163
164
165
            ],
        ],
        'paypal_url' => [
166
            'exclude' => 1,
167
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.paypal_url',
168
            'config' => [
169
170
171
172
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
173
174
175
            ],
        ],
        'expire' => [
176
            'exclude' => 1,
177
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.expire',
178
            'config' => [
179
                'type' => 'none',
180
181
                'format' => 'datetime',
                'default' => 0,
182
183
            ],
        ],
Thomas Löffler's avatar
Thomas Löffler committed
184
185
186
187
188
189
190
191
192
        'likes' => [
            'exclude' => 1,
            'label' => 'Likes from users',
            'config' => [
                'type' => 'select',
                'renderType' => 'selectMultipleSideBySide',
                'foreign_table' => 'fe_users',
                'MM' => 'tx_terfe2_extension_feuser_mm'
            ]
193
194
195
196
197
198
199
200
201
202
        ],
        'notifications' => [
            'exclude' => 1,
            'label' => 'Notifications for users',
            'config' => [
                'type' => 'select',
                'renderType' => 'selectMultipleSideBySide',
                'foreign_table' => 'fe_users',
                'MM' => 'tx_terfe2_extension_feuser_notification_mm'
            ]
203
204
205
206
207
208
209
210
211
212
213
        ],
        'security_team_notice' => [
            'exclude' => 1,
            'label' => 'Security Team Notice',
            'config' => [
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
            ],
        ],
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
        'localization_status' => [
            'exclude' => 1,
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.localization_status',
            'config' => [
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'readOnly' => true
            ],
        ],
        'crowdin_key' => [
            'exclude' => 1,
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.crowdin_key',
            'config' => [
                'type' => 'input',
                'size' => 30,
                'readOnly' => true
            ],
        ]
233
234
    ],
];