OutsourceOnline_Captcha - Version 2.0.4

Version Notes

fixed issues on magento compilation

Download this release

Release Info

Developer Magento Core Team
Extension OutsourceOnline_Captcha
Version 2.0.4
Comparing to
See all releases


Code changes from version 2.0.3 to 2.0.4

app/code/community/OutsourceOnline/Captcha/Helper/Data.php CHANGED
@@ -18,7 +18,8 @@
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
- require_once(dirname(__FILE__)."/OSOLmulticaptcha.php");
 
22
  class Outsourceonline_Captcha_Helper_Data extends Mage_Core_Helper_Abstract
23
  {
24
 
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
+ //require_once(dirname(__FILE__)."/OSOLmulticaptcha.php");
22
+ require_once(Mage::getModuleDir('', 'OutsourceOnline_Captcha')."/Helper/OSOLmulticaptcha.php");
23
  class Outsourceonline_Captcha_Helper_Data extends Mage_Core_Helper_Abstract
24
  {
25
 
app/code/community/OutsourceOnline/Captcha/Helper/osolCaptcha/font-png.png CHANGED
Binary file
app/code/community/OutsourceOnline/Captcha/Helper/osolCaptcha/fontFileMeta.meta CHANGED
@@ -1 +1 @@
1
- a:3:{s:8:"alphabet";s:51:"A B C D E F G H J K L M N P Q R T W X Y 3 4 6 7 8 9";s:8:"font_ttf";s:19:"BookmanOldStyle.TTF";s:9:"font_size";i:78;}
1
+ a:3:{s:8:"alphabet";s:51:"A B C D E F G H J K L M N P Q R T W X Y 3 4 6 7 8 9";s:8:"font_ttf";s:11:"AdLibBT.TTF";s:9:"font_size";i:24;}
app/code/community/OutsourceOnline/Captcha/controllers/AccountController.php CHANGED
@@ -18,8 +18,8 @@
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
- include_once "Mage/Customer/controllers/AccountController.php";
22
-
23
  class OutsourceOnline_Captcha_AccountController extends Mage_Customer_AccountController
24
  {
25
  public function createPostAction()
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
+ // include_once "Mage/Customer/controllers/AccountController.php";
22
+ require_once(Mage::getModuleDir('controllers', 'Mage_Customer')."/AccountController.php");
23
  class OutsourceOnline_Captcha_AccountController extends Mage_Customer_AccountController
24
  {
25
  public function createPostAction()
app/code/community/OutsourceOnline/Captcha/controllers/ContactsController.php CHANGED
@@ -17,8 +17,9 @@
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
- */include_once "Mage/Contacts/controllers/IndexController.php";
21
-
 
22
  class OutsourceOnline_Captcha_ContactsController extends Mage_Contacts_IndexController
23
  {
24
 
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
+ //include_once "Mage/Contacts/controllers/IndexController.php";
22
+ require_once(Mage::getModuleDir('controllers', 'Mage_Contacts')."/IndexController.php");
23
  class OutsourceOnline_Captcha_ContactsController extends Mage_Contacts_IndexController
24
  {
25
 
app/code/community/OutsourceOnline/Captcha/controllers/OnepageController.php CHANGED
@@ -18,8 +18,8 @@
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
- include_once "Mage/Checkout/controllers/OnepageController.php";
22
-
23
  class OutsourceOnline_Captcha_OnepageController extends Mage_Checkout_OnepageController
24
  {
25
  /**
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
+ //include_once "Mage/Checkout/controllers/OnepageController.php";
22
+ require_once(Mage::getModuleDir('controllers', 'Mage_Checkout')."/OnepageController.php");
23
  class OutsourceOnline_Captcha_OnepageController extends Mage_Checkout_OnepageController
24
  {
25
  /**
app/code/community/OutsourceOnline/Captcha/controllers/ProductController.php CHANGED
@@ -18,8 +18,8 @@
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
- include_once "Mage/Sendfriend/controllers/ProductController.php";
22
-
23
  class OutsourceOnline_Captcha_ProductController extends Mage_Sendfriend_ProductController
24
  {
25
  public function sendmailAction()
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
+ //include_once "Mage/Sendfriend/controllers/ProductController.php";
22
+ require_once(Mage::getModuleDir('controllers', 'Mage_Sendfriend')."/ProductController.php");
23
  class OutsourceOnline_Captcha_ProductController extends Mage_Sendfriend_ProductController
24
  {
25
  public function sendmailAction()
app/code/community/OutsourceOnline/Captcha/controllers/ReviewController.php CHANGED
@@ -17,8 +17,9 @@
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
- */include_once "Mage/Review/controllers/ProductController.php";
21
-
 
22
  class OutsourceOnline_Captcha_ReviewController extends Mage_Review_ProductController
23
  {
24
  public function postAction()
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
+ //include_once "Mage/Review/controllers/ProductController.php";
22
+ require_once(Mage::getModuleDir('controllers', 'Mage_Review')."/ProductController.php");
23
  class OutsourceOnline_Captcha_ReviewController extends Mage_Review_ProductController
24
  {
25
  public function postAction()
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>OutsourceOnline_Captcha</name>
4
- <version>2.0.3</version>
5
  <stability>stable</stability>
6
  <license>gpl</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Module to add Ajax captcha functionality for magento</summary>
10
  <description>Captcha functionality for magento forms for registration,contactus,product review and send a friend .Simply install the module and check the aforementioned forms</description>
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>2013-08-08</date>
14
- <time>08:17: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="f1108b50e824b5482177f2dc2eb3443b"/></dir><dir name="template"><dir name="outsourceOnline"><dir name="captcha"><file name="ajaxInsert.phtml" hash="eb81b88715c0c927e4ef8dd0f4e82c82"/><file name="captchaAjax.phtml" hash="5feefbfb1a1aaad28aaadd572dafbe74"/><file name="contacts.phtml" hash="acc889439f7f2375c3c55bfd55e7e05a"/><file name="form.phtml" hash="c6c74543a1859affe1c5051516e76da4"/><file name="onepage_billing.phtml" hash="2d54f1a6b377e949571762cf3ac5f749"/><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="c1cf64335c83efca54a57c16bc9b467f"/><file name="system.xml" hash="504c040bcc5e99e367e3b32aaccc5d32"/></dir><dir name="Helper"><dir name="osolCaptcha"><file name="ajax-loader-big.gif" hash="a51c5608d01acf32df728f299767f82b"/><file name="font-png.png" hash="404b9571f4890235663353734cdb4024"/><file name="fontFileMeta.meta" hash="03cf0f85083974b905553ecb40174de4"/><file name="temp.meta" hash="625e359f6a3bfa64572544d5bf0a073d"/><file name="temp.png" hash="697c73c21eb60c6c237b0bf099428267"/><dir name="ttfs"><file name="AdLibBT.TTF" hash="4ff833d37c38398cd201b2550bf8ecb5"/><file name="BookmanOldStyle.TTF" hash="4267d8aa8711bb8c72cbefb26066c9e0"/><file name="CooperBlack.TTF" hash="8eb03871e6046162efce5f2cdf5fa849"/><file name="index.html" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><file name="Data.php" hash="456a11d22a28118e327353af79a2095f"/><file name="OSOLmulticaptcha.php" hash="c4a2e999bb41d1bf4a217ccb2dfc5fea"/></dir><dir name="Model"><dir name="Source"><file name="Captchafonts.php" hash="4ac034345994bdf1eeada4ff0f1b4d22"/><file name="Captchafontsize.php" hash="c6d6c3d7107363f1aa1111663bb14647"/><file name="Captchaimage.php" hash="b49acab3a47cfa798aa16825f6417c82"/><file name="Captchalanguage.php" hash="89d9e8e16788d84c5ce8fcc2a9e07925"/><file name="Captchanoise.php" hash="cf5367e941950ebe7fc5786a550c0f17"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>OutsourceOnline_Captcha</name>
4
+ <version>2.0.4</version>
5
  <stability>stable</stability>
6
  <license>gpl</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Module to add Ajax captcha functionality for magento</summary>
10
  <description>Captcha functionality for magento forms for registration,contactus,product review and send a friend .Simply install the module and check the aforementioned forms</description>
11
+ <notes>fixed issues on magento compilation</notes>
12
  <authors><author><name>Sreekanth Dayanand</name><user>auto-converted</user><email>blogspot@outsource-online.net</email></author></authors>
13
  <date>2013-08-08</date>
14
+ <time>12:24:26</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="f1108b50e824b5482177f2dc2eb3443b"/></dir><dir name="template"><dir name="outsourceOnline"><dir name="captcha"><file name="ajaxInsert.phtml" hash="eb81b88715c0c927e4ef8dd0f4e82c82"/><file name="captchaAjax.phtml" hash="5feefbfb1a1aaad28aaadd572dafbe74"/><file name="contacts.phtml" hash="acc889439f7f2375c3c55bfd55e7e05a"/><file name="form.phtml" hash="c6c74543a1859affe1c5051516e76da4"/><file name="onepage_billing.phtml" hash="2d54f1a6b377e949571762cf3ac5f749"/><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="54e72a083e7975feb2140380287cfbb7"/><file name="AjaxController.php" hash="8b923b7ba0ee6736e79a438dbbffade7"/><file name="ContactsController.php" hash="7fc9965a47d3416870cd407a36715a71"/><file name="OnepageController.php" hash="f782d938d9f617c5d0c68f5cc4872740"/><file name="ProductController.php" hash="2d7a42ee7e769a79520c07c535f52f7e"/><file name="ReviewController.php" hash="3d61d2157edf8b3e2a470f9bdd912c34"/></dir><dir name="etc"><file name="config.xml" hash="c1cf64335c83efca54a57c16bc9b467f"/><file name="system.xml" hash="504c040bcc5e99e367e3b32aaccc5d32"/></dir><dir name="Helper"><dir name="osolCaptcha"><file name="ajax-loader-big.gif" hash="a51c5608d01acf32df728f299767f82b"/><file name="font-png.png" hash="91d6af87287956ca32991bb9f81a90e1"/><file name="fontFileMeta.meta" hash="aba07e9e5a68d194cce8434593451c51"/><file name="temp.meta" hash="625e359f6a3bfa64572544d5bf0a073d"/><file name="temp.png" hash="697c73c21eb60c6c237b0bf099428267"/><dir name="ttfs"><file name="AdLibBT.TTF" hash="4ff833d37c38398cd201b2550bf8ecb5"/><file name="BookmanOldStyle.TTF" hash="4267d8aa8711bb8c72cbefb26066c9e0"/><file name="CooperBlack.TTF" hash="8eb03871e6046162efce5f2cdf5fa849"/><file name="index.html" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><file name="Data.php" hash="8f7ce7d3a01d6c6a065a636dc78abdb7"/><file name="OSOLmulticaptcha.php" hash="c4a2e999bb41d1bf4a217ccb2dfc5fea"/></dir><dir name="Model"><dir name="Source"><file name="Captchafonts.php" hash="4ac034345994bdf1eeada4ff0f1b4d22"/><file name="Captchafontsize.php" hash="c6d6c3d7107363f1aa1111663bb14647"/><file name="Captchaimage.php" hash="b49acab3a47cfa798aa16825f6417c82"/><file name="Captchalanguage.php" hash="89d9e8e16788d84c5ce8fcc2a9e07925"/><file name="Captchanoise.php" hash="cf5367e941950ebe7fc5786a550c0f17"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>