From 50b6ef381d85d5231c6ece0ccdfcc025339b5eaa Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 15 Apr 2008 17:20:32 +0200 Subject: [PATCH] made sure everything is properly under GPLv3 --- COPYING | 6 --- src/classes/class_template.php | 25 ++++++++++-- src/classes/enums.class.php | 25 ++++++++++-- src/classes/logstream.class.php | 25 ++++++++++-- src/classes/logstreamconfig.class.php | 37 +++++++++++++----- src/classes/logstreamconfigdisk.class.php | 25 ++++++++++-- src/classes/logstreamdisk.class.php | 29 +++++++++++--- src/classes/logstreamlineparser.class.php | 25 ++++++++++-- .../logstreamlineparsersyslog.class.php | 25 ++++++++++-- .../logstreamlineparserwinsyslog.class.php | 25 ++++++++++-- src/css/defaults.css | 2 +- src/css/highlight.css | 4 +- src/include/constants_errors.php | 25 ++++++++++-- src/include/constants_filters.php | 25 ++++++++++-- src/include/constants_general.php | 25 ++++++++++-- src/include/constants_logstream.php | 25 ++++++++++-- src/include/functions_common.php | 25 ++++++++++-- src/include/functions_config.php | 37 +++++++++++++----- src/include/functions_db.php | 25 ++++++++++-- src/include/functions_filters.php | 26 ++++++++++--- src/include/functions_frontendhelpers.php | 25 ++++++++++-- src/include/functions_themes.php | 25 ++++++++++-- src/lang/de/main.php | 30 +++++++++++++- src/lang/en/main.php | 30 +++++++++++++- src/search.php | 39 +++++++++++++------ src/userchange.php | 39 +++++++++++++------ 26 files changed, 528 insertions(+), 126 deletions(-) diff --git a/COPYING b/COPYING index 654a56b..804eb5c 100644 --- a/COPYING +++ b/COPYING @@ -1,9 +1,3 @@ -phpLogCon is available under the terms of the GNU GPL v3 or above (full -text below). If this license is too restrictive for your needs, you -may obtain a commercial license from Adiscon. For details, contact -sales@adiscon.com. ------------------------------------------------------------------------ - GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/src/classes/class_template.php b/src/classes/class_template.php index 64f0fb5..9fe775e 100644 --- a/src/classes/class_template.php +++ b/src/classes/class_template.php @@ -1,10 +1,7 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * * * Template Class 1.02 * @@ -20,6 +17,26 @@ * by Andre Lorbach * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -225,4 +242,4 @@ function template_parser_sub($template, $values) return $template; } -?> \ No newline at end of file +?> diff --git a/src/classes/enums.class.php b/src/classes/enums.class.php index a15a5a9..f93db31 100644 --- a/src/classes/enums.class.php +++ b/src/classes/enums.class.php @@ -1,15 +1,32 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Since php does not support enums we emulate it * * using a abstract class. * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -37,4 +54,4 @@ abstract class EnumSeek { const EOS = 2; // seek from end of stream const UID = 3; // seek from position uid (which MUST be a *valid* uid!) } -?> \ No newline at end of file +?> diff --git a/src/classes/logstream.class.php b/src/classes/logstream.class.php index c1ad621..e550f5c 100644 --- a/src/classes/logstream.class.php +++ b/src/classes/logstream.class.php @@ -1,15 +1,32 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * LogStream provides access to the log data. Be sure to always * * use LogStream if you want to access a text file or database. * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -469,4 +486,4 @@ abstract class LogStream { } -?> \ No newline at end of file +?> diff --git a/src/classes/logstreamconfig.class.php b/src/classes/logstreamconfig.class.php index 1efc8a8..dc1e4c2 100644 --- a/src/classes/logstreamconfig.class.php +++ b/src/classes/logstreamconfig.class.php @@ -1,15 +1,32 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * - * ----------------------------------------------------------------- * - * StreamConfig has the capability to create a specific LogStream * - * object depending on a configured LogStream*Config object. * - * * - * All directives are explained within this file * + * -> www.phplogcon.org <- + * ----------------------------------------------------------------- + * StreamConfig has the capability to create a specific LogStream + * object depending on a configured LogStream*Config object. + * + * All directives are explained within this file + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -31,4 +48,4 @@ abstract class LogStreamConfig { public abstract function LogStreamFactory($o); } -?> \ No newline at end of file +?> diff --git a/src/classes/logstreamconfigdisk.class.php b/src/classes/logstreamconfigdisk.class.php index 1b2aa5e..00698b0 100644 --- a/src/classes/logstreamconfigdisk.class.php +++ b/src/classes/logstreamconfigdisk.class.php @@ -1,15 +1,32 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * StreamConfig has the capability to create a specific LogStream * * object depending on a configured LogStream*Config object. * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -63,4 +80,4 @@ class LogStreamConfigDisk extends LogStreamConfig { } } -?> \ No newline at end of file +?> diff --git a/src/classes/logstreamdisk.class.php b/src/classes/logstreamdisk.class.php index d0ab195..c27f84f 100644 --- a/src/classes/logstreamdisk.class.php +++ b/src/classes/logstreamdisk.class.php @@ -1,10 +1,7 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Some constants * * * @@ -12,10 +9,30 @@ * cases this will be plain text files. If we need access to e.g. * zipped files, this will be handled by a separate driver. * - * \version 1.0.1 2nd Version - * \version 1.0.0 Init Version + * \version 2.0.1 2nd Version + * \version 2.0.0 Init Version * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -437,4 +454,4 @@ class LogStreamDisk extends LogStream { } } -?> \ No newline at end of file +?> diff --git a/src/classes/logstreamlineparser.class.php b/src/classes/logstreamlineparser.class.php index 1e58995..4342a00 100644 --- a/src/classes/logstreamlineparser.class.php +++ b/src/classes/logstreamlineparser.class.php @@ -1,14 +1,31 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * LogStream LineParser abstract basic class * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -132,4 +149,4 @@ abstract class LogStreamLineParser { } -?> \ No newline at end of file +?> diff --git a/src/classes/logstreamlineparsersyslog.class.php b/src/classes/logstreamlineparsersyslog.class.php index f7e5fc6..5bd0325 100644 --- a/src/classes/logstreamlineparsersyslog.class.php +++ b/src/classes/logstreamlineparsersyslog.class.php @@ -1,14 +1,31 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * LogStream Parser is used to split syslog messages into fields * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -104,4 +121,4 @@ class LogStreamLineParsersyslog extends LogStreamLineParser { } -?> \ No newline at end of file +?> diff --git a/src/classes/logstreamlineparserwinsyslog.class.php b/src/classes/logstreamlineparserwinsyslog.class.php index cb9ed1d..0a21ecc 100644 --- a/src/classes/logstreamlineparserwinsyslog.class.php +++ b/src/classes/logstreamlineparserwinsyslog.class.php @@ -1,14 +1,31 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * LogStream Parser is used to split syslog messages into fields * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -89,4 +106,4 @@ class LogStreamLineParserwinsyslog extends LogStreamLineParser { } -?> \ No newline at end of file +?> diff --git a/src/css/defaults.css b/src/css/defaults.css index 6b1fc11..10e34ee 100644 --- a/src/css/defaults.css +++ b/src/css/defaults.css @@ -1,4 +1,4 @@ -/* Generic Style defintions */ +/* Generic Style definitions */ .ExpansionPlus { background-image: url("../images/icons/navigate_plus.png"); diff --git a/src/css/highlight.css b/src/css/highlight.css index 9d4adec..4abe783 100644 --- a/src/css/highlight.css +++ b/src/css/highlight.css @@ -1,4 +1,4 @@ -/* Generic Style defintions */ +/* Generic Style definitions */ .highlight_1 { color: #F61313; @@ -79,4 +79,4 @@ { color: #A684FF; background-color: #333333; -} \ No newline at end of file +} diff --git a/src/include/constants_errors.php b/src/include/constants_errors.php index 3f2357b..588f2c6 100644 --- a/src/include/constants_errors.php +++ b/src/include/constants_errors.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Some constants * * * * -> Stuff which has to be static and predefined * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -32,4 +49,4 @@ define('ERROR_UNDEFINED', 6); define('ERROR_EOS', 7); define('ERROR_NOMORERECORDS', 8); define('ERROR_FILTER_NOT_MATCH', 9); -?> \ No newline at end of file +?> diff --git a/src/include/constants_filters.php b/src/include/constants_filters.php index 44ffe94..0114844 100644 --- a/src/include/constants_filters.php +++ b/src/include/constants_filters.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Some constants * * * * -> Stuff which has to be static and predefined * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -55,4 +72,4 @@ define('FILTER_TYPE_STRING', 0); define('FILTER_TYPE_NUMBER', 1); define('FILTER_TYPE_DATE', 2); -?> \ No newline at end of file +?> diff --git a/src/include/constants_general.php b/src/include/constants_general.php index 0a0a1b0..ce77978 100644 --- a/src/include/constants_general.php +++ b/src/include/constants_general.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Some constants * * * * -> Stuff which has to be static and predefined * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -105,4 +122,4 @@ $severity_colors[SYSLOG_INFO] = "#0C9C91"; $severity_colors[SYSLOG_DEBUG] = "#119BDE"; // --- -?> \ No newline at end of file +?> diff --git a/src/include/constants_logstream.php b/src/include/constants_logstream.php index af6e92b..d1b883d 100644 --- a/src/include/constants_logstream.php +++ b/src/include/constants_logstream.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Some constants * * * * -> Stuff which has to be static and predefined * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -69,4 +86,4 @@ define('EVTIME_TIMESTAMP', '0'); define('EVTIME_TIMEZONE', '1'); define('EVTIME_MICROSECONDS', '2'); -?> \ No newline at end of file +?> diff --git a/src/include/functions_common.php b/src/include/functions_common.php index e3da01a..debfeaa 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Common needed functions * * * * -> * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -568,4 +585,4 @@ function RedirectToDatabaseUpgrade() // --- END Usermanagement Function --- -?> \ No newline at end of file +?> diff --git a/src/include/functions_config.php b/src/include/functions_config.php index 725df53..deb8bf8 100644 --- a/src/include/functions_config.php +++ b/src/include/functions_config.php @@ -1,14 +1,31 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * - * ----------------------------------------------------------------- * - * Maintain and read Source Configurations * - * * - * -> Configuration need variables for the Database connection * + ********************************************************************* + * -> www.phplogcon.org <- * + * ----------------------------------------------------------------- * + * Maintain and read Source Configurations * + * * + * -> Configuration need variables for the Database connection * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -100,4 +117,4 @@ $content['Sources'][$currentSourceID]['selected'] = "selected"; } -?> \ No newline at end of file +?> diff --git a/src/include/functions_db.php b/src/include/functions_db.php index 66cfbe8..6da14b0 100644 --- a/src/include/functions_db.php +++ b/src/include/functions_db.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * DB Function Helper File * * * * -> Needed to establish and maintain the DB connetion * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -308,4 +325,4 @@ function GetRowsAffected() -?> \ No newline at end of file +?> diff --git a/src/include/functions_filters.php b/src/include/functions_filters.php index 8a95fe7..a8e90c8 100644 --- a/src/include/functions_filters.php +++ b/src/include/functions_filters.php @@ -1,13 +1,29 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Filter Helper functions for the frontend * - * * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -257,4 +273,4 @@ function GetTimeStampFromTimeString($szTimeString) } } -?> \ No newline at end of file +?> diff --git a/src/include/functions_frontendhelpers.php b/src/include/functions_frontendhelpers.php index a3ebfe9..7304fcf 100644 --- a/src/include/functions_frontendhelpers.php +++ b/src/include/functions_frontendhelpers.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Helperfunctions for the web frontend * * * * -> * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -95,4 +112,4 @@ function GetFormatedDate($evttimearray) return $szDateFormatted = date("Y-m-d H:i:s", $evttimearray[EVTIME_TIMESTAMP] ); } -?> \ No newline at end of file +?> diff --git a/src/include/functions_themes.php b/src/include/functions_themes.php index 105c309..ae0ce11 100644 --- a/src/include/functions_themes.php +++ b/src/include/functions_themes.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * * ----------------------------------------------------------------- * * Theme specific functions * * * * -> * * * * All directives are explained within this file * + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -104,4 +121,4 @@ function VerifyTheme( $newtheme ) return false; } -?> \ No newline at end of file +?> diff --git a/src/lang/de/main.php b/src/lang/de/main.php index 3a60188..09380fe 100644 --- a/src/lang/de/main.php +++ b/src/lang/de/main.php @@ -1,4 +1,30 @@ www.phplogcon.org <- + * ----------------------------------------------------------------- + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. + ********************************************************************* +*/ global $content; // Global Stuff @@ -8,7 +34,7 @@ $content['LN_GEN_LANGUAGE'] = "Sprache ausw $content['LN_GEN_SELECTSOURCE'] = "Select Source"; // Index Site -$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warnung! Du hast das Installationsscript 'install.php' noch nicht aus dem UltraStats Hauptordner entfernt!"; +$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warnung! Du hast das Installationsscript 'install.php' noch nicht aus dem phpLogCon Hauptordner entfernt!"; $content['LN_TOP_NUM'] = "No."; $content['LN_GRID_DATE'] = "Date"; $content['LN_GRID_FACILITY'] = "Facility"; @@ -18,4 +44,4 @@ $content['LN_GRID_INFOUNIT'] = "InfoUnit"; $content['LN_GRID_HOST'] = "Source"; $content['LN_GRID_MSG'] = "Message"; -?> \ No newline at end of file +?> diff --git a/src/lang/en/main.php b/src/lang/en/main.php index c52a6c8..7446fb6 100644 --- a/src/lang/en/main.php +++ b/src/lang/en/main.php @@ -1,4 +1,30 @@ www.phplogcon.org <- + * ----------------------------------------------------------------- + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. + ********************************************************************* +*/ global $content; // Global Stuff @@ -13,7 +39,7 @@ $content['LN_GEN_NEXTPAGE'] = "Next Page"; $content['LN_GEN_PREVIOUSPAGE'] = "Previous Page"; // Main Index Site -$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warning! You still have NOT removed the 'install.php' from your PhpLogCon main directory!"; +$content['LN_ERROR_INSTALLFILEREMINDER'] = "Warning! You still have NOT removed the 'install.php' from your phpLogCon main directory!"; $content['LN_TOP_NUM'] = "No."; $content['LN_TOP_UID'] = "uID"; $content['LN_GRID_DATE'] = "Date"; @@ -60,4 +86,4 @@ $content['LN_FILTER_MESSAGE'] = "Syslog Message"; $content['LN_FILTER_SYSLOGTAG'] = "Syslogtag"; $content['LN_FILTER_SOURCE'] = "Source (Hostname)"; -?> \ No newline at end of file +?> diff --git a/src/search.php b/src/search.php index ec64834..634f4d4 100644 --- a/src/search.php +++ b/src/search.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * - * ----------------------------------------------------------------- * - * Main Index File * - * * - * -> Loads the main PhpLogCon Site * - * * - * All directives are explained within this file * + * -> www.phplogcon.org <- + * ----------------------------------------------------------------- + * Main Index File + * + * -> Loads the main PhpLogCon Site + * + * All directives are explained within this file + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -55,4 +72,4 @@ $page -> parser($content, "search.html"); $page -> output(); // --- -?> \ No newline at end of file +?> diff --git a/src/userchange.php b/src/userchange.php index 73a03e5..4a4a36e 100644 --- a/src/userchange.php +++ b/src/userchange.php @@ -1,16 +1,33 @@ www.phplogcon.org <- * - * * - * Use this script at your own risk! * - * ----------------------------------------------------------------- * - * Main Index File * - * * - * -> Loads the main PhpLogCon Site * - * * - * All directives are explained within this file * + * -> www.phplogcon.org <- + * ----------------------------------------------------------------- + * Main Index File + * + * -> Loads the main PhpLogCon Site + * + * All directives are explained within this file + * + * Copyright (C) 2008 Adiscon GmbH. + * + * This file is part of phpLogCon. + * + * PhpLogCon is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * PhpLogCon 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with phpLogCon. If not, see . + * + * A copy of the GPL can be found in the file "COPYING" in this + * distribution. ********************************************************************* */ @@ -49,4 +66,4 @@ if ( isset($_GET['op']) ) // Final redirect RedirectPage( $szRedir ); // --- -?> \ No newline at end of file +?>