mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2024-10-31 20:34:38 +01:00
Compare commits
45 Commits
Author | SHA1 | Date | |
---|---|---|---|
0607bbaa7c | |||
61133da014 | |||
ffcfed8ba0 | |||
45657767e4 | |||
a2fdc17247 | |||
5620d6b460 | |||
0305d484a3 | |||
ba5d8d04af | |||
3d0025cbc9 | |||
4e038ef885 | |||
c44887803e | |||
33fe2d8ade | |||
ae340f8569 | |||
0c74177b15 | |||
2ac4507ace | |||
69618b8db5 | |||
e1be2b618a | |||
e7b5947a3d | |||
|
b8f1c7e8aa | ||
|
64abb3b36f | ||
|
3acc30a3a5 | ||
|
8926e6618d | ||
|
e802847f06 | ||
|
bd415ccb3e | ||
ce5fcbd664 | |||
91d21f7f07 | |||
0dbb8fb6e3 | |||
477aef9b4a | |||
e9ebf89c6a | |||
9e5c91bed7 | |||
81b9602b10 | |||
|
2b8493d37a | ||
|
d1aceb0e64 | ||
|
905739672c | ||
|
40e6416096 | ||
|
e974a30707 | ||
|
35e5d631d0 | ||
|
f564baf9bf | ||
|
f8bdc5285c | ||
087f912897 | |||
89d543156f | |||
|
88c9ffa235 | ||
|
8cfe123289 | ||
|
d8810b495f | ||
|
3821698f12 |
31
CHANGELOG.md
31
CHANGELOG.md
@ -19,6 +19,37 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## 2.0.9 - 25 Juni 2024
|
||||||
|
- add check $oCaptcha in templates
|
||||||
|
|
||||||
|
## 2.0.8 - 08 September 2023
|
||||||
|
- add check for Amazon Pay - no Captcha
|
||||||
|
|
||||||
|
## 2.0.7 - 08 September 2023
|
||||||
|
- add check for PayPal Checkout - no Captcha
|
||||||
|
|
||||||
|
## 2.0.6 - 18 Juli 2023
|
||||||
|
- don't request captcha if user is logged in
|
||||||
|
|
||||||
|
## [2.0.4] - 22 Oct 2021
|
||||||
|
|
||||||
|
changed:
|
||||||
|
- PHP 7.4/8.0 compatibility https://github.com/OXIDprojects/captcha-module/issues/7
|
||||||
|
- fix metadata version number
|
||||||
|
|
||||||
|
## [2.0.3] - 10 Dec 2020
|
||||||
|
|
||||||
|
changed: insert Captcha also in the forgotten password form and newsletter subscription
|
||||||
|
|
||||||
|
## [2.0.2] - 10 Jan 2020
|
||||||
|
|
||||||
|
changed: moved code to its own template file and changed markup to match flow …
|
||||||
|
|
||||||
|
## [2.0.1] - 2017-12-07
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Module available on packagist
|
||||||
|
|
||||||
## [2.0.0] - 2017-12-05
|
## [2.0.0] - 2017-12-05
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -25,8 +25,7 @@ In order to install the module via composer, run the following commands in comma
|
|||||||
(where the shop's composer.json file resides).
|
(where the shop's composer.json file resides).
|
||||||
|
|
||||||
```
|
```
|
||||||
composer config repositories.oxid-esales/captcha-module vcs https://github.com/OXIDprojects/captcha-module
|
composer require oxid-projects/captcha-module
|
||||||
composer require oxid-esales/captcha-module:dev-master
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Module installation via repository cloning
|
### Module installation via repository cloning
|
||||||
|
58
application/component/oeusercomponent.php
Normal file
58
application/component/oeusercomponent.php
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Article detailed information widget.
|
||||||
|
*/
|
||||||
|
class oeUserComponent extends oeUserComponent_parent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class handling CAPTCHA image.
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
*/
|
||||||
|
protected $captcha = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
public function getCaptcha()
|
||||||
|
{
|
||||||
|
if ($this->captcha === null) {
|
||||||
|
$this->captcha = oxNew('oeCaptcha');
|
||||||
|
}
|
||||||
|
return $this->captcha;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function createUser()
|
||||||
|
{
|
||||||
|
/* START check for Amazon Pay - no Captcha */
|
||||||
|
ob_start();
|
||||||
|
debug_print_backtrace();
|
||||||
|
$trace = ob_get_contents();
|
||||||
|
ob_end_clean();
|
||||||
|
|
||||||
|
if(str_contains($trace, 'initAmazonPayExpress'))
|
||||||
|
{
|
||||||
|
return parent::createUser();
|
||||||
|
}
|
||||||
|
/* END check for Amazon Pay - no Captcha /
|
||||||
|
|
||||||
|
/* START check for PayPal Checkout - no Captcha */
|
||||||
|
if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder')
|
||||||
|
{
|
||||||
|
return parent::createUser();
|
||||||
|
}
|
||||||
|
/* START check for PayPal Checkout - no Captcha */
|
||||||
|
|
||||||
|
if (!$this->getCaptcha()->passCaptcha()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return parent::createUser();
|
||||||
|
}
|
||||||
|
}
|
@ -1,18 +1,3 @@
|
|||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
[{assign var="oCaptcha" value=$oView->getCaptcha()}]
|
[{include file="oecaptcha.tpl" labelCssClass="col-lg-2" inputCssClass="col-lg-10"}]
|
||||||
<input type="hidden" name="c_mach" value="[{$oCaptcha->getHash()}]"/>
|
|
||||||
|
|
||||||
<li class="verify">
|
|
||||||
<label class="req">[{oxmultilang ident="VERIFICATION_CODE" suffix="COLON"}]</label>
|
|
||||||
[{assign var="oCaptcha" value=$oView->getCaptcha()}]
|
|
||||||
[{if $oCaptcha->isImageVisible()}]
|
|
||||||
<img src="[{$oCaptcha->getImageUrl()}]" alt="">
|
|
||||||
[{else}]
|
|
||||||
<span class="verificationCode" id="verifyTextCode">[{$oCaptcha->getText()}]</span>
|
|
||||||
[{/if}]
|
|
||||||
<input type="text" data-fieldsize="verify" name="c_mac" value="" class="js-oxValidate js-oxValidate_notEmpty">
|
|
||||||
<p class="oxValidateError">
|
|
||||||
<span class="js-oxError_notEmpty">[{oxmultilang ident="ERROR_MESSAGE_INPUT_NOTALLFIELDS"}]</span>
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
|
3
application/views/blocks/captcha_form_contact_wave.tpl
Normal file
3
application/views/blocks/captcha_form_contact_wave.tpl
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{include file="oecaptcha_wave.tpl" labelCssClass="control-label col-lg-2" inputCssClass="col-lg-5"}]
|
3
application/views/blocks/captcha_form_forgotpwd.tpl
Normal file
3
application/views/blocks/captcha_form_forgotpwd.tpl
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{include file="oecaptcha.tpl" labelCssClass="col-md-3" inputCssClass="col-md-9"}]
|
3
application/views/blocks/captcha_form_forgotpwd_wave.tpl
Normal file
3
application/views/blocks/captcha_form_forgotpwd_wave.tpl
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-2" inputCssClass="col-lg-5"}]
|
@ -0,0 +1,3 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{include file="oecaptcha_wave.tpl" labelCssClass="control-label col-lg-2" inputCssClass="col-lg-5"}]
|
@ -0,0 +1,5 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{if !$oxcmp_user}]
|
||||||
|
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-3" inputCssClass="col-lg-5"}]
|
||||||
|
[{/if}]
|
3
application/views/blocks/captcha_form_wave.tpl
Normal file
3
application/views/blocks/captcha_form_wave.tpl
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[{$smarty.block.parent}]
|
||||||
|
|
||||||
|
[{include file="oecaptcha_wave.tpl" labelCssClass="col-lg-3" inputCssClass="col-lg-8"}]
|
21
application/views/tpl/oecaptcha.tpl
Normal file
21
application/views/tpl/oecaptcha.tpl
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[{assign var="oCaptcha" value=$oView->getCaptcha()}]
|
||||||
|
[{if $oCaptcha}]
|
||||||
|
<input type="hidden" name="c_mach" value="[{$oCaptcha->getHash()}]"/>
|
||||||
|
|
||||||
|
<div class="form-group verify">
|
||||||
|
<label class="req control-label [{$labelCssClass}]" for="c_mac">[{oxmultilang ident="VERIFICATION_CODE"}]</label>
|
||||||
|
|
||||||
|
<div class="[{$inputCssClass}] controls">
|
||||||
|
<div class="input-group">
|
||||||
|
<span class="input-group-addon">
|
||||||
|
[{if $oCaptcha->isImageVisible()}]
|
||||||
|
<img src="[{$oCaptcha->getImageUrl()}]" alt="">
|
||||||
|
[{else}]
|
||||||
|
<span class="verificationCode" id="verifyTextCode">[{$oCaptcha->getText()}]</span>
|
||||||
|
[{/if}]
|
||||||
|
</span>
|
||||||
|
<input type="text" data-fieldsize="verify" name="c_mac" value="" class="form-control js-oxValidate js-oxValidate_notEmpty" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
[{/if}]
|
21
application/views/tpl/oecaptcha_wave.tpl
Normal file
21
application/views/tpl/oecaptcha_wave.tpl
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[{assign var="oCaptcha" value=$oView->getCaptcha()}]
|
||||||
|
[{if $oCaptcha}]
|
||||||
|
<input type="hidden" name="c_mach" value="[{$oCaptcha->getHash()}]"/>
|
||||||
|
|
||||||
|
<div class="form-group row verify">
|
||||||
|
<label class="req [{$labelCssClass}]" for="c_mac">[{oxmultilang ident="VERIFICATION_CODE"}]</label>
|
||||||
|
|
||||||
|
<div class="[{$inputCssClass}]">
|
||||||
|
<div class="input-group">
|
||||||
|
<span class="input-group-addon" style="padding-right:15px">
|
||||||
|
[{if $oCaptcha->isImageVisible()}]
|
||||||
|
<img src="[{$oCaptcha->getImageUrl()}]" alt="">
|
||||||
|
[{else}]
|
||||||
|
<span class="verificationCode" id="verifyTextCode">[{$oCaptcha->getText()}]</span>
|
||||||
|
[{/if}]
|
||||||
|
</span>
|
||||||
|
<input type="text" data-fieldsize="verify" name="c_mac" value="" class="form-control js-oxValidate js-oxValidate_notEmpty" required>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
[{/if}]
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "oxid-esales/captcha-module",
|
"name": "oxid-projects/captcha-module",
|
||||||
"description": "This is Captcha module for OXID eShop.",
|
"description": "This is Captcha module for OXID eShop.",
|
||||||
"type": "oxideshop-module",
|
"type": "oxideshop-module",
|
||||||
"keywords": ["oxid", "modules", "eShop", "captcha"],
|
"keywords": ["oxid", "modules", "eShop", "captcha"],
|
||||||
|
29
controllers/oecaptchaaccountuser.php
Normal file
29
controllers/oecaptchaaccountuser.php
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||||
|
*/
|
||||||
|
|
||||||
|
class oecaptchaaccountuser extends oecaptchaaccountuser_parent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class handling CAPTCHA image.
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
*/
|
||||||
|
protected $captcha = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
public function getCaptcha()
|
||||||
|
{
|
||||||
|
if ( $this->captcha === null ) {
|
||||||
|
$this->captcha = oxNew( 'oeCaptcha' );
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->captcha;
|
||||||
|
}
|
||||||
|
}
|
44
controllers/oecaptchaforgotpwd.php
Normal file
44
controllers/oecaptchaforgotpwd.php
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||||
|
*/
|
||||||
|
|
||||||
|
class oeCaptchaForgotPwd extends oeCaptchaForgotPwd_parent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class handling CAPTCHA image.
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
*/
|
||||||
|
protected $captcha = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Composes and sends user written message, returns false if some parameters
|
||||||
|
* are missing.
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function forgotpassword()
|
||||||
|
{
|
||||||
|
if (!$this->getCaptcha()->passCaptcha()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return parent::forgotpassword();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
public function getCaptcha()
|
||||||
|
{
|
||||||
|
if ($this->captcha === null) {
|
||||||
|
$this->captcha = oxNew('oeCaptcha');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->captcha;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
44
controllers/oecaptchanewsletter.php
Normal file
44
controllers/oecaptchanewsletter.php
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||||
|
*/
|
||||||
|
|
||||||
|
class oeCaptchaNewsletter extends oeCaptchaNewsletter_parent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class handling CAPTCHA image.
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
*/
|
||||||
|
protected $captcha = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Composes and sends user written message, returns false if some parameters
|
||||||
|
* are missing.
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
public function send()
|
||||||
|
{
|
||||||
|
if (!$this->getCaptcha()->passCaptcha()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return parent::send();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
public function getCaptcha()
|
||||||
|
{
|
||||||
|
if ($this->captcha === null) {
|
||||||
|
$this->captcha = oxNew('oeCaptcha');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->captcha;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
52
controllers/oecaptcharegister.php
Normal file
52
controllers/oecaptcharegister.php
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Article suggestion page.
|
||||||
|
* Collects some article base information, sets default recomendation text,
|
||||||
|
* sends suggestion mail to user.
|
||||||
|
*/
|
||||||
|
class oeCaptchaRegister extends oeCaptchaRegister_parent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class handling CAPTCHA image.
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
*/
|
||||||
|
protected $captcha = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends product suggestion mail and returns a URL according to
|
||||||
|
* URL formatting rules.
|
||||||
|
*
|
||||||
|
* Template variables:
|
||||||
|
* <b>editval</b>, <b>error</b>
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function send()
|
||||||
|
{
|
||||||
|
// spam spider prevension
|
||||||
|
if (!$this->getCaptcha()->passCaptcha()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return parent::send();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
public function getCaptcha()
|
||||||
|
{
|
||||||
|
if ($this->captcha === null) {
|
||||||
|
$this->captcha = oxNew('oeCaptcha');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->captcha;
|
||||||
|
}
|
||||||
|
}
|
52
controllers/oecaptchauser.php
Normal file
52
controllers/oecaptchauser.php
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* #PHPHEADER_OECAPTCHA_LICENSE_INFORMATION#
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Article suggestion page.
|
||||||
|
* Collects some article base information, sets default recomendation text,
|
||||||
|
* sends suggestion mail to user.
|
||||||
|
*/
|
||||||
|
class oeCaptchaUser extends oeCaptchaUser_parent
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Class handling CAPTCHA image.
|
||||||
|
*
|
||||||
|
* @var object
|
||||||
|
*/
|
||||||
|
protected $captcha = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sends product suggestion mail and returns a URL according to
|
||||||
|
* URL formatting rules.
|
||||||
|
*
|
||||||
|
* Template variables:
|
||||||
|
* <b>editval</b>, <b>error</b>
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function send()
|
||||||
|
{
|
||||||
|
// spam spider prevension
|
||||||
|
if (!$this->getCaptcha()->passCaptcha()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return parent::send();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template variable getter. Returns object of handling CAPTCHA image
|
||||||
|
*
|
||||||
|
* @return object
|
||||||
|
*/
|
||||||
|
public function getCaptcha()
|
||||||
|
{
|
||||||
|
if ($this->captcha === null) {
|
||||||
|
$this->captcha = oxNew('oeCaptcha');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->captcha;
|
||||||
|
}
|
||||||
|
}
|
@ -50,7 +50,7 @@ class oeCaptcha extends oxSuperCfg
|
|||||||
if (!$this->text) {
|
if (!$this->text) {
|
||||||
$this->text = '';
|
$this->text = '';
|
||||||
for ($i = 0; $i < $this->macLength; $i++) {
|
for ($i = 0; $i < $this->macLength; $i++) {
|
||||||
$this->text .= strtolower($this->macChars{rand(0, strlen($this->macChars) - 1)});
|
$this->text .= strtolower($this->macChars[rand(0, strlen($this->macChars) - 1)]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
83
metadata.php
83
metadata.php
@ -17,6 +17,10 @@
|
|||||||
/**
|
/**
|
||||||
* Metadata version
|
* Metadata version
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
use OxidEsales\Eshop\Application\Component\UserComponent;
|
||||||
|
use OxidEsales\Eshop\Application\Controller\AccountUserController;
|
||||||
|
|
||||||
$sMetadataVersion = '1.1';
|
$sMetadataVersion = '1.1';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -33,26 +37,89 @@ $aModule = array(
|
|||||||
'en' => 'OXID eSales Simple Captcha Module',
|
'en' => 'OXID eSales Simple Captcha Module',
|
||||||
),
|
),
|
||||||
'thumbnail' => 'out/pictures/picture.png',
|
'thumbnail' => 'out/pictures/picture.png',
|
||||||
'version' => '2.0.0',
|
'version' => '2.0.9',
|
||||||
'author' => 'OXID eSales AG',
|
'author' => 'OXID eSales AG',
|
||||||
'url' => 'http://www.oxid-esales.com/',
|
'url' => 'https://www.oxid-esales.com/',
|
||||||
'email' => '',
|
'email' => '',
|
||||||
'extend' => array('details' => 'oe/captcha/controllers/oecaptchadetails',
|
'extend' => array('details' => 'oe/captcha/controllers/oecaptchadetails',
|
||||||
'contact' => 'oe/captcha/controllers/oecaptchacontact',
|
'contact' => 'oe/captcha/controllers/oecaptchacontact',
|
||||||
|
'forgotpwd' => 'oe/captcha/controllers/oecaptchaforgotpwd',
|
||||||
'invite' => 'oe/captcha/controllers/oecaptchainvite',
|
'invite' => 'oe/captcha/controllers/oecaptchainvite',
|
||||||
|
'newsletter' => 'oe/captcha/controllers/oecaptchanewsletter',
|
||||||
'pricealarm' => 'oe/captcha/controllers/oecaptchapricealarm',
|
'pricealarm' => 'oe/captcha/controllers/oecaptchapricealarm',
|
||||||
'suggest' => 'oe/captcha/controllers/oecaptchasuggest',
|
'suggest' => 'oe/captcha/controllers/oecaptchasuggest',
|
||||||
'oxwarticledetails' => 'oe/captcha/application/component/widget/oecaptchawarticledetails'),
|
'oxwarticledetails' => 'oe/captcha/application/component/widget/oecaptchawarticledetails',
|
||||||
|
UserComponent::class => 'oe/captcha/application/component/oeusercomponent',
|
||||||
|
'register' => 'oe/captcha/controllers/oecaptcharegister',
|
||||||
|
'user' => 'oe/captcha/controllers/oecaptchauser',
|
||||||
|
AccountUserController::class => 'oe/captcha/controllers/oecaptchaaccountuser'
|
||||||
|
),
|
||||||
'files' => array(
|
'files' => array(
|
||||||
'oecaptcha' => 'oe/captcha/core/oecaptcha.php',
|
'oecaptcha' => 'oe/captcha/core/oecaptcha.php',
|
||||||
'oecaptchaEvents' => 'oe/captcha/core/oecaptchaevents.php',
|
'oecaptchaEvents' => 'oe/captcha/core/oecaptchaevents.php',
|
||||||
),
|
),
|
||||||
'templates' => array(),
|
'templates' => array(
|
||||||
|
'oecaptcha.tpl' => 'oe/captcha/application/views/tpl/oecaptcha.tpl',
|
||||||
|
'oecaptcha_wave.tpl' => 'oe/captcha/application/views/tpl/oecaptcha_wave.tpl',
|
||||||
|
),
|
||||||
'blocks' => array(
|
'blocks' => array(
|
||||||
array('template' => 'form/contact.tpl', 'block'=>'captcha_form', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
array('template' => 'form/contact.tpl',
|
||||||
array('template' => 'form/privatesales/invite.tpl', 'block'=>'captcha_form', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
'block'=>'captcha_form',
|
||||||
array('template' => 'form/pricealarm.tpl', 'block'=>'captcha_form', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
'theme' => 'flow',
|
||||||
array('template' => 'form/suggest.tpl', 'block'=>'captcha_form', 'file'=>'/application/views/blocks/captcha_form.tpl'),
|
'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'),
|
||||||
),
|
),
|
||||||
'settings' => array(
|
'settings' => array(
|
||||||
array('group' => 'main', 'name' => 'oecaptchakey', 'type' => 'str', 'value' => ''),
|
array('group' => 'main', 'name' => 'oecaptchakey', 'type' => 'str', 'value' => ''),
|
||||||
|
Loading…
Reference in New Issue
Block a user