-
Notifications
You must be signed in to change notification settings - Fork 34
/
ext_localconf.php
92 lines (85 loc) · 4.43 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
defined('TYPO3') || die('Access denied.');
call_user_func(function () {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools::class]['flexParsing']['filefill'] =
\IchHabRecht\Filefill\Hooks\FlexFormToolsHook::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['filefill_missing'] =
\IchHabRecht\Filefill\Hooks\ResetMissingFiles::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['filefill_delete'] =
\IchHabRecht\Filefill\Hooks\DeleteFiles::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1583747569] = [
'nodeName' => 'showMissingFiles',
'priority' => 40,
'class' => \IchHabRecht\Filefill\Form\Element\ShowMissingFiles::class,
];
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'][1583933371] = [
'nodeName' => 'showDeleteFiles',
'priority' => 40,
'class' => \IchHabRecht\Filefill\Form\Element\ShowDeleteFiles::class,
];
if (empty($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['resourceHandler'])) {
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['resourceHandler'] = [];
}
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['resourceHandler'] = array_merge(
[
'domain' => [
'title' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.domain',
'config' => [
'label' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.url',
'config' => [
'type' => 'input',
'eval' => 'required',
],
],
'handler' => \IchHabRecht\Filefill\Resource\Handler\DomainResource::class,
],
'sys_domain' => [
'title' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.sys_domain',
'config' => [
'label' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.sys_domain',
'config' => [
'type' => 'check',
'default' => '1',
],
],
'handler' => \IchHabRecht\Filefill\Resource\Handler\SysDomainResource::class,
],
'imagebuilder' => [
'title' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.imagebuilder',
'config' => [
'label' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.colors',
'config' => [
'type' => 'input',
'eval' => 'required',
'default' => '#FFFFFF, #000000',
],
],
'handler' => \IchHabRecht\Filefill\Resource\Handler\ImageBuilderResource::class,
],
'placeholder' => [
'title' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.placeholder_com',
'config' => [
'label' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.placeholder_com',
'config' => [
'type' => 'check',
'default' => '1',
],
],
'handler' => \IchHabRecht\Filefill\Resource\Handler\PlaceholderResource::class,
],
'static' => [
'title' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.static',
'config' => [
'label' => 'LLL:EXT:filefill/Resources/Private/Language/locallang_db.xlf:sys_file_storage.filefill.static',
'config' => [
'type' => 'text',
'rows' => 5,
'cols' => 30,
],
],
'handler' => \IchHabRecht\Filefill\Resource\Handler\StaticFileResource::class,
],
],
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['resourceHandler']
);
});