Browse code

Add customization fields for the displayed text.

Benjamin Roth authored on22/03/2019 16:56:28
Showing1 changed files
... ...
@@ -32,6 +32,9 @@
32 32
 /**
33 33
  * Miscellaneous
34 34
  */
35
-$GLOBALS['TL_LANG']['MSC'][''] = '';
35
+$GLOBALS['TL_LANG']['MSC']['es_legalagecheck']['title'] = 'Age verification';
36
+$GLOBALS['TL_LANG']['MSC']['es_legalagecheck']['text'] = 'Are you 18 years of age or older?';
37
+$GLOBALS['TL_LANG']['MSC']['es_legalagecheck']['over_18'] = 'Yes, I am at least 18';
38
+$GLOBALS['TL_LANG']['MSC']['es_legalagecheck']['under_18'] = 'No';
36 39
 
37 40
 ?>
38 41
\ No newline at end of file
Browse code

Initial commit

Benjamin Roth authored on21/03/2019 09:05:45
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,37 @@
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    Language
27
+ * @license    Commercial 
28
+ * @filesource
29
+ */
30
+
31
+
32
+/**
33
+ * Miscellaneous
34
+ */
35
+$GLOBALS['TL_LANG']['MSC'][''] = '';
36
+
37
+?>
0 38
\ No newline at end of file