Browse code

Make the cookie policy text customizable

Benjamin Roth authored on08/06/2015 15:45:39
Showing1 changed files
... ...
@@ -25,6 +25,7 @@ ClassLoader::addClasses(array
25 25
 (
26 26
 	// Classes
27 27
 	'eSM_cookiepolicy\CookiePolicy' => 'system/modules/eSM_cookiepolicy/classes/CookiePolicy.php',
28
+	'eSM_cookiepolicy\tl_page'      => 'system/modules/eSM_cookiepolicy/classes/tl_page.php',
28 29
 ));
29 30
 
30 31
 
Browse code

Follow coding standards by moving the independent class in classes subfolder

Benjamin Roth authored on27/03/2015 09:57:53
Showing1 changed files
... ...
@@ -23,7 +23,8 @@ ClassLoader::addNamespaces(array
23 23
  */
24 24
 ClassLoader::addClasses(array
25 25
 (
26
-	'eSM_cookiepolicy\CookiePolicy' => 'system/modules/eSM_cookiepolicy/CookiePolicy.php',
26
+	// Classes
27
+	'eSM_cookiepolicy\CookiePolicy' => 'system/modules/eSM_cookiepolicy/classes/CookiePolicy.php',
27 28
 ));
28 29
 
29 30
 
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,36 @@
1
+<?php
2
+
3
+/**
4
+ * Contao Open Source CMS
5
+ *
6
+ * Copyright (c) 2005-2015 Leo Feyer
7
+ *
8
+ * @license LGPL-3.0+
9
+ */
10
+
11
+
12
+/**
13
+ * Register the namespaces
14
+ */
15
+ClassLoader::addNamespaces(array
16
+(
17
+	'eSM_cookiepolicy',
18
+));
19
+
20
+
21
+/**
22
+ * Register the classes
23
+ */
24
+ClassLoader::addClasses(array
25
+(
26
+	'eSM_cookiepolicy\CookiePolicy' => 'system/modules/eSM_cookiepolicy/CookiePolicy.php',
27
+));
28
+
29
+
30
+/**
31
+ * Register the templates
32
+ */
33
+TemplateLoader::addFiles(array
34
+(
35
+	'cookiepolicy_dialog'          => 'system/modules/eSM_cookiepolicy/templates',
36
+));