put clear MPL2 license headers on all files
authorRobert Kaiser <kairo@kairo.at>
Tue, 29 Nov 2016 17:24:20 +0000 (18:24 +0100)
committerRobert Kaiser <kairo@kairo.at>
Tue, 29 Nov 2016 17:24:20 +0000 (18:24 +0100)
12 files changed:
classes/document.php-class
classes/email.php-class
classes/rrdstat.php-class
classes/useragent.php-class
examples/rrd/rrd-config.inc.php
examples/rrd/rrd-config/hostname.inc.php
examples/rrd/rrd-stat.php
examples/rrd/rrd-test.php
examples/rrd/rrd-update.php
tests/test.css
tests/ua_list.php
tests/ua_test.php

index d2e9aff3ef105989212f27adc028c4ab4ba34421..218ec3cfde4950d2475bc9b614a87769632d478e 100755 (executable)
@@ -1,23 +1,7 @@
 <?php
 <?php
-/* ***** BEGIN LICENSE BLOCK *****
- *
- * The contents of this file are subject to Austrian copyright reegulations
- * ("Urheberrecht"); you may not use this file except in compliance with
- * those laws.
- * This contents and any derived work, if it gets distributed in any way,
- * is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
- * either express or implied.
- *
- * The Original Code is KaiRo's extended DOM document classes.
- *
- * The Initial Developer of the Original Code is
- * KaiRo - Robert Kaiser.
- * Portions created by the Initial Developer are Copyright (C) 2010
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s): Robert Kaiser <kairo@kairo.at>
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 class ExtendedDocument extends DOMDocument {
   // ExtendedDocument PHP class
 
 class ExtendedDocument extends DOMDocument {
   // ExtendedDocument PHP class
index ff03a17363534d9083423d5e7538b9e0427f412e..9853ba4fa9e518ed25b2e1a5c0a334763812a3f1 100644 (file)
@@ -1,23 +1,7 @@
 <?php
 <?php
-/* ***** BEGIN LICENSE BLOCK *****
- *
- * The contents of this file are subject to Austrian copyright reegulations
- * ("Urheberrecht"); you may not use this file except in compliance with
- * those laws.
- * This contents and any derived work, if it gets distributed in any way,
- * is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
- * either express or implied.
- *
- * The Original Code is KaiRo's E-Mail module.
- *
- * The Initial Developer of the Original Code is
- * KaiRo - Robert Kaiser.
- * Portions created by the Initial Developer are Copyright (C) 2003-2006
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s): Robert Kaiser <kairo@kairo.at>
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 class email {
   // email PHP class
 
 class email {
   // email PHP class
index 1443ec6fa427929d064fc6d1571d4520442f6949..68b6d23902295dc0f9f9cdc6b527ced307ebcaca 100644 (file)
@@ -1,23 +1,7 @@
 <?php
 <?php
-/* ***** BEGIN LICENSE BLOCK *****
- *
- * The contents of this file are subject to Austrian copyright reegulations
- * ("Urheberrecht"); you may not use this file except in compliance with
- * those laws.
- * This contents and any derived work, if it gets distributed in any way,
- * is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
- * either express or implied.
- *
- * The Original Code is KaiRo's RRD statistics class.
- *
- * The Initial Developer of the Original Code is
- * KaiRo - Robert Kaiser.
- * Portions created by the Initial Developer are Copyright (C) 2005-2006
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s): Robert Kaiser <kairo@kairo.at>
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 class rrdstat {
   // rrdstat PHP class
 
 class rrdstat {
   // rrdstat PHP class
index 9026179b8ed99bfe0855c769241ecb95020b207f..407c48d465c3f2f0675a2004a1fa6a04024e6dcf 100755 (executable)
@@ -1,39 +1,7 @@
 <?php
 <?php
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License Version
- * 1.1 (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is KaiRo's userAgent detection.
- *
- * The Initial Developer of the Original Code is
- * KaiRo - Robert Kaiser.
- * Portions created by the Initial Developer are Copyright (C) 2003-2007
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s): Robert Kaiser <kairo@kairo.at>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 class userAgent {
   // userAgent PHP class
 
 class userAgent {
   // userAgent PHP class
index c58088b6a42150588e7ca71a9cb5d39dc9bbc9a8..3707d13d52f2892ee3d7949438395981241129cb 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 // RRD info for CPU info
 $rrd_info = array();
 $rrd_info['*']['graph']['path'] = 'graphs';
 // RRD info for CPU info
 $rrd_info = array();
 $rrd_info['*']['graph']['path'] = 'graphs';
index f2ddd88b52f795797ac49964ec2f273915e2b69e..3cf8948e76b1905bd76430778da90779e2b53a5c 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 // RRD info for CPU info
 $rrd_info = array();
 $rrd_info['*']['graph']['path'] = 'graphs';
 // RRD info for CPU info
 $rrd_info = array();
 $rrd_info['*']['graph']['path'] = 'graphs';
index ed939746be868d66d075b46cb18e73c90ae8f735..87120429c4b5aa515d83029b9c6c20d1a8793173 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 date_default_timezone_set("Europe/Vienna");
 $myfile = $_SERVER['SCRIPT_FILENAME'];
 while (is_link($myfile)) { $myfile = readlink($myfile); }
 date_default_timezone_set("Europe/Vienna");
 $myfile = $_SERVER['SCRIPT_FILENAME'];
 while (is_link($myfile)) { $myfile = readlink($myfile); }
index 160e94f369ff6c8fa63d8a29231f84ed9f985eaf..7910b6c7cb13c38d7fa976a2ea3fe4d4f90cde49 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 date_default_timezone_set("Europe/Vienna");
 $myfile = $_SERVER['SCRIPT_FILENAME'];
 while (is_link($myfile)) { $myfile = readlink($myfile); }
 date_default_timezone_set("Europe/Vienna");
 $myfile = $_SERVER['SCRIPT_FILENAME'];
 while (is_link($myfile)) { $myfile = readlink($myfile); }
index 12193192d9968122f9739f57ca827d613fc67b51..3f03db1b7757e6f7c7f3e66680d3cc6d8b49d318 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 date_default_timezone_set("Europe/Vienna");
 $myfile = $_SERVER['SCRIPT_FILENAME'];
 while (is_link($myfile)) { $myfile = readlink($myfile); }
 date_default_timezone_set("Europe/Vienna");
 $myfile = $_SERVER['SCRIPT_FILENAME'];
 while (is_link($myfile)) { $myfile = readlink($myfile); }
index 7a26387560bebc3b533fd71544ebf3be94a3db12..25983aba348531833fbd16fcc4d77b59e4d754fe 100755 (executable)
@@ -1,3 +1,7 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 /* general styles */
 
 body {
 /* general styles */
 
 body {
index 795c7abb5ec6cb9b90b8020e7e6c54bef5fa7ee7..3c9fa000f5c43257952d3aa1569de84ee9ced07e 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 include('../classes/useragent.php-class');
 
 // read string from this file
 include('../classes/useragent.php-class');
 
 // read string from this file
index 95234d9620102c1940fa1fa9a8a5fbc7732b84b8..bf72e447ced1a9496c2d4621a75ba3b5e88886f9 100644 (file)
@@ -1,4 +1,8 @@
 <?php
 <?php
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
+
 include('../classes/useragent.php-class');
 
 // set default time zone - right now, always the one the server is in!
 include('../classes/useragent.php-class');
 
 // set default time zone - right now, always the one the server is in!