Version Notes
This is a development version.Any valuable suggestions and help will be highly appreciated
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | OutsourceOnline_Captcha |
| Version | 1.0.8 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.7 to 1.0.8
- app/code/community/OutsourceOnline/Captcha/Block/Checkout/Onepage/Billing.php +32 -0
- app/code/community/OutsourceOnline/Captcha/Helper/Data.php +4 -11
- app/design/frontend/default/default/template/outsourceOnline/captcha/ajaxInsert.phtml +19 -0
- app/design/frontend/default/default/template/outsourceOnline/captcha/onepage_billing.phtml +9 -14
- package.xml +3 -3
app/code/community/OutsourceOnline/Captcha/Block/Checkout/Onepage/Billing.php
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Outsource Online Captcha Extension
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* @category Outsource Online
|
| 16 |
+
* @package OutsourceOnline_Captcha
|
| 17 |
+
* @author Sreekanth Dayanand
|
| 18 |
+
* @copyright Copyright (c) 2010 Outsource Online. (http://www.outsource-online.net)
|
| 19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 20 |
+
*/
|
| 21 |
+
class OutsourceOnline_Captcha_Block_Checkout_Onepage_Billing extends Mage_Checkout_Block_Onepage_Billing
|
| 22 |
+
{
|
| 23 |
+
public function __construct()
|
| 24 |
+
{
|
| 25 |
+
parent::__construct();
|
| 26 |
+
|
| 27 |
+
//$this->setTemplate('outsourceOnline/captcha/onepage_billing.phtml');
|
| 28 |
+
//die( $this->toHtml());//$this->getTemplate()
|
| 29 |
+
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
}
|
app/code/community/OutsourceOnline/Captcha/Helper/Data.php
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
|
@@ -11,18 +11,11 @@
|
|
| 11 |
* If you did not receive a copy of the license and are unable to
|
| 12 |
* obtain it through the world-wide-web, please send an email
|
| 13 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
-
*
|
| 15 |
-
* This code has been adopted from the reCAPTCHA module available at:
|
| 16 |
-
* http://captcha.net
|
| 17 |
-
* The original reCAPTCHA module was written by:
|
| 18 |
-
* Mike Crawford
|
| 19 |
-
* Ben Maurer
|
| 20 |
*
|
| 21 |
-
* @category
|
| 22 |
* @package OutsourceOnline_Captcha
|
| 23 |
-
* @author
|
| 24 |
-
* @
|
| 25 |
-
* @copyright Copyright (c) 2009 Fontis Pty. Ltd. (http://www.fontis.com.au)
|
| 26 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 27 |
*/
|
| 28 |
class Outsourceonline_Captcha_Helper_Data extends Mage_Core_Helper_Abstract
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* Outsource Online Captcha Extension
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 11 |
* If you did not receive a copy of the license and are unable to
|
| 12 |
* obtain it through the world-wide-web, please send an email
|
| 13 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
*
|
| 15 |
+
* @category Outsource Online
|
| 16 |
* @package OutsourceOnline_Captcha
|
| 17 |
+
* @author Sreekanth Dayanand
|
| 18 |
+
* @copyright Copyright (c) 2010 Outsource Online. (http://www.outsource-online.net)
|
|
|
|
| 19 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 20 |
*/
|
| 21 |
class Outsourceonline_Captcha_Helper_Data extends Mage_Core_Helper_Abstract
|
app/design/frontend/default/default/template/outsourceOnline/captcha/ajaxInsert.phtml
CHANGED
|
@@ -1,4 +1,23 @@
|
|
| 1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
$osolCaptchaLoadFromSSL = $_SERVER['SERVER_PORT']==443?true:false;
|
| 3 |
?>
|
| 4 |
<script src="<?php echo $this->getJsUrl() ?>mage/adminhtml/loader.js" type="text/javascript"></script>
|
| 1 |
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Outsource Online Captcha Extension
|
| 4 |
+
*
|
| 5 |
+
* NOTICE OF LICENSE
|
| 6 |
+
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
+
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
+
* If you did not receive a copy of the license and are unable to
|
| 12 |
+
* obtain it through the world-wide-web, please send an email
|
| 13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
+
*
|
| 15 |
+
* @category Outsource Online
|
| 16 |
+
* @package OutsourceOnline_Captcha
|
| 17 |
+
* @author Sreekanth Dayanand
|
| 18 |
+
* @copyright Copyright (c) 2010 Outsource Online. (http://www.outsource-online.net)
|
| 19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
| 20 |
+
*/
|
| 21 |
$osolCaptchaLoadFromSSL = $_SERVER['SERVER_PORT']==443?true:false;
|
| 22 |
?>
|
| 23 |
<script src="<?php echo $this->getJsUrl() ?>mage/adminhtml/loader.js" type="text/javascript"></script>
|
app/design/frontend/default/default/template/outsourceOnline/captcha/onepage_billing.phtml
CHANGED
|
@@ -1,27 +1,22 @@
|
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
-
*
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
-
* This source file is subject to the
|
| 8 |
-
* that is bundled with this package in the file
|
| 9 |
* It is also available through the world-wide-web at this URL:
|
| 10 |
-
* http://opensource.org/licenses/
|
| 11 |
* If you did not receive a copy of the license and are unable to
|
| 12 |
* obtain it through the world-wide-web, please send an email
|
| 13 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
*
|
| 15 |
-
*
|
| 16 |
-
*
|
| 17 |
-
*
|
| 18 |
-
*
|
| 19 |
-
*
|
| 20 |
-
*
|
| 21 |
-
* @category design
|
| 22 |
-
* @package base_default
|
| 23 |
-
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
|
| 24 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
| 25 |
*/
|
| 26 |
|
| 27 |
?>
|
| 1 |
<?php
|
| 2 |
/**
|
| 3 |
+
* Outsource Online Captcha Extension
|
| 4 |
*
|
| 5 |
* NOTICE OF LICENSE
|
| 6 |
*
|
| 7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
| 8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 9 |
* It is also available through the world-wide-web at this URL:
|
| 10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
| 11 |
* If you did not receive a copy of the license and are unable to
|
| 12 |
* obtain it through the world-wide-web, please send an email
|
| 13 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
| 14 |
*
|
| 15 |
+
* @category Outsource Online
|
| 16 |
+
* @package OutsourceOnline_Captcha
|
| 17 |
+
* @author Sreekanth Dayanand
|
| 18 |
+
* @copyright Copyright (c) 2010 Outsource Online. (http://www.outsource-online.net)
|
| 19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
*/
|
| 21 |
|
| 22 |
?>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>OutsourceOnline_Captcha</name>
|
| 4 |
-
<version>1.0.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>gpl</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -11,8 +11,8 @@
|
|
| 11 |
<notes>This is a development version.Any valuable suggestions and help will be highly appreciated</notes>
|
| 12 |
<authors><author><name>Sreekanth Dayanand</name><user>auto-converted</user><email>blogspot@outsource-online.net</email></author></authors>
|
| 13 |
<date>2011-10-06</date>
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magelocale"><dir name="en_US"><file name="OutsourceOnline_Captcha.csv" hash="46c1c9105a99ef6a3e884381ba060fe9"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="OutsourceOnline_Captcha.xml" hash="11b7c7d447adedc9a06c1880ac7da9e2"/></dir><dir name="template"><dir name="outsourceOnline"><dir name="captcha"><file name="ajaxInsert.phtml" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>OutsourceOnline_Captcha</name>
|
| 4 |
+
<version>1.0.8</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license>gpl</license>
|
| 7 |
<channel>community</channel>
|
| 11 |
<notes>This is a development version.Any valuable suggestions and help will be highly appreciated</notes>
|
| 12 |
<authors><author><name>Sreekanth Dayanand</name><user>auto-converted</user><email>blogspot@outsource-online.net</email></author></authors>
|
| 13 |
<date>2011-10-06</date>
|
| 14 |
+
<time>18:58:20</time>
|
| 15 |
+
<contents><target name="magelocale"><dir name="en_US"><file name="OutsourceOnline_Captcha.csv" hash="46c1c9105a99ef6a3e884381ba060fe9"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="OutsourceOnline_Captcha.xml" hash="11b7c7d447adedc9a06c1880ac7da9e2"/></dir><dir name="template"><dir name="outsourceOnline"><dir name="captcha"><file name="ajaxInsert.phtml" hash="585662ad9081013b8445ec5b7aad23f8"/><file name="captchaAjax.phtml" hash="5feefbfb1a1aaad28aaadd572dafbe74"/><file name="contacts.phtml" hash="acc889439f7f2375c3c55bfd55e7e05a"/><file name="form.phtml" hash="c6c74543a1859affe1c5051516e76da4"/><file name="onepage_billing.phtml" hash="872b53e6f488a23a714bd37535b8f728"/><file name="register.phtml" hash="9140614281ccfd7b8cbc238a34048d6b"/><file name="send.phtml" hash="81196f45080cdfec3741bcab351b92c8"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OutsourceOnline_Captcha.xml" hash="7b700e1a3656005d4fc1b3f703a4269a"/></dir></target><target name="magecommunity"><dir name="OutsourceOnline"><dir name="Captcha"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><file name="Billing.php" hash="d9610a7617bf208112283751282a5732"/></dir></dir><dir name="Review"><file name="Form.php" hash="d9039bc65bbf00e4e9a42e405b5864a9"/></dir></dir><dir name="controllers"><file name="AccountController.php" hash="7b6a5ed8fbb5fbb4f9f430b36f945c33"/><file name="AjaxController.php" hash="8b923b7ba0ee6736e79a438dbbffade7"/><file name="ContactsController.php" hash="5150818931bd7b3b517f0297af025979"/><file name="OnepageController.php" hash="60026a5dc29fb0f0d0bf09dec20807f7"/><file name="ProductController.php" hash="cc313c03c7bcc966cafa331474f2bd4f"/><file name="ReviewController.php" hash="b188272e196ac3213bc311e75de367d1"/></dir><dir name="etc"><file name="config.xml" hash="f0b13abb2dd1159aaddc908cff08ccce"/><file name="system.xml" hash="fb6311facb6411a522d885ffbb6cfd5f"/></dir><dir name="Helper"><dir name="osolCaptcha"><file name="adlibBT.png" hash="6a4ddf589628a9a16657532bd2f75a5c"/><file name="adlibBT.TTF" hash="4ff833d37c38398cd201b2550bf8ecb5"/></dir><file name="Data.php" hash="59b23c26640f4975f400322db9577cab"/></dir><dir name="Model"><dir name="Source"><file name="Captchaimage.php" hash="b49acab3a47cfa798aa16825f6417c82"/><file name="Captchalanguage.php" hash="89d9e8e16788d84c5ce8fcc2a9e07925"/></dir></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies/>
|
| 18 |
</package>
|
