Vhaldecode_CookieLaw - Version 1.1.5

Version Notes

Minor changes

Download this release

Release Info

Developer Pere Garcia
Extension Vhaldecode_CookieLaw
Version 1.1.5
Comparing to
See all releases


Code changes from version 1.1.4 to 1.1.5

app/code/community/Valdecode/CookieLaw/etc/config.xml CHANGED
@@ -19,7 +19,7 @@
19
  <config>
20
  <modules>
21
  <Valdecode_CookieLaw>
22
- <version>1.0.0</version>
23
  </Valdecode_CookieLaw>
24
  </modules>
25
  <global>
19
  <config>
20
  <modules>
21
  <Valdecode_CookieLaw>
22
+ <version>1.1.4</version>
23
  </Valdecode_CookieLaw>
24
  </modules>
25
  <global>
app/code/community/Valdecode/CookieLaw/etc/system.xml CHANGED
@@ -18,7 +18,7 @@
18
  -->
19
  <config>
20
  <sections>
21
- <cookielaw translate="label" module="cookielaw">
22
  <label>
23
  <![CDATA[
24
  <img src="/skin/frontend/base/default/valdecode/cookielaw/images/cookie.png" height="13" onerror="this.src='';" />
18
  -->
19
  <config>
20
  <sections>
21
+ <cookielaw module="cookielaw">
22
  <label>
23
  <![CDATA[
24
  <img src="/skin/frontend/base/default/valdecode/cookielaw/images/cookie.png" height="13" onerror="this.src='';" />
app/design/frontend/base/default/template/cookielaw/widget.phtml CHANGED
@@ -15,7 +15,6 @@
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  ?>
18
- <?php /** @var $this Valdecode_CookieLaw_Model_Config_Skin */ ?>
19
  <?php $_helper = Mage::helper('cookielaw'); ?>
20
  <div id="v-cookielaw" class="<?php echo $_helper->getType(); ?> <?php echo $_helper->getSkin(); ?> <?php echo ($_helper->getType() == 'v-bar') ? $_helper->getBarPosition() : $_helper->getBoxPosition(); ?>" style="display: none">
21
  <div class="v-message">
@@ -35,11 +34,7 @@
35
  var d = new Date();
36
  if (<?php echo $_helper->getBehaviour(); ?>) d.setTime(d.getTime()+(365*24*60*60*1000)); // Remember 365 days
37
  Mage.Cookies.set('cookielaw', '1', d);
38
- if (typeof jQuery == 'undefined') {
39
- document.getElementById('v-cookielaw').style.display = 'none';
40
- } else {
41
- jQuery('#v-cookielaw').slideUp();
42
- }
43
  }
44
 
45
  if (!Mage.Cookies.get('cookielaw')) document.getElementById('v-cookielaw').style.display = '';
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  ?>
 
18
  <?php $_helper = Mage::helper('cookielaw'); ?>
19
  <div id="v-cookielaw" class="<?php echo $_helper->getType(); ?> <?php echo $_helper->getSkin(); ?> <?php echo ($_helper->getType() == 'v-bar') ? $_helper->getBarPosition() : $_helper->getBoxPosition(); ?>" style="display: none">
20
  <div class="v-message">
34
  var d = new Date();
35
  if (<?php echo $_helper->getBehaviour(); ?>) d.setTime(d.getTime()+(365*24*60*60*1000)); // Remember 365 days
36
  Mage.Cookies.set('cookielaw', '1', d);
37
+ document.getElementById('v-cookielaw').style.display = 'none';
 
 
 
 
38
  }
39
 
40
  if (!Mage.Cookies.get('cookielaw')) document.getElementById('v-cookielaw').style.display = '';
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Vhaldecode_CookieLaw</name>
4
- <version>1.1.4</version>
5
  <stability>stable</stability>
6
- <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Make sure your website complies with the EU Cookie Law with this customizable extension.</summary>
10
  <description>Another EU Cookie Law Compliance extension. This extension adds a notice telling your visitors that the site uses cookies.</description>
11
- <notes>Fixing More information link</notes>
12
- <authors><author><name>Valdecode</name><user>vhalde</user><email>vhalde@mailhaven.com</email></author></authors>
13
- <date>2014-06-06</date>
14
- <time>13:06:52</time>
15
- <contents><target name="magecommunity"><dir name="Valdecode"><dir name="CookieLaw"><dir name="Helper"><file name="Data.php" hash="61545b1b898b24dfb9a4280a0771231b"/></dir><file name="LICENSE.txt" hash="d81777dd1924b2f3d99f3b6c0aaed61f"/><file name="LICENSE_AFL.txt" hash="33737cdc3b2d094e52cfd4d6727990ac"/><dir name="Model"><dir name="Config"><dir name="Bar"><file name="Position.php" hash="c9402776a8d8c74ab95782df10bc625f"/></dir><file name="Behaviour.php" hash="e6925152098e6d1d7bdb27b08440498c"/><dir name="Box"><file name="Position.php" hash="49f2d38e7e757c53be15ac10611cb4f7"/></dir><file name="Message.php" hash="2762bd2c5e084d9919baecf43a3f2a51"/><file name="Skin.php" hash="e0e9e6e737b30639470737a84e33515d"/><file name="Type.php" hash="55e650a6e1298ac20c37091f224e47bb"/></dir></dir><dir name="etc"><file name="config.xml" hash="c723ab0b54e96eaf4bbff30e7e44b4e8"/><file name="system.xml" hash="3627e2cd7ae9e5867dc23ebac15ee234"/></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir name="css"><file name="cookielaw.css" hash="6028904f0778a7c5cf650b108edde7b3"/></dir><dir name="images"><file name="cookie.png" hash="824f63b8d34b2b4893c4566b4a0a8926"/></dir></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="0c3d4b90790a043765bb9127d0025e01"/></dir><dir name="template"><dir name="cookielaw"><file name="widget.phtml" hash="b93fbae1c795ea6548defc02878ba6b1"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Valdecode_CookieLaw.csv" hash="e5ffaf29bdb1aa183b6e45f95a213724"/></dir><dir name="en_US"><file name="Valdecode_CookieLaw.csv" hash="0676570656ff1059aefa98b822d193ea"/></dir><dir name="es_ES"><file name="Valdecode_CookieLaw.csv" hash="db007fdcec1030dd834fb75bd388e041"/></dir><dir name="fr_FR"><file name="Valdecode_CookieLaw.csv" hash="1174ccc6040540e1074da358434db78e"/></dir><dir name="hu_HU"><file name="Valdecode_CookieLaw.csv" hash="b76c83eb16084ae2a7e71fd1d894d190"/></dir><dir name="nl_NL"><file name="Valdecode_CookieLaw.csv" hash="7bf07a898b30e3126c792bc1d3538734"/></dir><dir name="ro_RO"><file name="Valdecode_CookieLaw.csv" hash="d261434ce98f4e72789d2ff0f3e8a9f2"/></dir></target><target name="mageetc"><dir name="modules"><file name="Valdecode_CookieLaw.xml" hash="1c031f6ec39e892c0163383c7be44263"/></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.5</version>
5
  <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Make sure your website complies with the EU Cookie Law with this customizable extension.</summary>
10
  <description>Another EU Cookie Law Compliance extension. This extension adds a notice telling your visitors that the site uses cookies.</description>
11
+ <notes>Minor changes</notes>
12
+ <authors><author><name>Pere Garcia</name><user>vhalde</user><email>vhalde@mailhaven.com</email></author></authors>
13
+ <date>2014-06-20</date>
14
+ <time>16:26:03</time>
15
+ <contents><target name="magecommunity"><dir name="Valdecode"><dir name="CookieLaw"><dir><dir name="Helper"><file name="Data.php" hash="61545b1b898b24dfb9a4280a0771231b"/></dir><dir name="Model"><dir name="Config"><dir name="Bar"><file name="Position.php" hash="c9402776a8d8c74ab95782df10bc625f"/></dir><file name="Behaviour.php" hash="e6925152098e6d1d7bdb27b08440498c"/><dir name="Box"><file name="Position.php" hash="49f2d38e7e757c53be15ac10611cb4f7"/></dir><file name="Message.php" hash="2762bd2c5e084d9919baecf43a3f2a51"/><file name="Skin.php" hash="e0e9e6e737b30639470737a84e33515d"/><file name="Type.php" hash="55e650a6e1298ac20c37091f224e47bb"/></dir></dir><dir name="etc"><file name="config.xml" hash="83b17bdd6dd6ed5ae7b933aa03a498fa"/><file name="system.xml" hash="2573a0e4a581e9c088655a7132789f08"/></dir></dir><file name="LICENSE.txt" hash="d81777dd1924b2f3d99f3b6c0aaed61f"/><file name="LICENSE_AFL.txt" hash="33737cdc3b2d094e52cfd4d6727990ac"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="0c3d4b90790a043765bb9127d0025e01"/></dir><dir name="template"><dir name="cookielaw"><file name="widget.phtml" hash="891252d71fba1b542b418ca0402fa05f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Valdecode_CookieLaw.xml" hash="1c031f6ec39e892c0163383c7be44263"/></dir></target><target name="magelocale"><dir name="de_DE"><file name="Valdecode_CookieLaw.csv" hash="e5ffaf29bdb1aa183b6e45f95a213724"/></dir><dir name="es_ES"><file name="Valdecode_CookieLaw.csv" hash="db007fdcec1030dd834fb75bd388e041"/></dir><dir name="en_US"><file name="Valdecode_CookieLaw.csv" hash="0676570656ff1059aefa98b822d193ea"/></dir><dir name="fr_FR"><file name="Valdecode_CookieLaw.csv" hash="1174ccc6040540e1074da358434db78e"/></dir><dir name="hu_HU"><file name="Valdecode_CookieLaw.csv" hash="b76c83eb16084ae2a7e71fd1d894d190"/></dir><dir name="nl_NL"><file name="Valdecode_CookieLaw.csv" hash="7bf07a898b30e3126c792bc1d3538734"/></dir><dir name="ro_RO"><file name="Valdecode_CookieLaw.csv" hash="d261434ce98f4e72789d2ff0f3e8a9f2"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir name="css"><file name="cookielaw.css" hash="6028904f0778a7c5cf650b108edde7b3"/></dir><dir name="images"><file name="cookie.png" hash="824f63b8d34b2b4893c4566b4a0a8926"/></dir></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>