Browse code

Add customization fields for the displayed text.

Benjamin Roth authored on22/03/2019 16:56:28
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,53 @@
1
+<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');
2
+
3
+/**
4
+ * Contao Open Source CMS
5
+ * Copyright (C) 2005-2011 Leo Feyer
6
+ *
7
+ * Formerly known as TYPOlight Open Source CMS.
8
+ *
9
+ * This program is free software: you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation, either
12
+ * version 3 of the License, or (at your option) any later version.
13
+ * 
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ * 
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this program. If not, please visit the Free
21
+ * Software Foundation website at <http://www.gnu.org/licenses/>.
22
+ *
23
+ * PHP version 5
24
+ * @copyright  eSales Media 2012 
25
+ * @author     Benjamin Roth <www.esales-media.de> 
26
+ * @package    legalAgeCheck 
27
+ * @license    GNU/LGPL 
28
+ * @filesource
29
+ */
30
+
31
+
32
+/**
33
+ * Fields
34
+ */
35
+$GLOBALS['TL_LANG']['tl_page']['es_ext_agecheck'] = array('Age verification', 'An age verification modal will be shown on every page.');
36
+$GLOBALS['TL_LANG']['tl_page']['es_ext_agecheck_exitPage'] = array('Fallback page', 'The page the user will be redirected to if they\'re not of full age.');
37
+$GLOBALS['TL_LANG']['tl_page']['es_ext_agecheck_ignorePage'] = array('Ignore age verification', 'Do not show the age verification modal on this page.');
38
+$GLOBALS['TL_LANG']['tl_page']['es_ext_agecheck_title'] = array('Age verification title', 'The headline of the age verification modal.');
39
+$GLOBALS['TL_LANG']['tl_page']['es_ext_agecheck_text'] = array('Age verification text', 'The text of the age verification modal.');
40
+
41
+
42
+/**
43
+ * Reference
44
+ */
45
+$GLOBALS['TL_LANG']['tl_page'][''] = '';
46
+
47
+/**
48
+ * Legends
49
+ */
50
+$GLOBALS['TL_LANG']['tl_page']['agecheck_legend'] = 'Age verification';
51
+
52
+
53
+?>
0 54
\ No newline at end of file