Version Notes
Added Italian translations
Download this release
Release Info
Developer | Arron Moss |
Extension | Zero1_Cookiealert |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
app/code/community/Zero1/Cookiealert/etc/config.xml
CHANGED
@@ -1,67 +1,57 @@
|
|
1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Zero1_Cookiealert>
|
5 |
-
<version>0.1.0</version>
|
6 |
-
</Zero1_Cookiealert>
|
7 |
-
</modules>
|
8 |
-
|
9 |
-
<global>
|
10 |
-
<blocks>
|
11 |
-
<cookiealert>
|
12 |
-
<class>Zero1_Cookiealert_Block</class>
|
13 |
-
</cookiealert>
|
14 |
-
</blocks>
|
15 |
-
|
16 |
-
<models>
|
17 |
-
<cookiealert>
|
18 |
-
<class>Zero1_Cookiealert_Model</class>
|
19 |
-
</cookiealert>
|
20 |
-
</models>
|
21 |
-
|
22 |
-
<helpers>
|
23 |
-
<cookiealert>
|
24 |
-
<class>Zero1_Cookiealert_Helper</class>
|
25 |
-
</cookiealert>
|
26 |
-
</helpers>
|
27 |
-
</global>
|
28 |
-
|
29 |
-
<frontend>
|
30 |
-
<routers>
|
31 |
-
<cookiealert>
|
32 |
-
<use>standard</use>
|
33 |
-
<args>
|
34 |
-
<module>Zero1_Cookiealert</module>
|
35 |
-
<frontName>cookiealert</frontName>
|
36 |
-
</args>
|
37 |
-
</cookiealert>
|
38 |
-
</routers>
|
39 |
-
|
40 |
-
<layout>
|
41 |
-
<updates>
|
42 |
-
<cookiealert>
|
43 |
-
<file>cookiealert.xml</file>
|
44 |
-
</cookiealert>
|
45 |
-
</updates>
|
46 |
-
</layout>
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
</frontend>
|
58 |
-
|
59 |
-
<default>
|
60 |
-
<cookiealert>
|
61 |
-
<options>
|
62 |
-
<enabled>1</enabled>
|
63 |
-
<cms_page>home</cms_page>
|
64 |
-
</options>
|
65 |
-
</cookiealert>
|
66 |
-
</default>
|
67 |
</config>
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Zero1_Cookiealert>
|
5 |
+
<version>0.1.0</version>
|
6 |
+
</Zero1_Cookiealert>
|
7 |
+
</modules>
|
8 |
+
|
9 |
+
<global>
|
10 |
+
<blocks>
|
11 |
+
<cookiealert>
|
12 |
+
<class>Zero1_Cookiealert_Block</class>
|
13 |
+
</cookiealert>
|
14 |
+
</blocks>
|
15 |
+
|
16 |
+
<models>
|
17 |
+
<cookiealert>
|
18 |
+
<class>Zero1_Cookiealert_Model</class>
|
19 |
+
</cookiealert>
|
20 |
+
</models>
|
21 |
+
|
22 |
+
<helpers>
|
23 |
+
<cookiealert>
|
24 |
+
<class>Zero1_Cookiealert_Helper</class>
|
25 |
+
</cookiealert>
|
26 |
+
</helpers>
|
27 |
+
</global>
|
28 |
+
|
29 |
+
<frontend>
|
30 |
+
<routers>
|
31 |
+
<cookiealert>
|
32 |
+
<use>standard</use>
|
33 |
+
<args>
|
34 |
+
<module>Zero1_Cookiealert</module>
|
35 |
+
<frontName>cookiealert</frontName>
|
36 |
+
</args>
|
37 |
+
</cookiealert>
|
38 |
+
</routers>
|
39 |
+
|
40 |
+
<layout>
|
41 |
+
<updates>
|
42 |
+
<cookiealert>
|
43 |
+
<file>cookiealert.xml</file>
|
44 |
+
</cookiealert>
|
45 |
+
</updates>
|
46 |
+
</layout>
|
47 |
+
</frontend>
|
48 |
+
|
49 |
+
<default>
|
50 |
+
<cookiealert>
|
51 |
+
<options>
|
52 |
+
<enabled>1</enabled>
|
53 |
+
<cms_page>home</cms_page>
|
54 |
+
</options>
|
55 |
+
</cookiealert>
|
56 |
+
</default>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
</config>
|
app/design/frontend/base/default/layout/cookiealert.xml
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout>
|
3 |
-
<default>
|
4 |
-
<reference name="head">
|
5 |
-
<action method="addItem"><type>skin_css</type><name>cookiealert/css/cookiealert.css</name></action>
|
6 |
-
</reference>
|
7 |
-
<reference name="after_body_start">
|
8 |
-
<block type="cookiealert/cookiealert" before="-" name="cookiealert" template="cookiealert/cookiealert.phtml" />
|
9 |
-
</reference>
|
10 |
-
</default>
|
11 |
-
</layout>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout>
|
3 |
+
<default>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addItem"><type>skin_css</type><name>cookiealert/css/cookiealert.css</name></action>
|
6 |
+
</reference>
|
7 |
+
<reference name="after_body_start">
|
8 |
+
<block type="cookiealert/cookiealert" before="-" name="cookiealert" template="cookiealert/cookiealert.phtml" />
|
9 |
+
</reference>
|
10 |
+
</default>
|
11 |
+
</layout>
|
app/design/frontend/base/default/template/cookiealert/cookiealert.phtml
DELETED
@@ -1,30 +0,0 @@
|
|
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
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>EU Cookie Alert module</summary>
|
10 |
<description>EU Cookie Alert module</description>
|
11 |
<notes>Added Italian translations</notes>
|
12 |
<authors><author><name>Arron Moss</name><user>zero1limited</user><email>arron.moss@zero1.co.uk</email></author></authors>
|
13 |
-
<date>
|
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="
|
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.5</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>Added Italian translations</notes>
|
12 |
<authors><author><name>Arron Moss</name><user>zero1limited</user><email>arron.moss@zero1.co.uk</email></author></authors>
|
13 |
+
<date>2014-04-17</date>
|
14 |
+
<time>15:47:11</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>
|
skin/frontend/base/default/cookiealert/css/cookiealert.css
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
.cookiealert{background: #333; color: #fff; padding: 5px 0; font: 12px/18px Arial, Helvetica, sans-serif;}
|
2 |
-
.cookiealert .message{width: 960px; margin: 0 auto;}
|
3 |
-
.cookiealert .message span.cookie-title{display: block; color: #fff; font-size: 16px; font-weight: bold; margin: 0.4em 0 0;}
|
4 |
-
.cookiealert .message a{color: #f90; text-decoration: underline;}
|
5 |
-
.cookiealert .message a:hover{text-decoration: none;}
|
6 |
-
.cookiealert .message .close a{font-size: 16px; text-decoration: none; font-weight: bold;}
|
7 |
-
.cookiealert .message .close a:hover{text-decoration: underline;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|