Studioforty9_Recaptcha - Version 1.1.0

Version Notes

Tested on Magento versions: 1.7.0.2, 1.8.0.0, 1.8.1.0, 1.9.0.1 and 1.9.1.0. See https://travis-ci.org/StudioForty9/Recaptcha for more.

Download this release

Release Info

Developer StudioForty9
Extension Studioforty9_Recaptcha
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.2.0 to 1.1.0

app/code/community/Studioforty9/Recaptcha/Helper/Data.php CHANGED
@@ -166,6 +166,10 @@ class Studioforty9_Recaptcha_Helper_Data extends Mage_Core_Helper_Abstract
166
  */
167
  public function isAllowed($route)
168
  {
 
 
 
 
169
  $acl = array(
170
  'contacts' => $this->isContactsEnabled(),
171
  'review' => $this->isReviewsEnabled(),
166
  */
167
  public function isAllowed($route)
168
  {
169
+ if (! Mage::getConfig()->getModuleConfig("Studioforty9_Recaptcha")->is('active', 'true')) {
170
+ return false;
171
+ }
172
+
173
  $acl = array(
174
  'contacts' => $this->isContactsEnabled(),
175
  'review' => $this->isReviewsEnabled(),
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Studioforty9_Recaptcha</name>
4
- <version>1.2.0</version>
5
  <stability>devel</stability>
6
  <license uri="http://opensource.org/licenses/BSD-3-Clause">BSDL</license>
7
  <channel>community</channel>
@@ -38,9 +38,9 @@
38
  &lt;/ol&gt;</description>
39
  <notes>Tested on Magento versions: 1.7.0.2, 1.8.0.0, 1.8.1.0, 1.9.0.1 and 1.9.1.0. See https://travis-ci.org/StudioForty9/Recaptcha for more.</notes>
40
  <authors><author><name>StudioForty9</name><user>SF9</user><email>info@studioforty9.com</email></author><author><name>Eoghan O'Brien</name><user>eoghanobrien</user><email>eoghan@studioforty9.com</email></author></authors>
41
- <date>2015-02-21</date>
42
- <time>15:58:19</time>
43
- <contents><target name="magecommunity"><dir name="Studioforty9"><dir name="Recaptcha"><dir name="Block"><file name="Autorender.php" hash="ca9fce4b930fd8b6077d6f3b2f04e3bb"/><file name="Explicit.php" hash="32c6e9255f5599282b24f03fd8891c06"/></dir><dir name="Helper"><file name="Data.php" hash="6b408bede840977d15132404f132f210"/><file name="Request.php" hash="375c4cde8c292e2360a909498c620db6"/><file name="Response.php" hash="2017ced9053966ccea2c4d23cd52d8ff"/></dir><dir name="Model"><file name="Observer.php" hash="0d67e5dadc00623dc44789228433394a"/><dir name="Source"><file name="Theme.php" hash="7ebe33c57b125ca2520037e862b57075"/></dir></dir><dir name="etc"><file name="config.xml" hash="49ee7e7b3fa81fb662b408e9b6282e81"/><file name="system.xml" hash="da98d3715a9116ff96b898df1e306ddf"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="studioforty9_recaptcha.xml" hash="ca3b59003d7473a73fc4283606fc21b4"/></dir><dir name="template"><dir name="studioforty9"><dir name="recaptcha"><file name="autorender.phtml" hash="d93df7b156aa90ba2c184606a0149202"/><file name="explicit.phtml" hash="fdab9be006a22da28400400e2c34ff93"/><dir name="samples"><dir name="base"><dir name="contacts"><file name="form.phtml" hash="f14cc54dde83a12cb9bac124127902be"/></dir><dir name="persistent"><dir name="customer"><dir name="form"><file name="register.phtml" hash="c4a6ccf18099d9d47ff55edf78e0f416"/></dir></dir></dir><dir name="review"><file name="form.phtml" hash="f7e8587e72a51b124ff2c2bcfd8e20b4"/></dir><dir name="sendfriend"><file name="send.phtml" hash="2f49f6800e901d1d63362dc5391cd971"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Studioforty9_Recaptcha.csv" hash="6387abc316e524840fa3b1fcc49dc25d"/></dir></target><target name="mageetc"><dir name="modules"><file name="Studioforty9_Recaptcha.xml" hash="4ea774e9a930bddc77ab8d408b81e008"/></dir></target></contents>
44
  <compatible/>
45
  <dependencies><required><php><min>5.3.0</min><max>5.5.99</max></php></required></dependencies>
46
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Studioforty9_Recaptcha</name>
4
+ <version>1.1.0</version>
5
  <stability>devel</stability>
6
  <license uri="http://opensource.org/licenses/BSD-3-Clause">BSDL</license>
7
  <channel>community</channel>
38
  &lt;/ol&gt;</description>
39
  <notes>Tested on Magento versions: 1.7.0.2, 1.8.0.0, 1.8.1.0, 1.9.0.1 and 1.9.1.0. See https://travis-ci.org/StudioForty9/Recaptcha for more.</notes>
40
  <authors><author><name>StudioForty9</name><user>SF9</user><email>info@studioforty9.com</email></author><author><name>Eoghan O'Brien</name><user>eoghanobrien</user><email>eoghan@studioforty9.com</email></author></authors>
41
+ <date>2015-02-26</date>
42
+ <time>21:56:15</time>
43
+ <contents><target name="magecommunity"><dir name="Studioforty9"><dir name="Recaptcha"><dir name="Block"><file name="Autorender.php" hash="ca9fce4b930fd8b6077d6f3b2f04e3bb"/><file name="Explicit.php" hash="32c6e9255f5599282b24f03fd8891c06"/></dir><dir name="Helper"><file name="Data.php" hash="dbc0892e9c6f1e94f3d99c984d95917e"/><file name="Request.php" hash="375c4cde8c292e2360a909498c620db6"/><file name="Response.php" hash="2017ced9053966ccea2c4d23cd52d8ff"/></dir><dir name="Model"><file name="Observer.php" hash="0d67e5dadc00623dc44789228433394a"/><dir name="Source"><file name="Theme.php" hash="7ebe33c57b125ca2520037e862b57075"/></dir></dir><dir name="etc"><file name="config.xml" hash="49ee7e7b3fa81fb662b408e9b6282e81"/><file name="system.xml" hash="da98d3715a9116ff96b898df1e306ddf"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="studioforty9_recaptcha.xml" hash="ca3b59003d7473a73fc4283606fc21b4"/></dir><dir name="template"><dir name="studioforty9"><dir name="recaptcha"><file name="autorender.phtml" hash="d93df7b156aa90ba2c184606a0149202"/><file name="explicit.phtml" hash="fdab9be006a22da28400400e2c34ff93"/><dir name="samples"><dir name="base"><dir name="contacts"><file name="form.phtml" hash="f14cc54dde83a12cb9bac124127902be"/></dir><dir name="persistent"><dir name="customer"><dir name="form"><file name="register.phtml" hash="c4a6ccf18099d9d47ff55edf78e0f416"/></dir></dir></dir><dir name="review"><file name="form.phtml" hash="f7e8587e72a51b124ff2c2bcfd8e20b4"/></dir><dir name="sendfriend"><file name="send.phtml" hash="2f49f6800e901d1d63362dc5391cd971"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Studioforty9_Recaptcha.csv" hash="6387abc316e524840fa3b1fcc49dc25d"/></dir></target><target name="mageetc"><dir name="modules"><file name="Studioforty9_Recaptcha.xml" hash="4ea774e9a930bddc77ab8d408b81e008"/></dir></target></contents>
44
  <compatible/>
45
  <dependencies><required><php><min>5.3.0</min><max>5.5.99</max></php></required></dependencies>
46
  </package>