-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata.php
executable file
·99 lines (99 loc) · 6.9 KB
/
metadata.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
93
94
95
96
97
98
99
<?php
$sMetadataVersion = '2.0';
$aModule = [
'id' => 'endereco-oxid6-client',
'title' => 'Endereco Adress-Services für Oxid',
'description' => 'Kundenstammdaten-Validierung und Korrekturvorschläge.',
'thumbnail' => 'endereco.png',
'version' => '4.5.1',
'author' => 'Endereco UG (Haftungsbeschränkt) - Gesellschaft für Master Data Quality Management',
'email' => '[email protected]',
'url' => 'https://www.endereco.de',
'blocks' => [
[
'template' => 'layout/base.tpl',
'block' => 'base_js',
'file' => '/application/views/agent-include.tpl',
],
[
'template' => 'form/fieldset/user_billing.tpl',
'block' => 'form_user_billing_country',
'file' => '/application/views/hidden_fields/endereco_form_user_billing_country.tpl',
],
[
'template' => 'form/fieldset/user_shipping.tpl',
'block' => 'form_user_shipping_country',
'file' => '/application/views/hidden_fields/endereco_form_user_shipping_country.tpl',
],
[
'template' => 'form/fieldset/user_noaccount.tpl',
'block' => 'user_noaccount_email',
'file' => '/application/views/hidden_fields/endereco_form_user_noaccount.tpl',
],
[
'template' => 'form/fieldset/user_account.tpl',
'block' => 'user_account_username',
'file' => '/application/views/hidden_fields/endereco_form_user_account.tpl',
],
[
'template' => 'page/checkout/order.tpl',
'block' => 'checkout_order_address',
'file' => '/application/views/hidden_fields/endereco_checkout_checkout_order_address.tpl',
],
[
'template' => 'layout/base.tpl',
'block' => 'head_meta_robots',
'file' => '/application/views/globalfilters.tpl',
],
],
'controllers' => [
'enderecoconfig' => \Endereco\Oxid6Client\Widget\IncludeConfigWidget::class,
'enderecocolor' => \Endereco\Oxid6Client\Widget\IncludeColorWidget::class,
'enderecosettings' => \Endereco\Oxid6Client\Controller\Admin\Settings::class,
'enderecosaveaddress' => \Endereco\Oxid6Client\Controller\AddressController::class,
],
'extend' => [
\OxidEsales\Eshop\Application\Model\User\UserUpdatableFields::class => \Endereco\Oxid6Client\Model\User\UserUpdatableFields::class,
\OxidEsales\Eshop\Application\Model\User\UserShippingAddressUpdatableFields::class => \Endereco\Oxid6Client\Model\User\UserShippingAddressUpdatableFields::class,
\OxidEsales\Eshop\Application\Component\UserComponent::class => \Endereco\Oxid6Client\Controller\UserComponent::class,
\OxidEsales\Eshop\Application\Controller\OrderController::class => \Endereco\Oxid6Client\Controller\OrderController::class,
],
'templates' => [
'enderecocolor.tpl' => 'endereco/endereco-oxid6-client/application/views/enderecocolor.tpl',
'enderecoconfig_default.tpl' => 'endereco/endereco-oxid6-client/application/configs/enderecoconfig_default.tpl',
'enderecoconfig_flow.tpl' => 'endereco/endereco-oxid6-client/application/configs/enderecoconfig_flow.tpl',
'enderecoconfig_wave.tpl' => 'endereco/endereco-oxid6-client/application/configs/enderecoconfig_wave.tpl',
'enderecoconfig_azure.tpl' => 'endereco/endereco-oxid6-client/application/configs/enderecoconfig_azure.tpl',
'endereco_settings.tpl' => 'endereco/endereco-oxid6-client/application/views/admin/tpl/endereco_settings.tpl',
],
'events' => [
'onActivate' => '\Endereco\Oxid6Client\Installer\Installer::onActivate',
],
'settings' => [
['group' => 'ACCESS', 'name' => 'sAPIKEY', 'type' => 'str', 'value' => ''],
['group' => 'ACCESS', 'name' => 'sSERVICEURL', 'type' => 'str', 'value' => 'https://endereco-service.de/rpc/v1'],
['group' => 'AMS', 'name' => 'bPreselectCountry', 'type' => 'bool', 'value' => false],
['group' => 'AMS', 'name' => 'sPreselectableCountries', 'type' => 'select', 'value' => 'de', 'constraints' => 'de|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bl|bm|bn|bo|bq|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|dj|dk|dm|do|dz|ec|ee|eg|eh|er|es|et|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mf|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw', 'position' => 3],
['group' => 'AMS', 'name' => 'sUSEAMS', 'type' => 'bool', 'value' => true],
['group' => 'AMS', 'name' => 'sCHECKALL', 'type' => 'bool', 'value' => true],
['group' => 'AMS', 'name' => 'sCHECKPAYPAL', 'type' => 'bool', 'value' => false],
['group' => 'AMS', 'name' => 'sAMSBLURTRIGGER', 'type' => 'bool', 'value' => 'true'],
['group' => 'AMS', 'name' => 'sAMSResumeSubmit', 'type' => 'bool', 'value' => 'true'],
['group' => 'AMS', 'name' => 'sSMARTFILL', 'type' => 'bool', 'value' => 'true'],
['group' => 'AMS', 'name' => 'bChangeFieldsOrder', 'type' => 'bool', 'value' => 'true'],
['group' => 'AMS', 'name' => 'bAllowCloseModal', 'type' => 'bool', 'value' => 'true'],
['group' => 'AMS', 'name' => 'bConfirmWithCheckbox', 'type' => 'bool', 'value' => 'false'],
['group' => 'EmailServices', 'name' => 'bUseEmailservice', 'type' => 'bool', 'value' => true],
['group' => 'EmailServices', 'name' => 'bShowEmailserviceErrors', 'type' => 'bool', 'value' => true],
['group' => 'PersonalService', 'name' => 'bUsePersonalService', 'type' => 'bool', 'value' => true],
['group' => 'PersonalService', 'name' => 'bCorrectTranspositionedNames', 'type' => 'bool', 'value' => false],
['group' => 'VISUAL', 'name' => 'bUseCss', 'type' => 'bool', 'value' => 'true'],
['group' => 'VISUAL', 'name' => 'sMainColor', 'type' => 'str', 'value' => ''],
['group' => 'VISUAL', 'name' => 'sErrorColor', 'type' => 'str', 'value' => ''],
['group' => 'VISUAL', 'name' => 'sSelectionColor', 'type' => 'str', 'value' => ''],
['group' => 'ADVANCED', 'name' => 'bAllowControllerFilter', 'type' => 'bool', 'value' => false],
['group' => 'ADVANCED', 'name' => 'sAllowedControllerClasses', 'type' => 'str', 'value' => 'account_user,user,register'],
['group' => 'ADVANCED', 'name' => 'sAMSSubmitTrigger', 'type' => 'bool', 'value' => 'true'],
['group' => 'ADVANCED', 'name' => 'bShowDebug', 'type' => 'bool', 'value' => false],
]
];