From c8f1d939dbb74d751ec20cbf7b2131ff6440d46a Mon Sep 17 00:00:00 2001 From: Michael Meckelein Date: Wed, 21 Sep 2005 12:19:01 +0000 Subject: [PATCH] Added versions info --- classes/eventfilter.php | 2 +- classes/eventsnavigation.php | 2 +- config.php | 10 ++++++---- db-drv/mysql.php | 2 +- db-drv/odbc_mssql.php | 2 +- db-drv/odbc_mysql.php | 2 +- db-drv/odbc_mysql_.php | 2 +- details.php | 2 +- events-display.php | 2 +- filter-config-process.php | 2 +- filter-config.php | 2 +- forms/logs-per-page.php | 2 +- forms/manually-date.php | 2 +- include.php | 2 +- index.php | 11 ++++++----- install/include.php | 27 +++++++++++++++++++++++++++ install/install.php | 29 +++++++++++++++++++---------- install/perform.php | 29 +++++++++++++++++++---------- install/scripts/config.php.ex | 2 +- lang/de.php | 2 +- lang/en.php | 2 +- layout/theme.php | 2 +- quick-filter.php | 2 +- scripts/config.php.ex | 2 +- submit.php | 2 +- syslog-display.php | 2 +- syslog-index.php | 2 +- user-config-process.php | 2 +- user-config.php | 2 +- 29 files changed, 101 insertions(+), 53 deletions(-) diff --git a/classes/eventfilter.php b/classes/eventfilter.php index e148ca3..a0d9bcd 100644 --- a/classes/eventfilter.php +++ b/classes/eventfilter.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/classes/eventsnavigation.php b/classes/eventsnavigation.php index c01c472..7b9429e 100644 --- a/classes/eventsnavigation.php +++ b/classes/eventsnavigation.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/config.php b/config.php index d23cee9..32641d9 100644 --- a/config.php +++ b/config.php @@ -4,8 +4,6 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 - This program 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 2 of the License, or (at your @@ -52,10 +50,10 @@ See AUTHORS to learn who helped make it become a reality. define('_DBNAME', 'phplogcon'); // Userid for database connection *** - define('_DBUSERID', 'root'); + define('_DBUSERID', 'MonitorWareUser'); // Password for database connection *** - define('_DBPWD', ''); + define('_DBPWD', 'UsersPassword'); // table name define('_DBTABLENAME', 'SystemEvents'); @@ -124,6 +122,10 @@ See AUTHORS to learn who helped make it become a reality. // Custom Admin Message (appears on the homepage) define('_AdminMessage', ""); + // Version Number + define('_VersionMajor', "1"); + define('_VersionMinor', "2"); + define('_VersionPatchLevel', "0"); /* ***** END VARIOUS SETTINGS ***** diff --git a/db-drv/mysql.php b/db-drv/mysql.php index 70a75c6..ba88712 100644 --- a/db-drv/mysql.php +++ b/db-drv/mysql.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/db-drv/odbc_mssql.php b/db-drv/odbc_mssql.php index 01db16a..a9e2c8d 100644 --- a/db-drv/odbc_mssql.php +++ b/db-drv/odbc_mssql.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/db-drv/odbc_mysql.php b/db-drv/odbc_mysql.php index 94d3727..305d1dd 100644 --- a/db-drv/odbc_mysql.php +++ b/db-drv/odbc_mysql.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/db-drv/odbc_mysql_.php b/db-drv/odbc_mysql_.php index 1a3172a..5dd8af6 100644 --- a/db-drv/odbc_mysql_.php +++ b/db-drv/odbc_mysql_.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/details.php b/details.php index 1e18816..d4105b3 100644 --- a/details.php +++ b/details.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/events-display.php b/events-display.php index 9771540..087033a 100644 --- a/events-display.php +++ b/events-display.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/filter-config-process.php b/filter-config-process.php index 1b113ce..2638477 100644 --- a/filter-config-process.php +++ b/filter-config-process.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/filter-config.php b/filter-config.php index adc2682..8b9e3cd 100644 --- a/filter-config.php +++ b/filter-config.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/forms/logs-per-page.php b/forms/logs-per-page.php index 5776afe..52dff4a 100644 --- a/forms/logs-per-page.php +++ b/forms/logs-per-page.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/forms/manually-date.php b/forms/manually-date.php index a152c99..e14b9f4 100644 --- a/forms/manually-date.php +++ b/forms/manually-date.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/include.php b/include.php index ce81f50..c08f9a5 100644 --- a/include.php +++ b/include.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/index.php b/index.php index a9b528d..e0ff169 100644 --- a/index.php +++ b/index.php @@ -4,8 +4,6 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 - This program 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 2 of the License, or (at your @@ -28,12 +26,10 @@ See AUTHORS to learn who helped make it become a reality. */#### #### #### #### #### #### #### #### #### #### - include 'include.php'; include _CLASSES . 'eventsnavigation.php'; - - + if(_ENABLEUI == 1) { // *** WHEN TRUE, LOGOUT USER *** @@ -92,6 +88,11 @@ See AUTHORS to learn who helped make it become a reality. } WriteStandardHeader('Index'); + + // Show current Version Number (configurable in config.php): + echo "
phpLogCon version "._VersionMajor."."._VersionMinor."."._VersionPatchLevel."
"; + + echo '
'; include _CLASSES . 'eventfilter.php'; diff --git a/install/include.php b/install/include.php index aef6f46..7a78b6f 100644 --- a/install/include.php +++ b/install/include.php @@ -1,5 +1,32 @@ . +See AUTHORS to learn who helped make it become a reality. + +*/#### #### #### #### #### #### #### #### #### #### + function WriteHead($title) { diff --git a/install/install.php b/install/install.php index fa198d4..a0713d1 100644 --- a/install/install.php +++ b/install/install.php @@ -1,22 +1,31 @@ . See AUTHORS to learn who helped make -it become a reality. +You should have received a copy of the GNU General Public License along with this program; +if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +MA 02111-1307, USA. -*/#### #### #### #### #### #### #### #### #### #### +If you have questions about phpLogCon in general, please email info@adiscon.com. +To learn more about phpLogCon, please visit http://www.phplogcon.com. + +This Project was intiated and is maintened by Rainer Gerhards . +See AUTHORS to learn who helped make it become a reality. + +*/#### #### #### #### #### #### #### #### #### #### include "include.php"; diff --git a/install/perform.php b/install/perform.php index 8dc030e..a81318c 100644 --- a/install/perform.php +++ b/install/perform.php @@ -1,22 +1,31 @@ . See AUTHORS to learn who helped make -it become a reality. +You should have received a copy of the GNU General Public License along with this program; +if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, +MA 02111-1307, USA. -*/#### #### #### #### #### #### #### #### #### #### +If you have questions about phpLogCon in general, please email info@adiscon.com. +To learn more about phpLogCon, please visit http://www.phplogcon.com. + +This Project was intiated and is maintened by Rainer Gerhards . +See AUTHORS to learn who helped make it become a reality. + +*/#### #### #### #### #### #### #### #### #### #### include "include.php"; include "../lang/" . $_POST['lang'] . ".php"; diff --git a/install/scripts/config.php.ex b/install/scripts/config.php.ex index a893204..f82db0f 100644 --- a/install/scripts/config.php.ex +++ b/install/scripts/config.php.ex @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/lang/de.php b/lang/de.php index 92bfb9b..005229b 100644 --- a/lang/de.php +++ b/lang/de.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/lang/en.php b/lang/en.php index 463f634..493c738 100644 --- a/lang/en.php +++ b/lang/en.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/layout/theme.php b/layout/theme.php index acdd787..740a448 100644 --- a/layout/theme.php +++ b/layout/theme.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/quick-filter.php b/quick-filter.php index 5927bc1..1c3484a 100644 --- a/quick-filter.php +++ b/quick-filter.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/scripts/config.php.ex b/scripts/config.php.ex index a893204..f82db0f 100644 --- a/scripts/config.php.ex +++ b/scripts/config.php.ex @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/submit.php b/submit.php index 9e2afb7..c75a21d 100644 --- a/submit.php +++ b/submit.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/syslog-display.php b/syslog-display.php index cb22972..b088cb7 100644 --- a/syslog-display.php +++ b/syslog-display.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/syslog-index.php b/syslog-index.php index 65265e2..13c70d2 100644 --- a/syslog-index.php +++ b/syslog-index.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/user-config-process.php b/user-config-process.php index 15a7101..e6a7e1e 100644 --- a/user-config-process.php +++ b/user-config-process.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the diff --git a/user-config.php b/user-config.php index 73870ab..8dfba95 100644 --- a/user-config.php +++ b/user-config.php @@ -4,7 +4,7 @@ phpLogCon - A Web Interface to Log Data. Copyright (C) 2004-2005 Adiscon GmbH -Version 1.1 + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the