Browse code

codingstyle fixes

Hanno authored on28/02/2019 18:01:50
Showing1 changed files
... ...
@@ -20,4 +20,3 @@ if ($role & ROLE_CUSTOMER) {
20 20
     $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2, "submenu" => "index_index");
21 21
     //$menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
22 22
 }
23
-
Browse code

Erlaube Admins das Abfragen von Kundendaten anderer Kunden

Bernd Wurst authored on29/12/2018 15:58:38
Showing1 changed files
... ...
@@ -20,3 +20,4 @@ if ($role & ROLE_CUSTOMER) {
20 20
     $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2, "submenu" => "index_index");
21 21
     //$menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
22 22
 }
23
+
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,7 @@ 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
-if ($role & ROLE_CUSTOMER)
20
-{
21
-  $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2, "submenu" => "index_index");
22
-  //$menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
23
-
24
-    
19
+if ($role & ROLE_CUSTOMER) {
20
+    $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2, "submenu" => "index_index");
21
+    //$menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
25 22
 }
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

Rechnungen unterhalb von "Übersicht" anzeigen.

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

bernd authored on28/12/2009 14:04:51
Showing1 changed files
... ...
@@ -4,8 +4,8 @@ $role = $_SESSION['role'];
4 4
 
5 5
 if ($role & ROLE_CUSTOMER)
6 6
 {
7
-  $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2);
8
-  $menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
7
+  $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2, "submenu" => "index_index");
8
+  //$menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
9 9
 
10 10
     
11 11
 }
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
... ...
@@ -4,8 +4,8 @@ $role = $_SESSION['role'];
4 4
 
5 5
 if ($role & ROLE_CUSTOMER)
6 6
 {
7
-  $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current.php", "weight" => 2);
8
-  $menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming.php", "weight" => 2, "submenu" => "invoice_current");
7
+  $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current", "weight" => 2);
8
+  $menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming", "weight" => 2, "submenu" => "invoice_current");
9 9
 
10 10
     
11 11
 }
Browse code

Kunden können Ihre Rechnungen und zukünftigen Posten anschauen

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

bernd authored on18/03/2008 17:36:28
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+<?php
2
+
3
+$role = $_SESSION['role'];
4
+
5
+if ($role & ROLE_CUSTOMER)
6
+{
7
+  $menu["invoice_current"] = array("label" => "Rechnungen", "file" => "current.php", "weight" => 2);
8
+  $menu["invoice_upcoming"] = array("label" => "zukünftige Rechnungen", "file" => "upcoming.php", "weight" => 2, "submenu" => "invoice_current");
9
+
10
+    
11
+}
12
+
13
+?>