diff --git a/webui/module/Application/autoload_classmap.php b/webui/module/Application/autoload_classmap.php
index 38bb7e7ad8e..b5f2e6e6cbf 100644
--- a/webui/module/Application/autoload_classmap.php
+++ b/webui/module/Application/autoload_classmap.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
return array(
'Application\Module' => __DIR__ . '/Module.php',
'Application\Controller\IndexController' => __DIR__ . '/src/Application/Controller/IndexController.php',
diff --git a/webui/module/Application/config/module.commands.php b/webui/module/Application/config/module.commands.php
index 32cc7ade8b9..afcfc64850c 100644
--- a/webui/module/Application/config/module.commands.php
+++ b/webui/module/Application/config/module.commands.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
$file = __DIR__ . '/commands.csv';
$csv = array_map('str_getcsv', file($file));
diff --git a/webui/module/Application/src/Application/Controller/Plugin/CommandACLPlugin.php b/webui/module/Application/src/Application/Controller/Plugin/CommandACLPlugin.php
index 078e802378e..4c55f2d3cad 100644
--- a/webui/module/Application/src/Application/Controller/Plugin/CommandACLPlugin.php
+++ b/webui/module/Application/src/Application/Controller/Plugin/CommandACLPlugin.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Application\Controller\Plugin;
use Zend\Mvc\Controller\Plugin\AbstractPlugin;
diff --git a/webui/module/Application/src/Application/Controller/Plugin/RequestURIPlugin.php b/webui/module/Application/src/Application/Controller/Plugin/RequestURIPlugin.php
index 60e3f6c7a47..b9f356996a7 100644
--- a/webui/module/Application/src/Application/Controller/Plugin/RequestURIPlugin.php
+++ b/webui/module/Application/src/Application/Controller/Plugin/RequestURIPlugin.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Application\Controller\Plugin;
use Zend\Mvc\Controller\Plugin\AbstractPlugin;
diff --git a/webui/module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php b/webui/module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php
index 1548444bc47..b857d32b154 100644
--- a/webui/module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php
+++ b/webui/module/Application/src/Application/Controller/Plugin/SessionTimeoutPlugin.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Application\Controller\Plugin;
use Zend\Mvc\Controller\Plugin\AbstractPlugin;
diff --git a/webui/module/Application/view/layout/json.phtml b/webui/module/Application/view/layout/json.phtml
index f78d6874222..2de9bf52169 100644
--- a/webui/module/Application/view/layout/json.phtml
+++ b/webui/module/Application/view/layout/json.phtml
@@ -1,3 +1,28 @@
content;
+
+/**
+ *
+ * bareos-webui - Bareos Web-Frontend
+ *
+ * @link https://github.com/bareos/bareos for the canonical source repository
+ * @copyright Copyright (c) 2013-2019 Bareos GmbH & Co. KG (http://www.bareos.org/)
+ * @license GNU Affero General Public License (http://www.gnu.org/licenses/)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ *
+ */
+
+echo $this->content;
+
?>
diff --git a/webui/module/Auth/src/Auth/Model/Auth.php b/webui/module/Auth/src/Auth/Model/Auth.php
index 9ae74332dfc..8bfe28d76f0 100644
--- a/webui/module/Auth/src/Auth/Model/Auth.php
+++ b/webui/module/Auth/src/Auth/Model/Auth.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Auth\Model;
use Zend\InputFilter\InputFilter;
diff --git a/webui/module/Auth/view/auth/auth/index.phtml b/webui/module/Auth/view/auth/auth/index.phtml
index e69de29bb2d..97766c4d020 100644
--- a/webui/module/Auth/view/auth/auth/index.phtml
+++ b/webui/module/Auth/view/auth/auth/index.phtml
@@ -0,0 +1,25 @@
+.
+ *
+ */
+
diff --git a/webui/module/Auth/view/auth/auth/logout.phtml b/webui/module/Auth/view/auth/auth/logout.phtml
index e69de29bb2d..97766c4d020 100644
--- a/webui/module/Auth/view/auth/auth/logout.phtml
+++ b/webui/module/Auth/view/auth/auth/logout.phtml
@@ -0,0 +1,25 @@
+.
+ *
+ */
+
diff --git a/webui/module/Client/Module.php b/webui/module/Client/Module.php
index 47e81a12e4a..53fcf15e4c5 100644
--- a/webui/module/Client/Module.php
+++ b/webui/module/Client/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Client;
use Client\Model\Client;
diff --git a/webui/module/Client/autoload_classmap.php b/webui/module/Client/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Client/autoload_classmap.php
+++ b/webui/module/Client/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Client/src/Client/Model/Client.php b/webui/module/Client/src/Client/Model/Client.php
index 6395f2f00fe..75ddd88df4d 100644
--- a/webui/module/Client/src/Client/Model/Client.php
+++ b/webui/module/Client/src/Client/Model/Client.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Client\Model;
class Client
diff --git a/webui/module/Client/view/client/client/status.phtml b/webui/module/Client/view/client/client/status.phtml
index 80d18f3bcf7..8f783f055e1 100644
--- a/webui/module/Client/view/client/client/status.phtml
+++ b/webui/module/Client/view/client/client/status.phtml
@@ -1,5 +1,28 @@
.
+ *
+ */
+
$title = 'Client Status';
$this->headTitle($title);
diff --git a/webui/module/Console/Module.php b/webui/module/Console/Module.php
index 030920b943c..785d2fd576e 100644
--- a/webui/module/Console/Module.php
+++ b/webui/module/Console/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Console;
use Console\Model\Console;
diff --git a/webui/module/Console/autoload_classmap.php b/webui/module/Console/autoload_classmap.php
index d864ec91614..c324b0a8a66 100644
--- a/webui/module/Console/autoload_classmap.php
+++ b/webui/module/Console/autoload_classmap.php
@@ -1,4 +1,27 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Console/config/module.config.php b/webui/module/Console/config/module.config.php
index 4ce20dcb83f..8594dafa509 100644
--- a/webui/module/Console/config/module.config.php
+++ b/webui/module/Console/config/module.config.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
return array(
'controllers' => array(
'invokables' => array(
diff --git a/webui/module/Console/src/Console/Controller/ConsoleController.php b/webui/module/Console/src/Console/Controller/ConsoleController.php
index 94ae9e70e35..b6d4976c888 100644
--- a/webui/module/Console/src/Console/Controller/ConsoleController.php
+++ b/webui/module/Console/src/Console/Controller/ConsoleController.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Console\Controller;
use Zend\Mvc\Controller\AbstractActionController;
diff --git a/webui/module/Console/src/Console/Model/Console.php b/webui/module/Console/src/Console/Model/Console.php
index 76c6f802a4e..7ed1c444604 100644
--- a/webui/module/Console/src/Console/Model/Console.php
+++ b/webui/module/Console/src/Console/Model/Console.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Console\Model;
class Console
diff --git a/webui/module/Console/src/Console/Model/ConsoleModel.php b/webui/module/Console/src/Console/Model/ConsoleModel.php
index 77a36313f23..1b5a6590ff8 100644
--- a/webui/module/Console/src/Console/Model/ConsoleModel.php
+++ b/webui/module/Console/src/Console/Model/ConsoleModel.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Console\Model;
class ConsoleModel
diff --git a/webui/module/Dashboard/Module.php b/webui/module/Dashboard/Module.php
index 440bf944cb6..e997a1dcbb2 100644
--- a/webui/module/Dashboard/Module.php
+++ b/webui/module/Dashboard/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Dashboard;
use Dashboard\Model\Dashboard;
diff --git a/webui/module/Dashboard/autoload_classmap.php b/webui/module/Dashboard/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Dashboard/autoload_classmap.php
+++ b/webui/module/Dashboard/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Director/Module.php b/webui/module/Director/Module.php
index 340c6ea7bdf..c06bfa8ae24 100644
--- a/webui/module/Director/Module.php
+++ b/webui/module/Director/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Director;
use Director\Model\Director;
diff --git a/webui/module/Director/autoload_classmap.php b/webui/module/Director/autoload_classmap.php
index d864ec91614..c324b0a8a66 100644
--- a/webui/module/Director/autoload_classmap.php
+++ b/webui/module/Director/autoload_classmap.php
@@ -1,4 +1,27 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Fileset/Module.php b/webui/module/Fileset/Module.php
index ee3347c3aba..2b08116181a 100644
--- a/webui/module/Fileset/Module.php
+++ b/webui/module/Fileset/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Fileset;
use Fileset\Model\Fileset;
diff --git a/webui/module/Fileset/autoload_classmap.php b/webui/module/Fileset/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Fileset/autoload_classmap.php
+++ b/webui/module/Fileset/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Job/autoload_classmap.php b/webui/module/Job/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Job/autoload_classmap.php
+++ b/webui/module/Job/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Media/Module.php b/webui/module/Media/Module.php
index e5ce000d17b..c42f9cb9a30 100644
--- a/webui/module/Media/Module.php
+++ b/webui/module/Media/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Media;
use Media\Model\Media;
diff --git a/webui/module/Media/autoload_classmap.php b/webui/module/Media/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Media/autoload_classmap.php
+++ b/webui/module/Media/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Pool/Module.php b/webui/module/Pool/Module.php
index 2167b12b427..b0786018f64 100644
--- a/webui/module/Pool/Module.php
+++ b/webui/module/Pool/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Pool;
use Pool\Model\Pool;
diff --git a/webui/module/Pool/autoload_classmap.php b/webui/module/Pool/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Pool/autoload_classmap.php
+++ b/webui/module/Pool/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Restore/Module.php b/webui/module/Restore/Module.php
index e23587722e6..ba01c900be2 100644
--- a/webui/module/Restore/Module.php
+++ b/webui/module/Restore/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Restore;
use Restore\Model\Restore;
diff --git a/webui/module/Restore/autoload_classmap.php b/webui/module/Restore/autoload_classmap.php
index d864ec91614..c324b0a8a66 100644
--- a/webui/module/Restore/autoload_classmap.php
+++ b/webui/module/Restore/autoload_classmap.php
@@ -1,4 +1,27 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Restore/view/restore/restore/filebrowser.phtml b/webui/module/Restore/view/restore/restore/filebrowser.phtml
index 396af8a8f90..620fe42660e 100644
--- a/webui/module/Restore/view/restore/restore/filebrowser.phtml
+++ b/webui/module/Restore/view/restore/restore/filebrowser.phtml
@@ -1,4 +1,29 @@
items;
+/**
+ *
+ * bareos-webui - Bareos Web-Frontend
+ *
+ * @link https://github.com/bareos/bareos for the canonical source repository
+ * @copyright Copyright (c) 2013-2019 Bareos GmbH & Co. KG (http://www.bareos.org/)
+ * @license GNU Affero General Public License (http://www.gnu.org/licenses/)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ *
+ */
+
+header('Content-Type: application/json');
+
+echo $this->items;
+
?>
diff --git a/webui/module/Schedule/Module.php b/webui/module/Schedule/Module.php
index 0aad598f9b3..ab463b83baf 100644
--- a/webui/module/Schedule/Module.php
+++ b/webui/module/Schedule/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Schedule;
use Schedule\Model\Schedule;
diff --git a/webui/module/Schedule/autoload_classmap.php b/webui/module/Schedule/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Schedule/autoload_classmap.php
+++ b/webui/module/Schedule/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Schedule/src/Schedule/Model/Schedule.php b/webui/module/Schedule/src/Schedule/Model/Schedule.php
index b04189d6a66..f6941dc73ad 100644
--- a/webui/module/Schedule/src/Schedule/Model/Schedule.php
+++ b/webui/module/Schedule/src/Schedule/Model/Schedule.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Schedule\Model;
class Schedule
diff --git a/webui/module/Storage/Module.php b/webui/module/Storage/Module.php
index 8287d7a79fb..508b9261d2e 100644
--- a/webui/module/Storage/Module.php
+++ b/webui/module/Storage/Module.php
@@ -1,5 +1,28 @@
.
+ *
+ */
+
namespace Storage;
use Storage\Model\Storage;
diff --git a/webui/module/Storage/autoload_classmap.php b/webui/module/Storage/autoload_classmap.php
index d5be5de26f9..ee00e5f7c53 100644
--- a/webui/module/Storage/autoload_classmap.php
+++ b/webui/module/Storage/autoload_classmap.php
@@ -1,3 +1,26 @@
.
+ *
+ */
+
return array();
diff --git a/webui/module/Storage/view/storage/storage/status.phtml b/webui/module/Storage/view/storage/storage/status.phtml
index 94344e55b2f..614dff4aab2 100644
--- a/webui/module/Storage/view/storage/storage/status.phtml
+++ b/webui/module/Storage/view/storage/storage/status.phtml
@@ -1,5 +1,28 @@
.
+ *
+ */
+
$title = 'Storage Status';
$this->headTitle($title);