Vhaldecode_CookieLaw - Version 1.1.10

Version Notes

Disable extension for specific store view.

Download this release

Release Info

Developer Valdecode
Extension Vhaldecode_CookieLaw
Version 1.1.10
Comparing to
See all releases


Code changes from version 1.1.9 to 1.1.10

app/code/community/Valdecode/CookieLaw/Helper/Data.php CHANGED
@@ -1,73 +1,79 @@
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
- class Valdecode_CookieLaw_Helper_Data extends Mage_Core_Helper_Abstract
18
- {
19
- public function getType()
20
- {
21
- return Mage::getStoreConfig('cookielaw/general/type');
22
- }
23
-
24
- public function getBarPosition()
25
- {
26
- return Mage::getStoreConfig('cookielaw/general/bar_position');
27
- }
28
-
29
- public function getBoxPosition()
30
- {
31
- return Mage::getStoreConfig('cookielaw/general/box_position');
32
- }
33
-
34
- public function getSkin()
35
- {
36
- return Mage::getStoreConfig('cookielaw/general/skin');
37
- }
38
-
39
- public function getBehaviour()
40
- {
41
- return Mage::getStoreConfig('cookielaw/general/behaviour');
42
- }
43
-
44
- public function getAutohide()
45
- {
46
- return Mage::getStoreConfig('cookielaw/general/autohide');
47
- }
48
-
49
- public function getCmsPage()
50
- {
51
- return Mage::getUrl(Mage::getStoreConfig('cookielaw/content/cms_page'));
52
- }
53
-
54
- public function getShow()
55
- {
56
- return Mage::getStoreConfig('cookielaw/content/show');
57
- }
58
-
59
- public function getCustomMessage()
60
- {
61
- return Mage::getStoreConfig('cookielaw/content/custom_message');
62
- }
63
-
64
- public function getCustomMoreInfo()
65
- {
66
- return Mage::getStoreConfig('cookielaw/content/custom_more_info');
67
- }
68
-
69
- public function getCustomAccept()
70
- {
71
- return Mage::getStoreConfig('cookielaw/content/custom_accept');
72
- }
73
- }
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Helper_Data extends Mage_Core_Helper_Abstract
19
+ {
20
+ public function isActive()
21
+ {
22
+ return !Mage::getStoreConfig('advanced/modules_disable_output/Valdecode_CookieLaw');
23
+ }
24
+
25
+ public function getType()
26
+ {
27
+ return Mage::getStoreConfig('cookielaw/general/type');
28
+ }
29
+
30
+ public function getBarPosition()
31
+ {
32
+ return Mage::getStoreConfig('cookielaw/general/bar_position');
33
+ }
34
+
35
+ public function getBoxPosition()
36
+ {
37
+ return Mage::getStoreConfig('cookielaw/general/box_position');
38
+ }
39
+
40
+ public function getSkin()
41
+ {
42
+ return Mage::getStoreConfig('cookielaw/general/skin');
43
+ }
44
+
45
+ public function getBehaviour()
46
+ {
47
+ return Mage::getStoreConfig('cookielaw/general/behaviour');
48
+ }
49
+
50
+ public function getAutohide()
51
+ {
52
+ return Mage::getStoreConfig('cookielaw/general/autohide');
53
+ }
54
+
55
+ public function getCmsPage()
56
+ {
57
+ return Mage::getUrl(Mage::getStoreConfig('cookielaw/content/cms_page'));
58
+ }
59
+
60
+ public function getShow()
61
+ {
62
+ return Mage::getStoreConfig('cookielaw/content/show');
63
+ }
64
+
65
+ public function getCustomMessage()
66
+ {
67
+ return Mage::getStoreConfig('cookielaw/content/custom_message');
68
+ }
69
+
70
+ public function getCustomMoreInfo()
71
+ {
72
+ return Mage::getStoreConfig('cookielaw/content/custom_more_info');
73
+ }
74
+
75
+ public function getCustomAccept()
76
+ {
77
+ return Mage::getStoreConfig('cookielaw/content/custom_accept');
78
+ }
79
+ }
app/code/community/Valdecode/CookieLaw/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014 Valdecode
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
  SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Valdecode
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
  SOFTWARE.
app/code/community/Valdecode/CookieLaw/Model/Config/Bar/Position.php CHANGED
@@ -1,26 +1,27 @@
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
- class Valdecode_CookieLaw_Model_Config_Bar_Position
18
- {
19
- public function toOptionArray()
20
- {
21
- return array(
22
- array('value' => 'v-top', 'label' => 'Top'),
23
- array('value' => 'v-bottom', 'label' => 'Bottom'),
24
- );
25
- }
26
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Model_Config_Bar_Position
19
+ {
20
+ public function toOptionArray()
21
+ {
22
+ return array(
23
+ array('value' => 'v-top', 'label' => 'Top'),
24
+ array('value' => 'v-bottom', 'label' => 'Bottom'),
25
+ );
26
+ }
27
+ }
app/code/community/Valdecode/CookieLaw/Model/Config/Behaviour.php CHANGED
@@ -1,27 +1,28 @@
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
- class Valdecode_CookieLaw_Model_Config_Behaviour
18
- {
19
- public function toOptionArray()
20
- {
21
- return array(
22
- array('value' => 365, 'label' => 'Never show again'),
23
- array('value' => 1, 'label' => 'Hide for the rest of the day'),
24
- array('value' => 0, 'label' => 'Hide for the rest of the session')
25
- );
26
- }
27
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Model_Config_Behaviour
19
+ {
20
+ public function toOptionArray()
21
+ {
22
+ return array(
23
+ array('value' => 365, 'label' => 'Never show again'),
24
+ array('value' => 1, 'label' => 'Hide for the rest of the day'),
25
+ array('value' => 0, 'label' => 'Hide for the rest of the session')
26
+ );
27
+ }
28
+ }
app/code/community/Valdecode/CookieLaw/Model/Config/Box/Position.php CHANGED
@@ -1,28 +1,29 @@
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
- class Valdecode_CookieLaw_Model_Config_Box_Position
18
- {
19
- public function toOptionArray()
20
- {
21
- return array(
22
- array('value' => 'v-top-left', 'label' => 'Top left'),
23
- array('value' => 'v-top-right', 'label' => 'Top right'),
24
- array('value' => 'v-bottom-left', 'label' => 'Bottom left'),
25
- array('value' => 'v-bottom-right', 'label' => 'Bottom right'),
26
- );
27
- }
28
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Model_Config_Box_Position
19
+ {
20
+ public function toOptionArray()
21
+ {
22
+ return array(
23
+ array('value' => 'v-top-left', 'label' => 'Top left'),
24
+ array('value' => 'v-top-right', 'label' => 'Top right'),
25
+ array('value' => 'v-bottom-left', 'label' => 'Bottom left'),
26
+ array('value' => 'v-bottom-right', 'label' => 'Bottom right'),
27
+ );
28
+ }
29
+ }
app/code/community/Valdecode/CookieLaw/Model/Config/Message.php CHANGED
@@ -1,26 +1,27 @@
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
- class Valdecode_CookieLaw_Model_Config_Message
18
- {
19
- public function toOptionArray()
20
- {
21
- return array(
22
- array('value' => 'default', 'label' => 'Default message'),
23
- array('value' => 'custom', 'label' => 'Custom message'),
24
- );
25
- }
26
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Model_Config_Message
19
+ {
20
+ public function toOptionArray()
21
+ {
22
+ return array(
23
+ array('value' => 'default', 'label' => 'Default message'),
24
+ array('value' => 'custom', 'label' => 'Custom message'),
25
+ );
26
+ }
27
+ }
app/code/community/Valdecode/CookieLaw/Model/Config/Skin.php CHANGED
@@ -1,28 +1,29 @@
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
- class Valdecode_CookieLaw_Model_Config_Skin
18
- {
19
- public function toOptionArray()
20
- {
21
- return array(
22
- array('value' => '', 'label' => 'Without skin'),
23
- array('value' => 'v-yellow-alert', 'label' => 'Yellow alert'),
24
- array('value' => 'v-dark-clean', 'label' => 'Dark clean'),
25
- array('value' => 'v-minimalist', 'label' => 'Minimalist')
26
- );
27
- }
28
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Model_Config_Skin
19
+ {
20
+ public function toOptionArray()
21
+ {
22
+ return array(
23
+ array('value' => '', 'label' => 'Without skin'),
24
+ array('value' => 'v-yellow-alert', 'label' => 'Yellow alert'),
25
+ array('value' => 'v-dark-clean', 'label' => 'Dark clean'),
26
+ array('value' => 'v-minimalist', 'label' => 'Minimalist')
27
+ );
28
+ }
29
+ }
app/code/community/Valdecode/CookieLaw/Model/Config/Type.php CHANGED
@@ -1,26 +1,27 @@
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
- class Valdecode_CookieLaw_Model_Config_Type
18
- {
19
- public function toOptionArray()
20
- {
21
- return array(
22
- array('value' => 'v-bar', 'label' => 'Bar'),
23
- array('value' => 'v-box', 'label' => 'Box'),
24
- );
25
- }
26
- }
 
1
+ <?php
2
+
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ class Valdecode_CookieLaw_Model_Config_Type
19
+ {
20
+ public function toOptionArray()
21
+ {
22
+ return array(
23
+ array('value' => 'v-bar', 'label' => 'Bar'),
24
+ array('value' => 'v-box', 'label' => 'Box'),
25
+ );
26
+ }
27
+ }
app/code/community/Valdecode/CookieLaw/etc/system.xml CHANGED
@@ -1,170 +1,180 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Valdecode - Cookie Law Compliance
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the The MIT License (MIT)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://www.valdecode.com/license/cookielaw/license.txt
12
- *
13
- * @category Valdecode
14
- * @package Valdecode_CookieLaw
15
- * @copyright Copyright (c) 2014 Valdecode
16
- * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
- */
18
- -->
19
- <config>
20
- <sections>
21
- <cookielaw module="cookielaw">
22
- <label>Cookie Law Compliance</label>
23
- <class>v-cookielaw-section</class>
24
- <header_css>v-cookielaw-header</header_css>
25
- <tab>general</tab>
26
- <sort_order>9000</sort_order>
27
- <show_in_default>1</show_in_default>
28
- <show_in_website>1</show_in_website>
29
- <show_in_store>1</show_in_store>
30
- <groups>
31
- <general translate="label" module="cookielaw">
32
- <label>General</label>
33
- <comment>
34
- <![CDATA[
35
- <div class="v-cookielaw-notice">
36
- <b><a href="http://www.magentocommerce.com/magento-connect/eu-cookie-law-compliance-3.html" target="_blank">Cookie Law Compliance</a></b>
37
- is a <b><a href="http://www.valdecode.com/" target="_blank">Valdecode</a></b>
38
- extension.<br/><span class="advice">We would like you to review this extension
39
- at Magento Connect. If you feel that we do not deserve a 5 star review, please contact us right
40
- away before leaving a neutral or negative review, so we can try to correct the problem.</span>
41
- </div>
42
- ]]>
43
- </comment>
44
- <frontend_type>text</frontend_type>
45
- <sort_order>1</sort_order>
46
- <expanded>1</expanded>
47
- <show_in_default>1</show_in_default>
48
- <show_in_website>1</show_in_website>
49
- <show_in_store>1</show_in_store>
50
- <fields>
51
- <type translate="label">
52
- <label>Type</label>
53
- <frontend_type>select</frontend_type>
54
- <sort_order>1</sort_order>
55
- <show_in_default>1</show_in_default>
56
- <show_in_website>1</show_in_website>
57
- <show_in_store>1</show_in_store>
58
- <source_model>cookielaw/config_type</source_model>
59
- </type>
60
- <bar_position translate="label">
61
- <label>Bar position</label>
62
- <comment>[Top] does not cover the content, [Bottom] is fixed.</comment>
63
- <frontend_type>select</frontend_type>
64
- <sort_order>2</sort_order>
65
- <show_in_default>1</show_in_default>
66
- <show_in_website>1</show_in_website>
67
- <show_in_store>1</show_in_store>
68
- <depends><type>v-bar</type></depends>
69
- <source_model>cookielaw/config_bar_position</source_model>
70
- </bar_position>
71
- <box_position translate="label">
72
- <label>Box position</label>
73
- <frontend_type>select</frontend_type>
74
- <sort_order>3</sort_order>
75
- <show_in_default>1</show_in_default>
76
- <show_in_website>1</show_in_website>
77
- <show_in_store>1</show_in_store>
78
- <depends><type>v-box</type></depends>
79
- <source_model>cookielaw/config_box_position</source_model>
80
- </box_position>
81
- <skin translate="label">
82
- <label>Skin</label>
83
- <frontend_type>select</frontend_type>
84
- <sort_order>4</sort_order>
85
- <show_in_default>1</show_in_default>
86
- <show_in_website>1</show_in_website>
87
- <show_in_store>1</show_in_store>
88
- <source_model>cookielaw/config_skin</source_model>
89
- </skin>
90
- <behaviour translate="label">
91
- <label>When visitor closes the notice</label>
92
- <frontend_type>select</frontend_type>
93
- <sort_order>5</sort_order>
94
- <show_in_default>1</show_in_default>
95
- <show_in_website>1</show_in_website>
96
- <show_in_store>1</show_in_store>
97
- <source_model>cookielaw/config_behaviour</source_model>
98
- </behaviour>
99
- <autohide translate="label">
100
- <label>Autohide (in seconds)</label>
101
- <comment>If [0] then the notice won't close automatically.</comment>
102
- <frontend_type>text</frontend_type>
103
- <sort_order>6</sort_order>
104
- <show_in_default>1</show_in_default>
105
- <show_in_website>1</show_in_website>
106
- <show_in_store>1</show_in_store>
107
- </autohide>
108
- </fields>
109
- </general>
110
- <content translate="label" module="cookielaw">
111
- <label>Content</label>
112
- <frontend_type>text</frontend_type>
113
- <sort_order>2</sort_order>
114
- <expanded>1</expanded>
115
- <show_in_default>1</show_in_default>
116
- <show_in_website>1</show_in_website>
117
- <show_in_store>1</show_in_store>
118
- <fields>
119
- <show translate="label">
120
- <label>Content</label>
121
- <frontend_type>select</frontend_type>
122
- <sort_order>1</sort_order>
123
- <show_in_default>1</show_in_default>
124
- <show_in_website>1</show_in_website>
125
- <show_in_store>1</show_in_store>
126
- <source_model>cookielaw/config_message</source_model>
127
- </show>
128
- <custom_message translate="label">
129
- <label>Message text</label>
130
- <frontend_type>text</frontend_type>
131
- <sort_order>2</sort_order>
132
- <show_in_default>1</show_in_default>
133
- <show_in_website>1</show_in_website>
134
- <show_in_store>1</show_in_store>
135
- <depends><show>custom</show></depends>
136
- </custom_message>
137
- <custom_accept translate="label">
138
- <label>Accept text</label>
139
- <frontend_type>text</frontend_type>
140
- <sort_order>3</sort_order>
141
- <show_in_default>1</show_in_default>
142
- <show_in_website>1</show_in_website>
143
- <show_in_store>1</show_in_store>
144
- <depends><show>custom</show></depends>
145
- </custom_accept>
146
- <custom_more_info translate="label">
147
- <label>More information text</label>
148
- <frontend_type>text</frontend_type>
149
- <sort_order>4</sort_order>
150
- <show_in_default>1</show_in_default>
151
- <show_in_website>1</show_in_website>
152
- <show_in_store>1</show_in_store>
153
- <depends><show>custom</show></depends>
154
- </custom_more_info>
155
- <cms_page translate="label">
156
- <label>More information page</label>
157
- <comment>CMS page with information about cookies and how to manage them.</comment>
158
- <frontend_type>select</frontend_type>
159
- <sort_order>5</sort_order>
160
- <show_in_default>1</show_in_default>
161
- <show_in_website>1</show_in_website>
162
- <show_in_store>1</show_in_store>
163
- <source_model>adminhtml/system_config_source_cms_page</source_model>
164
- </cms_page>
165
- </fields>
166
- </content>
167
- </groups>
168
- </cookielaw>
169
- </sections>
170
- </config>
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ -->
19
+ <config>
20
+ <sections>
21
+ <cookielaw module="cookielaw">
22
+ <label>Cookie Law Compliance</label>
23
+ <class>v-cookielaw-section</class>
24
+ <header_css>v-cookielaw-header</header_css>
25
+ <tab>general</tab>
26
+ <sort_order>9000</sort_order>
27
+ <show_in_default>1</show_in_default>
28
+ <show_in_website>1</show_in_website>
29
+ <show_in_store>1</show_in_store>
30
+ <groups>
31
+ <general translate="label" module="cookielaw">
32
+ <label>General</label>
33
+ <comment>
34
+ <![CDATA[
35
+ <div class="v-cookielaw-notice">
36
+ <b><a href="http://www.magentocommerce.com/magento-connect/eu-cookie-law-compliance-3.html" target="_blank">Cookie Law Compliance</a></b>
37
+ is a <b><a href="http://www.valdecode.com/" target="_blank">Valdecode</a></b>
38
+ extension.<br/><span class="advice">We would like you to review this extension
39
+ at Magento Connect. If you feel that we do not deserve a 5 star review, please contact us right
40
+ away before leaving a neutral or negative review, so we can try to correct the problem.</span>
41
+ </div>
42
+ ]]>
43
+ </comment>
44
+ <frontend_type>text</frontend_type>
45
+ <sort_order>1</sort_order>
46
+ <expanded>1</expanded>
47
+ <show_in_default>1</show_in_default>
48
+ <show_in_website>1</show_in_website>
49
+ <show_in_store>1</show_in_store>
50
+ <fields>
51
+ <type translate="label">
52
+ <label>Type</label>
53
+ <frontend_type>select</frontend_type>
54
+ <sort_order>1</sort_order>
55
+ <show_in_default>1</show_in_default>
56
+ <show_in_website>1</show_in_website>
57
+ <show_in_store>1</show_in_store>
58
+ <source_model>cookielaw/config_type</source_model>
59
+ </type>
60
+ <bar_position translate="label">
61
+ <label>Bar position</label>
62
+ <comment>[Top] does not cover the content, [Bottom] is fixed.</comment>
63
+ <frontend_type>select</frontend_type>
64
+ <sort_order>2</sort_order>
65
+ <show_in_default>1</show_in_default>
66
+ <show_in_website>1</show_in_website>
67
+ <show_in_store>1</show_in_store>
68
+ <depends>
69
+ <type>v-bar</type>
70
+ </depends>
71
+ <source_model>cookielaw/config_bar_position</source_model>
72
+ </bar_position>
73
+ <box_position translate="label">
74
+ <label>Box position</label>
75
+ <frontend_type>select</frontend_type>
76
+ <sort_order>3</sort_order>
77
+ <show_in_default>1</show_in_default>
78
+ <show_in_website>1</show_in_website>
79
+ <show_in_store>1</show_in_store>
80
+ <depends>
81
+ <type>v-box</type>
82
+ </depends>
83
+ <source_model>cookielaw/config_box_position</source_model>
84
+ </box_position>
85
+ <skin translate="label">
86
+ <label>Skin</label>
87
+ <frontend_type>select</frontend_type>
88
+ <sort_order>4</sort_order>
89
+ <show_in_default>1</show_in_default>
90
+ <show_in_website>1</show_in_website>
91
+ <show_in_store>1</show_in_store>
92
+ <source_model>cookielaw/config_skin</source_model>
93
+ </skin>
94
+ <behaviour translate="label">
95
+ <label>When visitor closes the notice</label>
96
+ <frontend_type>select</frontend_type>
97
+ <sort_order>5</sort_order>
98
+ <show_in_default>1</show_in_default>
99
+ <show_in_website>1</show_in_website>
100
+ <show_in_store>1</show_in_store>
101
+ <source_model>cookielaw/config_behaviour</source_model>
102
+ </behaviour>
103
+ <autohide translate="label">
104
+ <label>Autohide (in seconds)</label>
105
+ <comment>If [0] then the notice won't close automatically.</comment>
106
+ <frontend_type>text</frontend_type>
107
+ <sort_order>6</sort_order>
108
+ <show_in_default>1</show_in_default>
109
+ <show_in_website>1</show_in_website>
110
+ <show_in_store>1</show_in_store>
111
+ </autohide>
112
+ </fields>
113
+ </general>
114
+ <content translate="label" module="cookielaw">
115
+ <label>Content</label>
116
+ <frontend_type>text</frontend_type>
117
+ <sort_order>2</sort_order>
118
+ <expanded>1</expanded>
119
+ <show_in_default>1</show_in_default>
120
+ <show_in_website>1</show_in_website>
121
+ <show_in_store>1</show_in_store>
122
+ <fields>
123
+ <show translate="label">
124
+ <label>Content</label>
125
+ <frontend_type>select</frontend_type>
126
+ <sort_order>1</sort_order>
127
+ <show_in_default>1</show_in_default>
128
+ <show_in_website>1</show_in_website>
129
+ <show_in_store>1</show_in_store>
130
+ <source_model>cookielaw/config_message</source_model>
131
+ </show>
132
+ <custom_message translate="label">
133
+ <label>Message text</label>
134
+ <frontend_type>text</frontend_type>
135
+ <sort_order>2</sort_order>
136
+ <show_in_default>1</show_in_default>
137
+ <show_in_website>1</show_in_website>
138
+ <show_in_store>1</show_in_store>
139
+ <depends>
140
+ <show>custom</show>
141
+ </depends>
142
+ </custom_message>
143
+ <custom_accept translate="label">
144
+ <label>Accept text</label>
145
+ <frontend_type>text</frontend_type>
146
+ <sort_order>3</sort_order>
147
+ <show_in_default>1</show_in_default>
148
+ <show_in_website>1</show_in_website>
149
+ <show_in_store>1</show_in_store>
150
+ <depends>
151
+ <show>custom</show>
152
+ </depends>
153
+ </custom_accept>
154
+ <custom_more_info translate="label">
155
+ <label>More information text</label>
156
+ <frontend_type>text</frontend_type>
157
+ <sort_order>4</sort_order>
158
+ <show_in_default>1</show_in_default>
159
+ <show_in_website>1</show_in_website>
160
+ <show_in_store>1</show_in_store>
161
+ <depends>
162
+ <show>custom</show>
163
+ </depends>
164
+ </custom_more_info>
165
+ <cms_page translate="label">
166
+ <label>More information page</label>
167
+ <comment>CMS page with information about cookies and how to manage them.</comment>
168
+ <frontend_type>select</frontend_type>
169
+ <sort_order>5</sort_order>
170
+ <show_in_default>1</show_in_default>
171
+ <show_in_website>1</show_in_website>
172
+ <show_in_store>1</show_in_store>
173
+ <source_model>adminhtml/system_config_source_cms_page</source_model>
174
+ </cms_page>
175
+ </fields>
176
+ </content>
177
+ </groups>
178
+ </cookielaw>
179
+ </sections>
180
+ </config>
app/design/adminhtml/default/default/layout/cookielaw.xml CHANGED
@@ -1,25 +1,25 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Valdecode - Cookie Law Compliance
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the The MIT License (MIT)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://www.valdecode.com/license/cookielaw/license.txt
12
- *
13
- * @category Valdecode
14
- * @package Valdecode_CookieLaw
15
- * @copyright Copyright (c) 2014 Valdecode
16
- * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
- */
18
- -->
19
- <layout>
20
- <adminhtml_system_config_edit>
21
- <reference name="head">
22
- <action method="addCss"><stylesheet>valdecode/cookielaw/css/cookielaw.css</stylesheet></action>
23
- </reference>
24
- </adminhtml_system_config_edit>
25
- </layout>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ -->
19
+ <layout>
20
+ <adminhtml_system_config_edit>
21
+ <reference name="head">
22
+ <action method="addCss"><stylesheet>valdecode/cookielaw/css/cookielaw.css</stylesheet></action>
23
+ </reference>
24
+ </adminhtml_system_config_edit>
25
+ </layout>
app/design/frontend/base/default/layout/cookielaw.xml CHANGED
@@ -1,33 +1,34 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Valdecode - Cookie Law Compliance
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the The MIT License (MIT)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://www.valdecode.com/license/cookielaw/license.txt
12
- *
13
- * @category Valdecode
14
- * @package Valdecode_CookieLaw
15
- * @copyright Copyright (c) 2014 Valdecode
16
- * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
- */
18
- -->
19
- <layout version="0.1.0">
20
- <default>
21
- <reference name="head">
22
- <action method="addCss"><stylesheet>valdecode/cookielaw/css/cookielaw.css</stylesheet></action>
23
- </reference>
24
- <reference name="after_body_start">
25
- <block name="cookielaw" type="core/template" before="-" template="cookielaw/widget.phtml"
26
- ifconfig="advanced/modules_disable_output/Valdecode_CookieLaw">
27
- <action method="setCacheLifetime">
28
- <lifetime>3600</lifetime>
29
- </action>
30
- </block>
31
- </reference>
32
- </default>
33
- </layout>
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Valdecode - Cookie Law Compliance
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the The MIT License (MIT)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.valdecode.com/license/cookielaw/license.txt
12
+ *
13
+ * @category Valdecode
14
+ * @package Valdecode_CookieLaw
15
+ * @copyright Copyright (c) 2014 Valdecode
16
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
17
+ */
18
+ -->
19
+ <layout version="0.1.0">
20
+ <default>
21
+ <reference name="head">
22
+ <action method="addCss">
23
+ <stylesheet>valdecode/cookielaw/css/cookielaw.css</stylesheet>
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>
34
+ </layout>
app/design/frontend/base/default/template/cookielaw/widget.phtml CHANGED
@@ -1,51 +1,57 @@
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
- <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">
21
- <?php echo ($_helper->getShow() == 'default') ? $this->__('This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.') : $_helper->getCustomMessage(); ?>
22
- </div>
23
- <div class="v-actions">
24
- <a href="javascript:cookieLawAccept();" class="v-button v-accept">
25
- <?php echo ($_helper->getShow() == 'default') ? $this->__("Accept") : $_helper->getCustomAccept(); ?>
26
- </a>
27
- <a href="<?php echo $_helper->getCmsPage(); ?>" class="v-button">
28
- <?php echo ($_helper->getShow() == 'default') ? $this->__("More information") : $_helper->getCustomMoreInfo(); ?>
29
- </a>
30
- </div>
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()+(<?php echo $_helper->getBehaviour(); ?>*24*60*60*1000));
37
- } else {
38
- var d = null;
39
- }
40
- Mage.Cookies.set('cookielaw', '1', d);
41
- document.getElementById('v-cookielaw').style.display = 'none';
42
- }
43
-
44
- if (!Mage.Cookies.get('cookielaw')) document.getElementById('v-cookielaw').style.display = '';
45
-
46
- <?php if ($_helper->getAutohide()): ?>
47
- setTimeout(function() {
48
- cookieLawAccept();
49
- }, <?php echo $_helper->getAutohide()*1000; ?>);
50
- <?php endif; ?>
51
- </script>
 
 
 
 
 
 
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 (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">
23
+ <div class="v-message">
24
+ <?php echo ($_helper->getShow() == 'default') ? $this->__('This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.') : $_helper->getCustomMessage(); ?>
25
+ </div>
26
+ <div class="v-actions">
27
+ <a href="javascript:cookieLawAccept();" class="v-button v-accept">
28
+ <?php echo ($_helper->getShow() == 'default') ? $this->__("Accept") : $_helper->getCustomAccept(); ?>
29
+ </a>
30
+ <a href="<?php echo $_helper->getCmsPage(); ?>" class="v-button">
31
+ <?php echo ($_helper->getShow() == 'default') ? $this->__("More information") : $_helper->getCustomMoreInfo(); ?>
32
+ </a>
33
+ </div>
34
+ </div>
35
+ <script type="text/javascript">
36
+ function cookieLawAccept() {
37
+ if (<?php echo $_helper->getBehaviour(); ?>) {
38
+ var d = new Date();
39
+ d.setTime(d.getTime() + (<?php echo $_helper->getBehaviour(); ?> * 24 * 60 * 60 * 1000)
40
+ )
41
+ ;
42
+ } else {
43
+ var d = null;
44
+ }
45
+ Mage.Cookies.set('cookielaw', '1', d);
46
+ document.getElementById('v-cookielaw').style.display = 'none';
47
+ }
48
+
49
+ if (!Mage.Cookies.get('cookielaw')) document.getElementById('v-cookielaw').style.display = '';
50
+
51
+ <?php if ($_helper->getAutohide()): ?>
52
+ setTimeout(function () {
53
+ cookieLawAccept();
54
+ }, <?php echo $_helper->getAutohide()*1000; ?>);
55
+ <?php endif; ?>
56
+ </script>
57
+ <?php endif; ?>
app/locale/de_DE/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","Weitere Informationen"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Cookies helfen uns bei der Bereitstellung unserer Dienste. Durch die Nutzung unserer Dienste erklären Sie sich damit einverstanden, dass wir Cookies setzen."
3
  "Accept","Akzeptieren"
1
+ "cookie policy","Weitere Informationen"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Cookies helfen uns bei der Bereitstellung unserer Dienste. Durch die Nutzung unserer Dienste erklären Sie sich damit einverstanden, dass wir Cookies setzen."
3
  "Accept","Akzeptieren"
app/locale/en_US/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","cookie policy"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies."
3
  "Accept","Accept"
1
+ "cookie policy","cookie policy"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies."
3
  "Accept","Accept"
app/locale/es_ES/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","política de cookies"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Esta web usa cookies. Si continuas navegando estás consintiendo nuestro uso de cookies."
3
  "Accept","Aceptar"
1
+ "cookie policy","política de cookies"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Esta web usa cookies. Si continuas navegando estás consintiendo nuestro uso de cookies."
3
  "Accept","Aceptar"
app/locale/fr_FR/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","En savoir plus"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Les cookies assurent le bon fonctionnement de nos services. En utilisant ces derniers, vous acceptez l'utilisation des cookies."
3
  "Accept","Accepter"
1
+ "cookie policy","En savoir plus"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Les cookies assurent le bon fonctionnement de nos services. En utilisant ces derniers, vous acceptez l'utilisation des cookies."
3
  "Accept","Accepter"
app/locale/hu_HU/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","További információ"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","A cookie-k segítenek szolgáltatásaink biztosításában. Szolgáltatásaink igénybe vételével Ön beleegyezik a cookie-k használatába."
3
  "Accept","Elfogad"
1
+ "cookie policy","További információ"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","A cookie-k segítenek szolgáltatásaink biztosításában. Szolgáltatásaink igénybe vételével Ön beleegyezik a cookie-k használatába."
3
  "Accept","Elfogad"
app/locale/nl_NL/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","Meer informatie"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Cookies helpen ons bij het leveren van onze diensten. Door gebruik te maken van onze diensten, gaat u akkoord met ons gebruik van cookies."
3
  "Accept","Accepteren"
1
+ "cookie policy","Meer informatie"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Cookies helpen ons bij het leveren van onze diensten. Door gebruik te maken van onze diensten, gaat u akkoord met ons gebruik van cookies."
3
  "Accept","Accepteren"
app/locale/ro_RO/Valdecode_CookieLaw.csv CHANGED
@@ -1,3 +1,3 @@
1
- "cookie policy","Aflați mai multe"
2
- "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Cookie-urile ne ajută să oferim serviciile noastre. Utilizând aceste servicii, acceptați modul în care utilizăm cookie-urile."
3
  "Accept","Accepta"
1
+ "cookie policy","Aflați mai multe"
2
+ "This websites use cookies. By continuing to browse the site you are agreeing to our use of cookies.","Cookie-urile ne ajută să oferim serviciile noastre. Utilizând aceste servicii, acceptați modul în care utilizăm cookie-urile."
3
  "Accept","Accepta"
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Vhaldecode_CookieLaw</name>
4
- <version>1.1.9</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>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>Translation files modification</notes>
12
- <authors><author><name>Pere Garcia</name><user>vhalde</user><email>vhalde@mailhaven.com</email></author></authors>
13
- <date>2014-07-14</date>
14
- <time>16:28:36</time>
15
- <contents><target name="magecommunity"><dir name="Valdecode"><dir name="CookieLaw"><dir><dir name="Helper"><file name="Data.php" hash="d94f8ad8efeebe2257ad8648b0a7ccf4"/></dir><dir name="Model"><dir name="Config"><dir name="Bar"><file name="Position.php" hash="5f5bf97cfeb8b6b59a5b156bd043a4d7"/></dir><file name="Behaviour.php" hash="dc7b42a4a64ce334006e360d3fec36b1"/><dir name="Box"><file name="Position.php" hash="085a43c0919fc5bf1e81a4b5a8de09bc"/></dir><file name="Message.php" hash="1d89fe3d56db9a92186e2d7d2eef0281"/><file name="Skin.php" hash="c2d9f9937c6c9d88f8e239f041f74585"/><file name="Type.php" hash="446d586883a43df6051660d7c0350ee9"/></dir></dir><dir name="etc"><file name="config.xml" hash="fb992a85f82204ca97aa87ef961210db"/><file name="system.xml" hash="1401ccf8c4294a03be6d59799c0ae421"/></dir></dir><file name="LICENSE.txt" hash="379613f0728dca484b2b77b16512ab30"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="eae598b92f58d7bf2b40273d533a7add"/></dir><dir name="template"><dir name="cookielaw"><file name="widget.phtml" hash="2f8770b234f44a031f5192e27fcd6a8c"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="cookielaw.xml" hash="07e74b9050e1f2b9f0cbbecead122f2c"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Valdecode_CookieLaw.xml" hash="e7adaa88b42c61d001b26986e5f01729"/></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="46769512b6183a0bdef248761fae935f"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="valdecode"><dir name="cookielaw"><dir name="css"><file name="cookielaw.css" hash="9cfaa318c6063b36c7a37c153d93122c"/></dir><dir name="images"><file name="icon.png" hash="04424030d978ef131b7daafe920f23ea"/></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>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Vhaldecode_CookieLaw</name>
4
+ <version>1.1.10</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-02</date>
14
+ <time>21:55:12</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"><file name="cookielaw" hash="d41d8cd98f00b204e9800998ecf8427e"/></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>
skin/adminhtml/default/default/valdecode/cookielaw/css/cookielaw.css DELETED
@@ -1,23 +0,0 @@
1
- /**
2
- * Valdecode - Cookie Law Compliance
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the The MIT License (MIT)
7
- * that is bundled with this package in the file LICENSE.txt.
8
- * It is also available through the world-wide-web at this URL:
9
- * http://www.valdecode.com/license/cookielaw/license.txt
10
- *
11
- * @category Valdecode
12
- * @package Valdecode_CookieLaw
13
- * @copyright Copyright (c) 2014 Valdecode
14
- * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
15
- */
16
- ul.tabs.config-tabs a.v-cookielaw-section span { background: url(../images/icon.png) no-repeat 17px 3px; padding-left: 48px; }
17
- ul.tabs.config-tabs a.v-cookielaw-section.active span { background: #fff url(../images/icon.png) no-repeat 17px 3px; }
18
-
19
- .content-header h3.v-cookielaw-header { background: url(../images/icon.png) no-repeat; padding-left: 31px; }
20
-
21
- .section-config .config .comment .v-cookielaw-notice { border: 1px solid #d6d6d6; padding: 5px; margin-bottom: 5px; background: #fafafa; }
22
- .section-config .config .comment .v-cookielaw-notice .advice { color: #6f8992; }
23
- .section-config .config .comment .v-cookielaw-notice a { color: #ea7601; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
skin/adminhtml/default/default/valdecode/cookielaw/images/icon.png DELETED
Binary file
skin/frontend/base/default/valdecode/cookielaw/css/cookielaw.css CHANGED
@@ -1,60 +1,60 @@
1
- /**
2
- * Valdecode - Cookie Law Compliance
3
- *
4
- * NOTICE OF LICENSE
5
- *
6
- * This source file is subject to the The MIT License (MIT)
7
- * that is bundled with this package in the file LICENSE.txt.
8
- * It is also available through the world-wide-web at this URL:
9
- * http://www.valdecode.com/license/cookielaw/license.txt
10
- *
11
- * @category Valdecode
12
- * @package Valdecode_CookieLaw
13
- * @copyright Copyright (c) 2014 Valdecode
14
- * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
15
- */
16
- #v-cookielaw { overflow: hidden; background: #fff; z-index: 999; }
17
- #v-cookielaw .v-message { padding: 5px 10px; text-align: left; }
18
- #v-cookielaw .v-actions { }
19
- #v-cookielaw .v-button { color: #222; display: inline-block; background-color: #ececec; background-image: linear-gradient(#f4f4f4, #ececec); border: 1px solid #d4d4d4; padding: 4px 10px; text-decoration: none; text-shadow: 1px 1px 0 #fff; border-radius: 2px; }
20
- #v-cookielaw .v-button.v-accept:before { content: "\2714"; }
21
- #v-cookielaw .v-button:hover,
22
- #v-cookielaw .v-button:focus { color: #fff; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); border-color: #3072b3; border-bottom-color: #2a65a0; background-color: #2a65a0; background-image: linear-gradient(#599bdc, #3072b3); }
23
- #v-cookielaw .v-button:active { border-color: #2a65a0; border-bottom-color: #3884cd; background-color: #3072b3; background-image: linear-gradient(#3072b3, #599bdc); }
24
-
25
- #v-cookielaw.v-bar { display: table; width: 100%; padding: 5px 0; }
26
- #v-cookielaw.v-bar .v-message { display: table-cell; }
27
- #v-cookielaw.v-bar .v-actions { display: table-cell; vertical-align: middle; width: 250px; padding-right: 10px; text-align: right; }
28
- #v-cookielaw.v-bar.v-top { position: relative; border-bottom: 1px solid #000; }
29
- #v-cookielaw.v-bar.v-bottom { position: fixed; bottom: 0; border-top: 1px solid #000; }
30
-
31
- #v-cookielaw.v-box { position: fixed; max-width: 300px; border: 1px solid #000; border-radius: 3px; margin: 10px; }
32
- #v-cookielaw.v-box .v-actions { float: left; margin: 5px 10px 10px 10px; }
33
- #v-cookielaw.v-box.v-top-left { top: 0; left: 0; }
34
- #v-cookielaw.v-box.v-top-right { top: 0; right: 0; }
35
- #v-cookielaw.v-box.v-bottom-left { bottom: 0; left: 0; }
36
- #v-cookielaw.v-box.v-bottom-right { bottom: 0; right: 0; }
37
-
38
- /* RWD */
39
- @media screen and (max-width: 480px) {
40
- #v-cookielaw .v-message { float: left; }
41
- #v-cookielaw .v-actions { float: left; margin: 5px 10px; }
42
- #v-cookielaw.v-bar .v-actions { width: auto; }
43
- }
44
-
45
- /* Skin - Yellow Alert */
46
- #v-cookielaw.v-yellow-alert { background: #fffbcd; border-color: #e2cd7b !important; }
47
-
48
- /* Skin - Dark Clean */
49
- #v-cookielaw.v-dark-clean { color: #fff; background: #2c2c2c; border-color: #55575f !important; }
50
- #v-cookielaw.v-dark-clean .v-button { color: #fff; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); border-color: #3072b3; border-bottom-color: #2a65a0; background-color: #2a65a0; background-image: linear-gradient(#599bdc, #3072b3); }
51
- #v-cookielaw.v-dark-clean .v-button:hover,
52
- #v-cookielaw.v-dark-clean .v-button:focus { background-color: #3678a0; background-image: linear-gradient(#68abdc, #387cb3); }
53
-
54
- /* Skin - Minimalist */
55
- #v-cookielaw.v-minimalist { color: #2c2c2c; background: #f0f0f0; border-color: #e0e0e0 !important; font-size: 11px; font-family: Verdana; }
56
- #v-cookielaw.v-bar.v-minimalist { padding: 2px 0; }
57
- #v-cookielaw.v-box.v-minimalist { width: 260px; }
58
- #v-cookielaw.v-box.v-minimalist .v-actions { margin: 5px; }
59
- #v-cookielaw.v-box.v-minimalist .v-message { padding: 5px; }
60
- #v-cookielaw.v-minimalist .v-button { padding: 3px 6px; }
1
+ /**
2
+ * Valdecode - Cookie Law Compliance
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the The MIT License (MIT)
7
+ * that is bundled with this package in the file LICENSE.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://www.valdecode.com/license/cookielaw/license.txt
10
+ *
11
+ * @category Valdecode
12
+ * @package Valdecode_CookieLaw
13
+ * @copyright Copyright (c) 2014 Valdecode
14
+ * @license http://www.valdecode.com/license/cookielaw/license.txt The MIT License (MIT)
15
+ */
16
+ #v-cookielaw { overflow: hidden; background: #fff; z-index: 999; }
17
+ #v-cookielaw .v-message { padding: 5px 10px; text-align: left; }
18
+ #v-cookielaw .v-actions { }
19
+ #v-cookielaw .v-button { color: #222; display: inline-block; background-color: #ececec; background-image: linear-gradient(#f4f4f4, #ececec); border: 1px solid #d4d4d4; padding: 4px 10px; text-decoration: none; text-shadow: 1px 1px 0 #fff; border-radius: 2px; }
20
+ #v-cookielaw .v-button.v-accept:before { content: "\2714"; }
21
+ #v-cookielaw .v-button:hover,
22
+ #v-cookielaw .v-button:focus { color: #fff; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); border-color: #3072b3; border-bottom-color: #2a65a0; background-color: #2a65a0; background-image: linear-gradient(#599bdc, #3072b3); }
23
+ #v-cookielaw .v-button:active { border-color: #2a65a0; border-bottom-color: #3884cd; background-color: #3072b3; background-image: linear-gradient(#3072b3, #599bdc); }
24
+
25
+ #v-cookielaw.v-bar { display: table; width: 100%; padding: 5px 0; }
26
+ #v-cookielaw.v-bar .v-message { display: table-cell; }
27
+ #v-cookielaw.v-bar .v-actions { display: table-cell; vertical-align: middle; width: 250px; padding-right: 10px; text-align: right; }
28
+ #v-cookielaw.v-bar.v-top { position: relative; border-bottom: 1px solid #000; }
29
+ #v-cookielaw.v-bar.v-bottom { position: fixed; bottom: 0; border-top: 1px solid #000; }
30
+
31
+ #v-cookielaw.v-box { position: fixed; max-width: 300px; border: 1px solid #000; border-radius: 3px; margin: 10px; }
32
+ #v-cookielaw.v-box .v-actions { float: left; margin: 5px 10px 10px 10px; }
33
+ #v-cookielaw.v-box.v-top-left { top: 0; left: 0; }
34
+ #v-cookielaw.v-box.v-top-right { top: 0; right: 0; }
35
+ #v-cookielaw.v-box.v-bottom-left { bottom: 0; left: 0; }
36
+ #v-cookielaw.v-box.v-bottom-right { bottom: 0; right: 0; }
37
+
38
+ /* RWD */
39
+ @media screen and (max-width: 480px) {
40
+ #v-cookielaw .v-message { float: left; }
41
+ #v-cookielaw .v-actions { float: left; margin: 5px 10px; }
42
+ #v-cookielaw.v-bar .v-actions { width: auto; }
43
+ }
44
+
45
+ /* Skin - Yellow Alert */
46
+ #v-cookielaw.v-yellow-alert { background: #fffbcd; border-color: #e2cd7b !important; }
47
+
48
+ /* Skin - Dark Clean */
49
+ #v-cookielaw.v-dark-clean { color: #fff; background: #2c2c2c; border-color: #55575f !important; }
50
+ #v-cookielaw.v-dark-clean .v-button { color: #fff; text-shadow: -1px -1px 0 rgba(0,0,0,0.3); border-color: #3072b3; border-bottom-color: #2a65a0; background-color: #2a65a0; background-image: linear-gradient(#599bdc, #3072b3); }
51
+ #v-cookielaw.v-dark-clean .v-button:hover,
52
+ #v-cookielaw.v-dark-clean .v-button:focus { background-color: #3678a0; background-image: linear-gradient(#68abdc, #387cb3); }
53
+
54
+ /* Skin - Minimalist */
55
+ #v-cookielaw.v-minimalist { color: #2c2c2c; background: #f0f0f0; border-color: #e0e0e0 !important; font-size: 11px; font-family: Verdana; }
56
+ #v-cookielaw.v-bar.v-minimalist { padding: 2px 0; }
57
+ #v-cookielaw.v-box.v-minimalist { width: 260px; }
58
+ #v-cookielaw.v-box.v-minimalist .v-actions { margin: 5px; }
59
+ #v-cookielaw.v-box.v-minimalist .v-message { padding: 5px; }
60
+ #v-cookielaw.v-minimalist .v-button { padding: 3px 6px; }