Version Notes
Resolved missing assets.
Download this release
Release Info
Developer | Arron Moss |
Extension | Zero1_Cookiealert |
Version | 1.0.6 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.6
app/design/frontend/base/default/template/cookiealert/cookiealert.phtml
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if(Mage::getStoreConfig('cookiealert/options/enabled'))
|
3 |
+
{
|
4 |
+
?>
|
5 |
+
<div id="cookiealert" class="cookiealert" style="display: none;">
|
6 |
+
<div class="message">
|
7 |
+
<span class="cookie-title"><?php echo $this->__('Cookie Policy');?></span>
|
8 |
+
<p>
|
9 |
+
<?php echo $this->__('This website uses cookies to ensure proper functionality of the shopping cart and checkout progress. By continuing to browse the site you are agreeing to the use of cookies.');?>
|
10 |
+
<a href="<?php echo $this->getCmsPageUrl(); ?>"><?php echo $this->__('Click here to learn about cookie settings.'); ?></a>
|
11 |
+
</p>
|
12 |
+
<p class="close">
|
13 |
+
<a href="javascript:closeCookieAlert();"><?php echo $this->__('Close');?></a>
|
14 |
+
</p>
|
15 |
+
</div>
|
16 |
+
</div>
|
17 |
+
<script type="text/javascript">
|
18 |
+
function closeCookieAlert()
|
19 |
+
{
|
20 |
+
Mage.Cookies.set('cookieAlertClosedFlag', 1, new Date(new Date().getTime() + (1000 * 60 * 60 * 24 * 364)));
|
21 |
+
document.getElementById('cookiealert').style.display = 'none';
|
22 |
+
}
|
23 |
+
|
24 |
+
if(!Mage.Cookies.get('cookieAlertClosedFlag'))
|
25 |
+
{
|
26 |
+
document.getElementById('cookiealert').style.display = '';
|
27 |
+
}
|
28 |
+
</script>
|
29 |
+
<?php
|
30 |
+
}
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Zero1_Cookiealert</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EU Cookie Alert module</summary>
|
10 |
<description>EU Cookie Alert module</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Arron Moss</name><user>zero1limited</user><email>arron.moss@zero1.co.uk</email></author></authors>
|
13 |
-
<date>2014-04-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Zero1"><dir name="Cookiealert"><dir name="Block"><file name="Cookiealert.php" hash="edcbd90a12d4907c751f610fb987425c"/></dir><dir name="Helper"><file name="Data.php" hash="59f4cb7c7f7cd5285a3db55153eff583"/></dir><dir name="Model"><file name="Cookiealert.php" hash="116acbd3add322d389e95316420c56d4"/></dir><dir name="controllers"><file name="IndexController.php" hash="02d15b278a410e1c73df8a38bf62bb92"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f063b5e621c2c314b17496df733ae96"/><file name="config.xml" hash="e3ff961487cfdeeb8bbb28664733427a"/><file name="system.xml" hash="f429aaf2dddaf9506ba365398bf3ba49"/></dir><file name=".DS_Store" hash="1dcf4d325e6c5f915f06d957fe08104b"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Zero1_Cookiealert.xml" hash="36f0e58b1db5291f4dd7c6f8d5a54ca3"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookiealert.xml" hash="42c1ad60c4c6488abdd1e2ab8ebf6263"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="it_IT"><file name="Zero1_Cookiealert.csv" hash="887f8b7eca053d6ab04736290de7620f"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Zero1_Cookiealert</name>
|
4 |
+
<version>1.0.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Commercial</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EU Cookie Alert module</summary>
|
10 |
<description>EU Cookie Alert module</description>
|
11 |
+
<notes>Resolved missing assets.</notes>
|
12 |
<authors><author><name>Arron Moss</name><user>zero1limited</user><email>arron.moss@zero1.co.uk</email></author></authors>
|
13 |
+
<date>2014-04-25</date>
|
14 |
+
<time>08:18:03</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Zero1"><dir name="Cookiealert"><dir name="Block"><file name="Cookiealert.php" hash="edcbd90a12d4907c751f610fb987425c"/></dir><dir name="Helper"><file name="Data.php" hash="59f4cb7c7f7cd5285a3db55153eff583"/></dir><dir name="Model"><file name="Cookiealert.php" hash="116acbd3add322d389e95316420c56d4"/></dir><dir name="controllers"><file name="IndexController.php" hash="02d15b278a410e1c73df8a38bf62bb92"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f063b5e621c2c314b17496df733ae96"/><file name="config.xml" hash="e3ff961487cfdeeb8bbb28664733427a"/><file name="system.xml" hash="f429aaf2dddaf9506ba365398bf3ba49"/></dir><file name=".DS_Store" hash="1dcf4d325e6c5f915f06d957fe08104b"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Zero1_Cookiealert.xml" hash="36f0e58b1db5291f4dd7c6f8d5a54ca3"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookiealert.xml" hash="42c1ad60c4c6488abdd1e2ab8ebf6263"/></dir><dir name="template"><dir name="cookiealert"><file name="cookiealert.phtml" hash="b796ba2037eca2560deac6ac977cb593"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="it_IT"><file name="Zero1_Cookiealert.csv" hash="887f8b7eca053d6ab04736290de7620f"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|