Browse code

Make the cookie policy text customizable

Benjamin Roth authored on08/06/2015 15:45:39
Showing1 changed files
... ...
@@ -19,6 +19,7 @@
19 19
 $GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_check'] = array('Show cookie policy', 'Will show a dialog with the information that this site is using cookies.');
20 20
 $GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_jumpTo'] = array('Privacy Policy Page', 'The page containing the Privacy Policy.');
21 21
 $GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_ignore'] = array('Ignore cookie policy', 'The page will not show the cookie policy dialog.');
22
+$GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_text'] = array('Cookie policy text', 'Text which is displayed to the user. Default text will be used if field is empy. Placeholder: <em>%%url%%</em> = Privacy policy page URL.');
22 23
 
23 24
 
24 25
 /**
Browse code

Initial commit

Benjamin Roth authored on26/03/2015 15:51:42
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,35 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media Cookie Policy
5
+ *
6
+ * Copyright (C) 2013-2015 eSalesMedia
7
+ *
8
+ * @package    eSM_cookiepolicy
9
+ * @link       http://www.esales-media.de
10
+ * @license    commercial
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+
16
+/**
17
+ * Fields
18
+ */
19
+$GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_check'] = array('Show cookie policy', 'Will show a dialog with the information that this site is using cookies.');
20
+$GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_jumpTo'] = array('Privacy Policy Page', 'The page containing the Privacy Policy.');
21
+$GLOBALS['TL_LANG']['tl_page']['esm_cookiepolicy_ignore'] = array('Ignore cookie policy', 'The page will not show the cookie policy dialog.');
22
+
23
+
24
+/**
25
+ * Reference
26
+ */
27
+$GLOBALS['TL_LANG']['tl_page'][''] = '';
28
+
29
+/**
30
+ * Legends
31
+ */
32
+$GLOBALS['TL_LANG']['tl_page']['cookiepolicy_legend'] = 'Cookie Policy';
33
+
34
+
35
+?>
0 36
\ No newline at end of file