Browse code

remove whitespace in empty lines

Hanno authored on26/06/2018 23:36:40
Showing1 changed files
... ...
@@ -20,5 +20,5 @@ switch ($role) {
20 20
   case ROLE_ANONYMOUS:
21 21
     $menu["register_index"] = array("label" => "Kunde werden", "file" => "index", "weight" => 0);
22 22
     break;
23
-    
23
+
24 24
 }
Browse code

Fix coding style with php-cs-checker, see https://cs.sensiolabs.org/

Hanno authored on26/06/2018 13:58:19
Showing1 changed files
... ...
@@ -8,7 +8,7 @@ Written 2008-2018 by schokokeks.org Hosting, namely
8 8
 
9 9
 To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10 10
 
11
-You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
11
+You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
12 12
 http://creativecommons.org/publicdomain/zero/1.0/
13 13
 
14 14
 Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
... ...
@@ -16,12 +16,9 @@ Nevertheless, in case you use a significant part of this code, we ask (but not r
16 16
 
17 17
 $role = $_SESSION['role'];
18 18
 
19
-switch ($role)
20
-{
19
+switch ($role) {
21 20
   case ROLE_ANONYMOUS:
22 21
     $menu["register_index"] = array("label" => "Kunde werden", "file" => "index", "weight" => 0);
23 22
     break;
24 23
     
25 24
 }
26
-
27
-?>
Browse code

Copyright year update

Bernd Wurst authored on13/01/2018 06:07:05
Showing1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2014 by schokokeks.org Hosting, namely
5
+Written 2008-2018 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Lizenzinfos in eigenes Modul ausgelagert und Copyright auf 2014 angepasst

Bernd Wurst authored on08/02/2014 05:45:07
Showing1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2013 by schokokeks.org Hosting, namely
5
+Written 2008-2014 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Updated copyright notice (2012 => 2013)

Bernd Wurst authored on19/01/2013 10:49:50
Showing1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2012 by schokokeks.org Hosting, namely
5
+Written 2008-2013 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Added license tags for CC0, README and COPYING

Bernd Wurst authored on11/03/2012 15:40:04
Showing1 changed files
... ...
@@ -1,4 +1,18 @@
1 1
 <?php
2
+/*
3
+This file belongs to the Webinterface of schokokeks.org Hosting
4
+
5
+Written 2008-2012 by schokokeks.org Hosting, namely
6
+  Bernd Wurst <bernd@schokokeks.org>
7
+  Hanno Böck <hanno@schokokeks.org>
8
+
9
+To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10
+
11
+You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
12
+http://creativecommons.org/publicdomain/zero/1.0/
13
+
14
+Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
15
+*/
2 16
 
3 17
 $role = $_SESSION['role'];
4 18
 
Browse code

eliminate .php extensions for URLs

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1128 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on08/08/2008 19:32:32
Showing1 changed files
... ...
@@ -5,7 +5,7 @@ $role = $_SESSION['role'];
5 5
 switch ($role)
6 6
 {
7 7
   case ROLE_ANONYMOUS:
8
-    $menu["register_index"] = array("label" => "Kunde werden", "file" => "index.php", "weight" => 0);
8
+    $menu["register_index"] = array("label" => "Kunde werden", "file" => "index", "weight" => 0);
9 9
     break;
10 10
     
11 11
 }
Browse code

Code-Cleanups

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@845 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on08/12/2007 16:29:04
Showing1 changed files
... ...
@@ -1,6 +1,5 @@
1 1
 <?php
2 2
 
3
-$menu = array();
4 3
 $role = $_SESSION['role'];
5 4
 
6 5
 switch ($role)
... ...
@@ -11,7 +10,4 @@ switch ($role)
11 10
     
12 11
 }
13 12
 
14
-if (empty($menu))
15
-  $menu = false;
16
-
17 13
 ?>
Browse code

Menü-Includes sinnvoller / Debug-Modus über config abschaltbar

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@526 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on01/07/2007 16:21:48
Showing1 changed files
... ...
@@ -1,5 +1,6 @@
1 1
 <?php
2
-global $menu;
2
+
3
+$menu = array();
3 4
 $role = $_SESSION['role'];
4 5
 
5 6
 switch ($role)
... ...
@@ -10,4 +11,7 @@ switch ($role)
10 11
     
11 12
 }
12 13
 
14
+if (empty($menu))
15
+  $menu = false;
16
+
13 17
 ?>
Browse code

Neues Modul für "Kunde werden"

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@521 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on25/06/2007 19:17:14
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+<?php
2
+global $menu;
3
+$role = $_SESSION['role'];
4
+
5
+switch ($role)
6
+{
7
+  case ROLE_ANONYMOUS:
8
+    $menu["register_index"] = array("label" => "Kunde werden", "file" => "index.php", "weight" => 0);
9
+    break;
10
+    
11
+}
12
+
13
+?>