Version Notes
Minor changes
Download this release
Release Info
Developer | Pere Garcia |
Extension | Vhaldecode_CookieLaw |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
app/code/community/Valdecode/CookieLaw/etc/system.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
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='';" />
|
25 |
Cookie Law Compliance
|
26 |
]]>
|
27 |
</label>
|
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='';" style="vertical-align: text-top" />
|
25 |
Cookie Law Compliance
|
26 |
]]>
|
27 |
</label>
|
app/design/frontend/base/default/template/cookielaw/widget.phtml
CHANGED
@@ -31,8 +31,12 @@
|
|
31 |
</div>
|
32 |
<script type="text/javascript">
|
33 |
function cookieLawAccept() {
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
36 |
Mage.Cookies.set('cookielaw', '1', d);
|
37 |
document.getElementById('v-cookielaw').style.display = 'none';
|
38 |
}
|
31 |
</div>
|
32 |
<script type="text/javascript">
|
33 |
function cookieLawAccept() {
|
34 |
+
if (<?php echo $_helper->getBehaviour(); ?>) {
|
35 |
+
var d = new Date();
|
36 |
+
d.setTime(d.getTime()+(365*24*60*60*1000)); // Remember 365 days
|
37 |
+
} else {
|
38 |
+
var d = null;
|
39 |
+
}
|
40 |
Mage.Cookies.set('cookielaw', '1', d);
|
41 |
document.getElementById('v-cookielaw').style.display = 'none';
|
42 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Vhaldecode_CookieLaw</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -11,8 +11,8 @@
|
|
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:
|
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="
|
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.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/OSL-3.0">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
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:50:25</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="2eab723d6b288de640503314480ee2e2"/></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="e2e6e6484fa929f22e5aa5f52acec908"/></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="6f3cad65ef2c49c54bfcd5f60ca69e11"/></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>
|
skin/frontend/base/default/valdecode/cookielaw/images/cookie.png
CHANGED
Binary file
|