Browse code

Codingstyle PSR12 + array syntax

Hanno Böck authored on 30/10/2021 21:18:17
Showing 1 changed files
... ...
@@ -17,6 +17,6 @@ Nevertheless, in case you use a significant part of this code, we ask (but not r
17 17
 $role = $_SESSION['role'];
18 18
 
19 19
 if ($role & ROLE_SYSTEMUSER) {
20
-    $menu["webapps_freewvs"] = array("label" => "Anwendungen", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
20
+    $menu["webapps_freewvs"] = ["label" => "Anwendungen", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts"];
21 21
     #$menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
22 22
 }
Browse code

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

Hanno authored on 26/06/2018 13:58:19
Showing 1 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,8 +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_SYSTEMUSER)
20
-{
21
-  $menu["webapps_freewvs"] = array("label" => "Anwendungen", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
22
-  #$menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
19
+if ($role & ROLE_SYSTEMUSER) {
20
+    $menu["webapps_freewvs"] = array("label" => "Anwendungen", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
21
+    #$menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
23 22
 }
Browse code

Copyright year update

Bernd Wurst authored on 13/01/2018 06:07:05
Showing 1 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

Umformulierungen im Bereich freewvs. Mache dem User deutlicher um was es geht.

Bernd Wurst authored on 18/02/2015 17:04:31
Showing 1 changed files
... ...
@@ -18,6 +18,6 @@ $role = $_SESSION['role'];
18 18
 
19 19
 if ($role & ROLE_SYSTEMUSER)
20 20
 {
21
-  $menu["webapps_freewvs"] = array("label" => "freewvs", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
21
+  $menu["webapps_freewvs"] = array("label" => "Anwendungen", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
22 22
   #$menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
23 23
 }
Browse code

Entferne die Links zum Installieren einer WebApp

Bernd Wurst authored on 01/11/2014 05:56:52
Showing 1 changed files
... ...
@@ -19,5 +19,5 @@ $role = $_SESSION['role'];
19 19
 if ($role & ROLE_SYSTEMUSER)
20 20
 {
21 21
   $menu["webapps_freewvs"] = array("label" => "freewvs", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
22
-  $menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
22
+  #$menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
23 23
 }
Browse code

Lizenzinfos in eigenes Modul ausgelagert und Copyright auf 2014 angepasst

Bernd Wurst authored on 08/02/2014 05:45:07
Showing 1 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 on 19/01/2013 10:49:50
Showing 1 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 on 11/03/2012 15:40:04
Showing 1 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

Webapp-Installer, erste Version die funktioniert

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

bernd authored on 28/02/2009 12:14:27
Showing 1 changed files
... ...
@@ -5,4 +5,5 @@ $role = $_SESSION['role'];
5 5
 if ($role & ROLE_SYSTEMUSER)
6 6
 {
7 7
   $menu["webapps_freewvs"] = array("label" => "freewvs", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
8
+  $menu["webapps_install"] = array("label" => "Anwendung installieren", "file" => "install", "weight" => 1, "submenu" => "vhosts_vhosts");
8 9
 }
Browse code

Umbenennung von freewvs-modul in webapps-Modul

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

bernd authored on 25/02/2009 16:54:56
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+<?php
2
+
3
+$role = $_SESSION['role'];
4
+
5
+if ($role & ROLE_SYSTEMUSER)
6
+{
7
+  $menu["webapps_freewvs"] = array("label" => "freewvs", "file" => "freewvs", "weight" => 1, "submenu" => "vhosts_vhosts");
8
+}