This repository has been archived by the owner on Jun 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lucas van Staden
committed
Jul 16, 2015
1 parent
5b6ebff
commit de9268a
Showing
4 changed files
with
75 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,4 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Magento Enterprise Edition | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Magento Enterprise Edition License | ||
* that is bundled with this package in the file LICENSE_EE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://www.magentocommerce.com/license/enterprise-edition | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade Magento to newer | ||
* versions in the future. If you wish to customize Magento for your | ||
* needs please refer to http://www.magentocommerce.com for more information. | ||
* | ||
* @category Mage | ||
* @package Mage_Captcha | ||
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) | ||
* @license http://www.magentocommerce.com/license/enterprise-edition | ||
*/ | ||
--> | ||
<config> | ||
<sections> | ||
<admin> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,8 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
/** | ||
* Magento Enterprise Edition | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This source file is subject to the Magento Enterprise Edition License | ||
* that is bundled with this package in the file LICENSE_EE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://www.magentocommerce.com/license/enterprise-edition | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to [email protected] so we can send you a copy immediately. | ||
* | ||
* DISCLAIMER | ||
* | ||
* Do not edit or add to this file if you wish to upgrade Magento to newer | ||
* versions in the future. If you wish to customize Magento for your | ||
* needs please refer to http://www.magentocommerce.com for more information. | ||
* | ||
* @category design | ||
* @package base_default | ||
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) | ||
* @license http://www.magentocommerce.com/license/enterprise-edition | ||
*/ | ||
--> | ||
<layout version="0.1.0"> | ||
<contacts_index_index> | ||
<reference name="contactForm"> | ||
<block type="captcha/captcha" name="recaptcha"> | ||
<reference name="head"> | ||
<action method="addJs"> | ||
<file>mage/captcha.js</file> | ||
</action> | ||
</reference> | ||
<action method="setFormId"> | ||
<formId>user_contact</formId> | ||
</action> | ||
|
@@ -47,4 +15,19 @@ | |
</block> | ||
</reference> | ||
</contacts_index_index> | ||
<review_product_list> | ||
<reference name="product.review.form"> | ||
<block type="captcha/captcha" name="recaptcha"> | ||
<action method="setFormId"> | ||
<formId>user_review</formId> | ||
</action> | ||
<action method="setImgWidth"> | ||
<width>230</width> | ||
</action> | ||
<action method="setImgHeight"> | ||
<width>50</width> | ||
</action> | ||
</block> | ||
</reference> | ||
</review_product_list> | ||
</layout> |