2016-01-19 15:30:55 +01:00
|
|
|
<?php
|
|
|
|
/**
|
2023-08-15 14:11:11 +02:00
|
|
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
2016-01-19 15:30:55 +01:00
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* This file is part of OXID eSales Captcha module.
|
|
|
|
*
|
|
|
|
* TODO: license
|
|
|
|
*
|
|
|
|
* @category module
|
2023-08-15 14:11:11 +02:00
|
|
|
* @package captcha
|
2016-01-19 15:30:55 +01:00
|
|
|
* @author OXID eSales AG
|
2023-08-15 14:11:11 +02:00
|
|
|
* @link http://www.oxid-esales.com/
|
2016-01-19 15:30:55 +01:00
|
|
|
* @copyright (C) OXID eSales AG 2003-20162016
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2023-08-15 14:11:11 +02:00
|
|
|
* Metadata version
|
2016-01-19 15:30:55 +01:00
|
|
|
*/
|
2023-08-15 14:11:11 +02:00
|
|
|
$sMetadataVersion = '1.1';
|
2016-01-19 15:30:55 +01:00
|
|
|
|
|
|
|
/**
|
2023-08-15 14:11:11 +02:00
|
|
|
* Module information
|
2016-01-19 15:30:55 +01:00
|
|
|
*/
|
2023-08-15 14:11:11 +02:00
|
|
|
$aModule = array(
|
|
|
|
'id' => 'oecaptcha',
|
|
|
|
'title' => array(
|
2016-01-19 15:30:55 +01:00
|
|
|
'de' => 'Simple Captcha',
|
|
|
|
'en' => 'Simple Captcha',
|
2023-08-15 14:11:11 +02:00
|
|
|
),
|
|
|
|
'description' => array(
|
2016-01-19 15:30:55 +01:00
|
|
|
'de' => 'OXID eSales Simple Captcha Module',
|
|
|
|
'en' => 'OXID eSales Simple Captcha Module',
|
2023-08-15 14:11:11 +02:00
|
|
|
),
|
|
|
|
'thumbnail' => 'out/pictures/picture.png',
|
2022-05-16 15:15:35 +02:00
|
|
|
'version' => '2.0.5',
|
2023-08-15 14:11:11 +02:00
|
|
|
'author' => 'OXID eSales AG',
|
2022-05-16 15:15:35 +02:00
|
|
|
'url' => 'https://www.oxid-esales.com/',
|
2023-08-15 14:11:11 +02:00
|
|
|
'email' => '',
|
|
|
|
'extend' => array('details' => 'oe/captcha/controllers/oecaptchadetails',
|
|
|
|
'contact' => 'oe/captcha/controllers/oecaptchacontact',
|
|
|
|
'forgotpwd' => 'oe/captcha/controllers/oecaptchaforgotpwd',
|
|
|
|
'invite' => 'oe/captcha/controllers/oecaptchainvite',
|
|
|
|
'newsletter' => 'oe/captcha/controllers/oecaptchanewsletter',
|
|
|
|
'pricealarm' => 'oe/captcha/controllers/oecaptchapricealarm',
|
|
|
|
'suggest' => 'oe/captcha/controllers/oecaptchasuggest',
|
2022-02-23 09:20:32 +01:00
|
|
|
'oxwarticledetails' => 'oe/captcha/application/component/widget/oecaptchawarticledetails',
|
|
|
|
\OxidEsales\Eshop\Application\Component\UserComponent::class => 'oe/captcha/application/component/oeusercomponent',
|
2022-03-14 11:14:24 +01:00
|
|
|
'register' => 'oe/captcha/controllers/oecaptcharegister',
|
|
|
|
'user' => 'oe/captcha/controllers/oecaptchauser'
|
2022-02-23 09:20:32 +01:00
|
|
|
),
|
2023-08-15 14:11:11 +02:00
|
|
|
'files' => array(
|
|
|
|
'oecaptcha' => 'oe/captcha/core/oecaptcha.php',
|
|
|
|
'oecaptchaEvents' => 'oe/captcha/core/oecaptchaevents.php',
|
|
|
|
),
|
|
|
|
'templates' => array(
|
|
|
|
'oecaptcha.tpl' => 'oe/captcha/application/views/tpl/oecaptcha.tpl',
|
2022-05-16 15:14:57 +02:00
|
|
|
'oecaptcha_wave.tpl' => 'oe/captcha/application/views/tpl/oecaptcha_wave.tpl',
|
2023-08-15 14:11:11 +02:00
|
|
|
),
|
|
|
|
'blocks' => array(
|
2022-05-16 15:14:57 +02:00
|
|
|
array('template' => 'form/contact.tpl', 'block'=>'captcha_form', 'theme' => 'flow', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
|
|
|
array('template' => 'form/newsletter.tpl', 'block'=>'captcha_form', 'theme' => 'flow', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
|
|
|
array('template' => 'form/privatesales/invite.tpl', 'theme' => 'flow', 'block'=>'captcha_form', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
|
|
|
array('template' => 'form/pricealarm.tpl', 'block'=>'captcha_form', 'theme' => 'flow', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
|
|
|
array('template' => 'form/suggest.tpl', 'block'=>'captcha_form', 'theme' => 'flow', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
|
|
|
array('template' => 'form/forgotpwd_email.tpl', 'block'=>'captcha_form', 'theme' => 'flow', 'file'=>'/application/views/blocks/captcha_form_forgotpwd.tpl'),
|
|
|
|
array('template' => 'form/fieldset/user_billing.tpl', 'block'=>'captcha_form', 'theme' => 'flow', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
|
|
|
|
|
|
|
array('template' => 'form/contact.tpl', 'block'=>'captcha_form', 'theme' => 'wave', 'file'=>'/application/views/blocks/captcha_form_contact_wave.tpl'),
|
|
|
|
array('template' => 'form/newsletter.tpl', 'block'=>'captcha_form', 'theme' => 'wave', 'file'=>'/application/views/blocks/captcha_form_newsletter_wave.tpl'),
|
|
|
|
array('template' => 'form/privatesales/invite.tpl', 'theme' => 'wave', 'block'=>'captcha_form', 'file'=>'/application/views/blocks/captcha_form_wave.tpl'),
|
|
|
|
array('template' => 'form/pricealarm.tpl', 'block'=>'captcha_form', 'theme' => 'wave', 'file'=>'/application/views/blocks/captcha_form_wave.tpl'),
|
|
|
|
array('template' => 'form/suggest.tpl', 'block'=>'captcha_form', 'theme' => 'wave', 'file'=>'/application/views/blocks/captcha_form_wave.tpl'),
|
|
|
|
array('template' => 'form/forgotpwd_email.tpl', 'block'=>'captcha_form', 'theme' => 'wave', 'file'=>'/application/views/blocks/captcha_form_forgotpwd_wave.tpl'),
|
|
|
|
array('template' => 'form/fieldset/user_billing.tpl', 'block'=>'captcha_form', 'theme' => 'wave', 'file'=>'/application/views/blocks/captcha_form_user_billing_wave.tpl'),
|
2023-08-15 14:11:11 +02:00
|
|
|
),
|
|
|
|
'settings' => array(
|
|
|
|
array('group' => 'main', 'name' => 'oecaptchakey', 'type' => 'str', 'value' => ''),
|
|
|
|
),
|
|
|
|
'events' => array(
|
|
|
|
'onActivate' => 'oecaptchaevents::onActivate',
|
|
|
|
'onDeactivate' => 'oecaptchaevents::onDeactivate'
|
|
|
|
),
|
|
|
|
);
|