Vhaldecode_CookieLaw - Version 1.1.12

Version Notes

Optimized for SEO.

Download this release

Release Info

Developer Valdecode
Extension Vhaldecode_CookieLaw
Version 1.1.12
Comparing to
See all releases


Code changes from version 1.1.11 to 1.1.12

app/design/frontend/base/default/layout/cookielaw.xml CHANGED
@@ -24,10 +24,23 @@
24
  </action>
25
  </reference>
26
  <reference name="after_body_start">
27
- <block name="cookielaw" type="core/template" before="-" template="cookielaw/widget.phtml">
 
28
  <action method="setCacheLifetime">
29
  <lifetime>3600</lifetime>
30
  </action>
 
 
 
 
 
 
 
 
 
 
 
 
31
  </block>
32
  </reference>
33
  </default>
24
  </action>
25
  </reference>
26
  <reference name="after_body_start">
27
+ <block name="cookielaw.after_body_start" type="core/template" before="-"
28
+ template="cookielaw/after_body_start.phtml">
29
  <action method="setCacheLifetime">
30
  <lifetime>3600</lifetime>
31
  </action>
32
+ <block name="cookielaw.after_body_start.widget" type="core/template" before="-"
33
+ template="cookielaw/widget.phtml"/>
34
+ </block>
35
+ </reference>
36
+ <reference name="before_body_end">
37
+ <block name="cookielaw.before_body_end" type="core/template" after="-"
38
+ template="cookielaw/before_body_end.phtml">
39
+ <action method="setCacheLifetime">
40
+ <lifetime>3600</lifetime>
41
+ </action>
42
+ <block name="cookielaw.before_body_end.widget" type="core/template" before="-"
43
+ template="cookielaw/widget.phtml"/>
44
  </block>
45
  </reference>
46
  </default>
app/design/frontend/base/default/template/cookielaw/after_body_start.phtml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Valdecode - Cookie Law Compliance
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the The MIT License (MIT)
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://www.valdecode.com/license/cookielaw/license.txt
11
+ *
12
+ * @category Valdecode
13
+ * @package Valdecode_CookieLaw
14
+ * @copyright Copyright (c) 2014 Valdecode
15
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
16
+ */
17
+ ?>
18
+ <?php $_helper = Mage::helper('cookielaw'); ?>
19
+ <?php if ($_helper->getType() == 'v-bar' && $_helper->getBarPosition() == 'v-top'): ?>
20
+ <?php echo $this->getChildHtml('cookielaw.after_body_start.widget'); ?>
21
+ <?php endif; ?>
app/design/frontend/base/default/template/cookielaw/before_body_end.phtml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Valdecode - Cookie Law Compliance
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the The MIT License (MIT)
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://www.valdecode.com/license/cookielaw/license.txt
11
+ *
12
+ * @category Valdecode
13
+ * @package Valdecode_CookieLaw
14
+ * @copyright Copyright (c) 2014 Valdecode
15
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
16
+ */
17
+ ?>
18
+ <?php $_helper = Mage::helper('cookielaw'); ?>
19
+ <?php if ($_helper->getType() != 'v-bar' || $_helper->getBarPosition() != 'v-top'): ?>
20
+ <?php echo $this->getChildHtml('cookielaw.before_body_end.widget'); ?>
21
+ <?php endif; ?>
app/design/frontend/base/default/template/cookielaw/widget.phtml CHANGED
@@ -16,7 +16,7 @@
16
  */
17
  ?>
18
  <?php $_helper = Mage::helper('cookielaw'); ?>
19
- <?php if (true || $_helper->isActive()): ?>
20
  <div id="v-cookielaw"
21
  class="<?php echo $_helper->getType(); ?> <?php echo $_helper->getSkin(); ?> <?php echo ($_helper->getType() == 'v-bar') ? $_helper->getBarPosition() : $_helper->getBoxPosition(); ?>"
22
  style="display: none">
16
  */
17
  ?>
18
  <?php $_helper = Mage::helper('cookielaw'); ?>
19
+ <?php if ($_helper->isActive()): ?>
20
  <div id="v-cookielaw"
21
  class="<?php echo $_helper->getType(); ?> <?php echo $_helper->getSkin(); ?> <?php echo ($_helper->getType() == 'v-bar') ? $_helper->getBarPosition() : $_helper->getBoxPosition(); ?>"
22
  style="display: none">
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Vhaldecode_CookieLaw</name>
4
- <version>1.1.11</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.valdecode.com/license/cookielaw/license.txt">MIT</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>With EU Cookie Law Compliance your website complies with the EU Cookie Law. Elegant and responsive.</summary>
10
  <description>With EU Cookie Law Compliance your website complies with the EU Cookie Law. Elegant and responsive.</description>
11
- <notes>Disable extension for specific store view.</notes>
12
  <authors><author><name>Valdecode</name><user>Valdecode</user><email>info@valdecode.com</email></author></authors>
13
  <date>2014-09-03</date>
14
- <time>19:39:27</time>
15
- <contents><target name="magecommunity"><dir name="Valdecode"><dir name="CookieLaw"><dir><dir name="Helper"><file name="Data.php" hash="4cd6d0b433b2fe866b70a5ca2e243c73"/></dir><dir name="Model"><dir name="Config"><dir name="Bar"><file name="Position.php" hash="2e60a80e597789b717bc36f84b1e4377"/></dir><file name="Behaviour.php" hash="743013d311611109d8ffab0c41389bc9"/><dir name="Box"><file name="Position.php" hash="ef3ad00ae2ac6a06c9a99ec18efc749e"/></dir><file name="Message.php" hash="0e6bfe84b2580ce354552acc035d092c"/><file name="Skin.php" hash="e34c31f5d43fadaa223ff0b6dec99c06"/><file name="Type.php" hash="fc52cb69e4ee80af86cf2c601cf3b86e"/></dir></dir><dir name="etc"><file name="config.xml" hash="fb992a85f82204ca97aa87ef961210db"/><file name="system.xml" hash="f2207932d8602d2e2533c63605a586d0"/></dir></dir><file name="LICENSE.txt" hash="26b380479366863e061c42923b543b37"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Valdecode_CookieLaw.xml" hash="e7adaa88b42c61d001b26986e5f01729"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="6ebd3346b21188cd392ef0fece776f0e"/></dir><dir name="template"><dir name="cookielaw"><file name="widget.phtml" hash="74b128ed03754991ef60043e82eb542f"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="2664396eb94ee9806237b8866ed96cb1"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir><dir name="css"><file name="cookielaw.css" hash="73bb6a1a0d7559bce75849f87d988903"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir><dir name="css"><file name="cookielaw.css" hash="b357723c60914f8a1823364e31405155"/></dir><dir name="images"><file name="icon.png" hash="04424030d978ef131b7daafe920f23ea"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Valdecode_CookieLaw.csv" hash="8c0b438b3b881493196292433da834c0"/></dir><dir name="en_US"><file name="Valdecode_CookieLaw.csv" hash="e20c908d1e19e81e03591209c68b24a4"/></dir><dir name="es_ES"><file name="Valdecode_CookieLaw.csv" hash="a2cbbfa531bf83a7aa242e712994a632"/></dir><dir name="fr_FR"><file name="Valdecode_CookieLaw.csv" hash="a8bac4e60747368d50ae1938237e157d"/></dir><dir name="hu_HU"><file name="Valdecode_CookieLaw.csv" hash="707e25c44bd8ab7c0295f5c3a387292f"/></dir><dir name="nl_NL"><file name="Valdecode_CookieLaw.csv" hash="cd6b304edd0eacbc8cbd188d0375f43b"/></dir><dir name="ro_RO"><file name="Valdecode_CookieLaw.csv" hash="43f1b85b04ac02b1c1f873fb82df76db"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Vhaldecode_CookieLaw</name>
4
+ <version>1.1.12</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.valdecode.com/license/cookielaw/license.txt">MIT</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>With EU Cookie Law Compliance your website complies with the EU Cookie Law. Elegant and responsive.</summary>
10
  <description>With EU Cookie Law Compliance your website complies with the EU Cookie Law. Elegant and responsive.</description>
11
+ <notes>Optimized for SEO.</notes>
12
  <authors><author><name>Valdecode</name><user>Valdecode</user><email>info@valdecode.com</email></author></authors>
13
  <date>2014-09-03</date>
14
+ <time>20:24:43</time>
15
+ <contents><target name="magecommunity"><dir name="Valdecode"><dir name="CookieLaw"><dir><dir name="Helper"><file name="Data.php" hash="4cd6d0b433b2fe866b70a5ca2e243c73"/></dir><dir name="Model"><dir name="Config"><dir name="Bar"><file name="Position.php" hash="2e60a80e597789b717bc36f84b1e4377"/></dir><file name="Behaviour.php" hash="743013d311611109d8ffab0c41389bc9"/><dir name="Box"><file name="Position.php" hash="ef3ad00ae2ac6a06c9a99ec18efc749e"/></dir><file name="Message.php" hash="0e6bfe84b2580ce354552acc035d092c"/><file name="Skin.php" hash="e34c31f5d43fadaa223ff0b6dec99c06"/><file name="Type.php" hash="fc52cb69e4ee80af86cf2c601cf3b86e"/></dir></dir><dir name="etc"><file name="config.xml" hash="fb992a85f82204ca97aa87ef961210db"/><file name="system.xml" hash="f2207932d8602d2e2533c63605a586d0"/></dir></dir><file name="LICENSE.txt" hash="26b380479366863e061c42923b543b37"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Valdecode_CookieLaw.xml" hash="e7adaa88b42c61d001b26986e5f01729"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="36125de2ff1fcb020f697b723c00104d"/></dir><dir name="template"><dir name="cookielaw"><file name="after_body_start.phtml" hash="61e1808db8478cfcd652bc1c55b30d8d"/><file name="before_body_end.phtml" hash="22ac53c84561c19b19254800bc99f9b7"/><file name="widget.phtml" hash="dc8436b53cf6cdfce4b7c2f67881e547"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="2664396eb94ee9806237b8866ed96cb1"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir><dir name="css"><file name="cookielaw.css" hash="73bb6a1a0d7559bce75849f87d988903"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir><dir name="css"><file name="cookielaw.css" hash="b357723c60914f8a1823364e31405155"/></dir><dir name="images"><file name="icon.png" hash="04424030d978ef131b7daafe920f23ea"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Valdecode_CookieLaw.csv" hash="8c0b438b3b881493196292433da834c0"/></dir><dir name="en_US"><file name="Valdecode_CookieLaw.csv" hash="e20c908d1e19e81e03591209c68b24a4"/></dir><dir name="es_ES"><file name="Valdecode_CookieLaw.csv" hash="a2cbbfa531bf83a7aa242e712994a632"/></dir><dir name="fr_FR"><file name="Valdecode_CookieLaw.csv" hash="a8bac4e60747368d50ae1938237e157d"/></dir><dir name="hu_HU"><file name="Valdecode_CookieLaw.csv" hash="707e25c44bd8ab7c0295f5c3a387292f"/></dir><dir name="nl_NL"><file name="Valdecode_CookieLaw.csv" hash="cd6b304edd0eacbc8cbd188d0375f43b"/></dir><dir name="ro_RO"><file name="Valdecode_CookieLaw.csv" hash="43f1b85b04ac02b1c1f873fb82df76db"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>