tx_terfe2_domain_model_extension.php 8.96 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,last_download_sync',
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,last_download_sync'],
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
                'type' => 'select',
94
                'renderType' => 'selectSingleBox',
95
96
97
98
99
100
101
102
                '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',
103
104
105
            ],
        ],
        'versions' => [
106
            'exclude' => 1,
107
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.versions',
108
            'config' => [
109
110
111
112
                'type' => 'inline',
                'foreign_table' => 'tx_terfe2_domain_model_version',
                'foreign_field' => 'extension',
                'maxitems' => 9999,
113
                'appearance' => [
114
115
                    'collapse' => 0,
                    'newRecordLinkPosition' => 'bottom',
116
117
118
119
                ],
            ],
        ],
        'last_version' => [
120
            'exclude' => 1,
121
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.last_version',
122
            'config' => [
123
124
125
                'type' => 'inline',
                'foreign_table' => 'tx_terfe2_domain_model_version',
                'maxitems' => 1,
126
127
128
            ],
        ],
        'frontend_user' => [
129
            'exclude' => 1,
130
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.frontend_user',
131
            'config' => [
132
133
134
                'type' => 'input',
                'size' => 40,
                'eval' => 'trim'
135
136
137
            ],
        ],
        'downloads' => [
138
            'exclude' => 1,
139
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.downloads',
140
            'config' => [
141
142
143
                'type' => 'input',
                'size' => 5,
                'eval' => 'trim',
144
145
146
            ],
        ],
        'repository_url' => [
147
            'exclude' => 1,
148
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.repository_url',
149
            'config' => [
150
151
152
153
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
154
155
156
            ],
        ],
        'external_manual' => [
157
            'exclude' => 1,
158
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.external_manual',
159
            'config' => [
160
161
162
163
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
164
165
166
            ],
        ],
        'paypal_url' => [
167
            'exclude' => 1,
168
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.paypal_url',
169
            'config' => [
170
171
172
173
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
174
175
176
            ],
        ],
        'expire' => [
177
            'exclude' => 1,
178
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.expire',
179
            'config' => [
180
                'type' => 'none',
181
182
                'format' => 'datetime',
                'default' => 0,
183
184
            ],
        ],
Thomas Löffler's avatar
Thomas Löffler committed
185
186
187
188
189
190
191
192
193
        'likes' => [
            'exclude' => 1,
            'label' => 'Likes from users',
            'config' => [
                'type' => 'select',
                'renderType' => 'selectMultipleSideBySide',
                'foreign_table' => 'fe_users',
                'MM' => 'tx_terfe2_extension_feuser_mm'
            ]
194
195
196
197
198
199
200
201
202
203
        ],
        'notifications' => [
            'exclude' => 1,
            'label' => 'Notifications for users',
            'config' => [
                'type' => 'select',
                'renderType' => 'selectMultipleSideBySide',
                'foreign_table' => 'fe_users',
                'MM' => 'tx_terfe2_extension_feuser_notification_mm'
            ]
204
205
206
207
208
209
210
211
212
213
214
        ],
        'security_team_notice' => [
            'exclude' => 1,
            'label' => 'Security Team Notice',
            'config' => [
                'type' => 'text',
                'rows' => 10,
                'cols' => 40,
                'eval' => 'trim',
            ],
        ],
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
235
236
237
238
239
240
        ],
        'last_download_sync' => [
            'exclude' => 1,
            'label' => 'LLL:EXT:ter_fe2/Resources/Private/Language/locallang_db.xlf:tx_terfe2_domain_model_extension.last_download_sync',
            'config' => [
                'type' => 'input',
                'eval' => 'date'
            ],
241
        ]
242
243
    ],
];