From ae70058970899dc8219eedf29e39d850e5576187 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 19 Jul 2007 22:33:24 +0000 Subject: [PATCH] r1582: We no longer can trust the tag variable substitution for PHP files. Changing the way we use Budar's version number. --- INSTALLING | 2 +- UPGRADING | 2 +- admin/automation.php | 6 +-- admin/field.php | 6 +-- admin/global.php | 6 +-- admin/index.php | 6 +-- admin/language.php | 6 +-- admin/permission.php | 6 +-- admin/priority.php | 6 +-- admin/product.php | 6 +-- admin/resolution.php | 6 +-- admin/setting.php | 6 +-- admin/severity.php | 6 +-- admin/status.php | 6 +-- admin/user.php | 6 +-- admin/usergroup.php | 6 +-- admin/userhelp.php | 6 +-- attachment.php | 6 +-- docs/datatools.php | 6 +-- docs/mailtest.php | 6 +-- docs/post-commit.php | 6 +-- editcomment.php | 6 +-- editreport.php | 6 +-- explain.php | 6 +-- favorite.php | 6 +-- global.php | 6 +-- help.php | 6 +-- includes/api_attachment.php | 8 ++-- includes/api_automation.php | 8 ++-- includes/api_bug.php | 8 ++-- includes/api_comment.php | 8 ++-- includes/api_field.php | 8 ++-- includes/api_language.php | 8 ++-- includes/api_priority.php | 8 ++-- includes/api_resolution.php | 8 ++-- includes/api_severity.php | 8 ++-- includes/api_status.php | 8 ++-- includes/api_user.php | 8 ++-- includes/api_usergroup.php | 8 ++-- includes/api_userhelp.php | 8 ++-- includes/auth/auth.php | 8 ++-- includes/auth/auth_default.php | 8 ++-- includes/auth/auth_drupal.php | 8 ++-- includes/auth/auth_phpbb2.php | 8 ++-- includes/auth/auth_vbulletin.php | 8 ++-- includes/class_admin_navigation.php | 8 ++-- includes/class_api_error.php | 8 ++-- includes/class_logging.php | 8 ++-- includes/class_message_reporter.php | 6 +-- includes/class_notification.php | 8 ++-- includes/class_sort.php | 8 ++-- includes/config.php.new | 6 +-- includes/definitions.php | 6 +-- includes/functions.php | 6 +-- includes/functions_datastore.php | 6 +-- includes/functions_product.php | 6 +-- includes/init.php | 10 ++-- includes/language.php | 6 +-- includes/permissions.php | 6 +-- includes/version.php | 33 +++++++++++++ index.php | 6 +-- install/convert_database_charset.php | 6 +-- install/default_data.php | 6 +-- install/global.php | 10 ++-- install/install.css | 6 +-- install/install.php | 6 +-- install/schema.php | 6 +-- install/settings.php | 10 ++-- install/templates/1.0.0 - 1.1.0 Beta 1.diff | 48 +++++++++---------- .../1.2.0 Beta 1 - 1.2.0 Beta 2.diff | 6 +-- install/upgrade.php | 6 +-- install/upgrade1.php | 6 +-- install/upgrade10.php | 6 +-- install/upgrade11.php | 6 +-- install/upgrade12.php | 6 +-- install/upgrade13.php | 6 +-- install/upgrade14.php | 6 +-- install/upgrade15.php | 6 +-- install/upgrade2.php | 6 +-- install/upgrade3.php | 6 +-- install/upgrade4.php | 6 +-- install/upgrade5.php | 6 +-- install/upgrade6.php | 6 +-- install/upgrade7.php | 6 +-- install/upgrade8.php | 6 +-- install/upgrade9.php | 6 +-- login.php | 6 +-- newreport.php | 6 +-- register.php | 6 +-- search.php | 6 +-- showhistory.php | 6 +-- showreport.php | 6 +-- syndicate.php | 6 +-- templates/box.css | 6 +-- templates/fields.css | 6 +-- templates/global.css | 6 +-- templates/global.js | 6 +-- templates/report.css | 6 +-- userctrl.php | 6 +-- viewattachment.php | 6 +-- vote.php | 6 +-- 101 files changed, 382 insertions(+), 343 deletions(-) create mode 100644 includes/version.php diff --git a/INSTALLING b/INSTALLING index 27b9340..cd8de48 100644 --- a/INSTALLING +++ b/INSTALLING @@ -1,4 +1,4 @@ -BUGDAR [#]version[#] README AND INSTALL +BUGDAR README AND INSTALL ======================================= Thanks for downloading Bugdar. It's freeware distributed under the diff --git a/UPGRADING b/UPGRADING index d3ee606..0320349 100644 --- a/UPGRADING +++ b/UPGRADING @@ -1,4 +1,4 @@ -BUGDAR [#]version[#] UPGRADING +BUGDAR UPGRADING ======================================= Thanks for downloading Bugdar. It's freeware distributed under the diff --git a/admin/automation.php b/admin/automation.php index ea317f6..c69ef71 100644 --- a/admin/automation.php +++ b/admin/automation.php @@ -1,12 +1,12 @@ load('api', null); * API: Attachment * * @author Blue Static -* @copyright Copyright ©2002 - [#]year[#], Blue Static +* @copyright Copyright ©2002 - 2007, Blue Static * @version $Revision$ * @package Bugdar * diff --git a/includes/api_automation.php b/includes/api_automation.php index fda59cc..f559bb3 100644 --- a/includes/api_automation.php +++ b/includes/api_automation.php @@ -1,12 +1,12 @@ load('api', null); * verification error, they actually set it to the default value * * @author Blue Static -* @copyright Copyright ©2002 - [#]year[#], Blue Static +* @copyright Copyright ©2002 - 2007, Blue Static * @version $Revision$ * @package Bugdar * diff --git a/includes/api_comment.php b/includes/api_comment.php index d87305e..7a51a2a 100644 --- a/includes/api_comment.php +++ b/includes/api_comment.php @@ -1,12 +1,12 @@ load('api', null); * API: Comment * * @author Blue Static -* @copyright Copyright ©2002 - [#]year[#], Blue Static +* @copyright Copyright ©2002 - 2007, Blue Static * @version $Revision$ * @package Bugdar * diff --git a/includes/api_field.php b/includes/api_field.php index 8743659..e74ce9d 100644 --- a/includes/api_field.php +++ b/includes/api_field.php @@ -1,12 +1,12 @@ setAppPath(getcwd()); $bugsys->setApplication('Bugdar'); -$bugsys->setAppVersion('[#]version[#]'); +$bugsys->setAppVersion(BUGDAR_VERSION); if (!file_exists('./includes/config.php')) { diff --git a/includes/language.php b/includes/language.php index 3d9af25..2fd9661 100644 --- a/includes/language.php +++ b/includes/language.php @@ -1,12 +1,12 @@ \ No newline at end of file diff --git a/index.php b/index.php index 3964dbe..71958bb 100644 --- a/index.php +++ b/index.php @@ -1,12 +1,12 @@ setAppPath(getcwd()); $bugsys->setApplication('Bugdar'); -$bugsys->setAppVersion('[#]version[#]'); +$bugsys->setAppVersion(BUGDAR_VERSION); if (!file_exists('./includes/config.php')) { diff --git a/install/install.css b/install/install.css index bc69edc..df7ec28 100644 --- a/install/install.css +++ b/install/install.css @@ -1,11 +1,11 @@ /*=====================================================================*\ || ################################################################### -|| # Bugdar [#]version[#] -|| # Copyright ©2002-[#]year[#] Blue Static +|| # Bugdar +|| # Copyright ©2002-2007 Blue Static || # || # 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; version [#]gpl[#] of the License. +|| # the Free Software Foundation; version 2 of the License. || # || # This program is distributed in the hope that it will be useful, but || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY diff --git a/install/install.php b/install/install.php index 17d9fb7..b7c5b6d 100644 --- a/install/install.php +++ b/install/install.php @@ -1,12 +1,12 @@ '1', 'verifyemail' => '1', 'moderatenewusers' => '0', 'webmasteremail' => 'noreply@bluestatic.org', 'trackertitle' => 'Avalon Development Tracker', - 'trackerversion' => '[#]version[#]', + 'trackerversion' => BUGDAR_VERSION, 'defaultcomment' => '', 'sendwelcomemail' => '1', 'authmethod' => 'default', diff --git a/install/templates/1.0.0 - 1.1.0 Beta 1.diff b/install/templates/1.0.0 - 1.1.0 Beta 1.diff index 817db07..6e0caee 100644 --- a/install/templates/1.0.0 - 1.1.0 Beta 1.diff +++ b/install/templates/1.0.0 - 1.1.0 Beta 1.diff @@ -6,18 +6,18 @@ Index: box.css /*=====================================================================*\ -|| ################################################################### || +|| ################################################################### - || # Bugdar [#]version[#] + || # Bugdar -|| # --------------------------------------------------------------- # || --|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +-|| # Copyright ©2002-2007 by Iris Studios, Inc. All Rights Reserved. # || -|| # This file may not be reproduced in any way without permission. # || -|| # --------------------------------------------------------------- # || -|| # User License Agreement at http://www.iris-studios.com/license/ # || -|| ################################################################### || -+|| # Copyright ©2002-[#]year[#] Blue Static ++|| # Copyright ©2002-2007 Blue Static +|| # +|| # 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; version [#]gpl[#] of the License. ++|| # the Free Software Foundation; version 2 of the License. +|| # +|| # This program is distributed in the hope that it will be useful, but +|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -805,18 +805,18 @@ Index: global.css /*=====================================================================*\ -|| ################################################################### || +|| ################################################################### - || # Bugdar [#]version[#] + || # Bugdar -|| # --------------------------------------------------------------- # || --|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +-|| # Copyright ©2002-2007 by Iris Studios, Inc. All Rights Reserved. # || -|| # This file may not be reproduced in any way without permission. # || -|| # --------------------------------------------------------------- # || -|| # User License Agreement at http://www.iris-studios.com/license/ # || -|| ################################################################### || -+|| # Copyright ©2002-[#]year[#] Blue Static ++|| # Copyright ©2002-2007 Blue Static +|| # +|| # 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; version [#]gpl[#] of the License. ++|| # the Free Software Foundation; version 2 of the License. +|| # +|| # This program is distributed in the hope that it will be useful, but +|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -903,18 +903,18 @@ Index: fields.css /*=====================================================================*\ -|| ################################################################### || +|| ################################################################### - || # Bugdar [#]version[#] + || # Bugdar -|| # --------------------------------------------------------------- # || --|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +-|| # Copyright ©2002-2007 by Iris Studios, Inc. All Rights Reserved. # || -|| # This file may not be reproduced in any way without permission. # || -|| # --------------------------------------------------------------- # || -|| # User License Agreement at http://www.iris-studios.com/license/ # || -|| ################################################################### || -+|| # Copyright ©2002-[#]year[#] Blue Static ++|| # Copyright ©2002-2007 Blue Static +|| # +|| # 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; version [#]gpl[#] of the License. ++|| # the Free Software Foundation; version 2 of the License. +|| # +|| # This program is distributed in the hope that it will be useful, but +|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -949,18 +949,18 @@ Index: report.css /*=====================================================================*\ -|| ################################################################### || +|| ################################################################### - || # Bugdar [#]version[#] + || # Bugdar -|| # --------------------------------------------------------------- # || --|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +-|| # Copyright ©2002-2007 by Iris Studios, Inc. All Rights Reserved. # || -|| # This file may not be reproduced in any way without permission. # || -|| # --------------------------------------------------------------- # || -|| # User License Agreement at http://www.iris-studios.com/license/ # || -|| ################################################################### || -+|| # Copyright ©2002-[#]year[#] Blue Static ++|| # Copyright ©2002-2007 Blue Static +|| # +|| # 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; version [#]gpl[#] of the License. ++|| # the Free Software Foundation; version 2 of the License. +|| # +|| # This program is distributed in the hope that it will be useful, but +|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -1032,18 +1032,18 @@ Index: stylevars.txt -|| ################################################################### || -|| # BugTrack [#]version[#] -|| # --------------------------------------------------------------- # || --|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +-|| # Copyright ©2002-2007 by Iris Studios, Inc. All Rights Reserved. # || -|| # This file may not be reproduced in any way without permission. # || -|| # --------------------------------------------------------------- # || -|| # User License Agreement at http://www.iris-studios.com/license/ # || -|| ################################################################### || +|| ################################################################### -+|| # Bugdar [#]version[#] -+|| # Copyright ©2002-[#]year[#] Blue Static ++|| # Bugdar ++|| # Copyright ©2002-2007 Blue Static +|| # +|| # 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; version [#]gpl[#] of the License. ++|| # the Free Software Foundation; version 2 of the License. +|| # +|| # This program is distributed in the hope that it will be useful, but +|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -1065,18 +1065,18 @@ Index: global.js /*=====================================================================*\ -|| ################################################################### || +|| ################################################################### - || # Bugdar [#]version[#] + || # Bugdar -|| # --------------------------------------------------------------- # || --|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # || +-|| # Copyright ©2002-2007 by Iris Studios, Inc. All Rights Reserved. # || -|| # This file may not be reproduced in any way without permission. # || -|| # --------------------------------------------------------------- # || -|| # User License Agreement at http://www.iris-studios.com/license/ # || -|| ################################################################### || -+|| # Copyright ©2002-[#]year[#] Blue Static ++|| # Copyright ©2002-2007 Blue Static +|| # +|| # 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; version [#]gpl[#] of the License. ++|| # the Free Software Foundation; version 2 of the License. +|| # +|| # This program is distributed in the hope that it will be useful, but +|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY diff --git a/install/templates/1.2.0 Beta 1 - 1.2.0 Beta 2.diff b/install/templates/1.2.0 Beta 1 - 1.2.0 Beta 2.diff index e497bba..684bbbd 100644 --- a/install/templates/1.2.0 Beta 1 - 1.2.0 Beta 2.diff +++ b/install/templates/1.2.0 Beta 1 - 1.2.0 Beta 2.diff @@ -5,12 +5,12 @@ Index: stylevars.txt @@ -1,57 +0,0 @@ -/*=====================================================================*\ -|| ################################################################### --|| # Bugdar [#]version[#] --|| # Copyright ©2002-[#]year[#] Blue Static +-|| # Bugdar +-|| # Copyright ©2002-2007 Blue Static -|| # -|| # 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; version [#]gpl[#] of the License. +-|| # the Free Software Foundation; version 2 of the License. -|| # -|| # This program is distributed in the hope that it will be useful, but -|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY diff --git a/install/upgrade.php b/install/upgrade.php index 1c75bb6..8a96a7a 100644 --- a/install/upgrade.php +++ b/install/upgrade.php @@ -1,12 +1,12 @@