r1611: Adding the installer script and template diff for the 1.2.2 release
authorRobert Sesek <rsesek@bluestatic.org>
Mon, 24 Mar 2008 02:25:45 +0000 (02:25 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 24 Mar 2008 02:25:45 +0000 (02:25 +0000)
* install/upgrade17.php: New file
* install/templates/1.2.1 - 1.2.2.diff: New file

install/templates/1.2.1 - 1.2.2.diff [new file with mode: 0644]
install/upgrade17.php [new file with mode: 0644]

diff --git a/install/templates/1.2.1 - 1.2.2.diff b/install/templates/1.2.1 - 1.2.2.diff
new file mode 100644 (file)
index 0000000..c7c168d
--- /dev/null
@@ -0,0 +1,14 @@
+Index: footer.tpl
+===================================================================
+--- footer.tpl (.../tags/1.2.1/templates)      (revision 1610)
++++ footer.tpl (.../branches/1.2.x/templates)  (revision 1610)
+@@ -1,8 +1,7 @@
+ </div>
+ <div id="copyright">
+-      <div><lang 1="$version">{@"Powered by Bugdar %1$s"}</lang></div>
+-      <div>{@"Copyright"} &copy;2002 - $year, Blue Static</div>
++      <div>{@"Powered by Bugdar"}, {@"Copyright"} &copy;2002 - $year Blue Static</div>
+ </div>
+ </body>
diff --git a/install/upgrade17.php b/install/upgrade17.php
new file mode 100644 (file)
index 0000000..76a8c4f
--- /dev/null
@@ -0,0 +1,75 @@
+<?php
+/*=====================================================================*\
+|| ###################################################################
+|| # 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 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
+|| # 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 this program; if not, write to the Free Software Foundation, Inc.,
+|| # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+|| ###################################################################
+\*=====================================================================*/
+
+define('STOP_MARK', 1);
+define('ACTIVE_SITE', 'upgrade17.php');
+
+require_once('./global.php');
+require_once('./includes/functions_datastore.php');
+
+page_start();
+
+// ###################################################################
+
+if ($bugsys->in['mark'] == 0)
+{
+?>
+<h1>Welcome to Bugdar</h1>
+
+<p>This upgrade will take from Bugdar 1.2.1 to Bugdar 1.2.2.</p>
+
+<p>To begin the process, please click the button below.</p>
+<?php
+}
+
+// ###################################################################
+
+if ($bugsys->in['mark'] == 1)
+{
+?>
+<h1>Version Number Change</h1>
+
+<p>This step finishes the upgrade by inreasing your version number.</p>
+
+<?php
+       
+       $db->query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.2.2' WHERE varname = 'trackerversion'");
+       
+       build_settings();
+       
+?>
+
+... done.
+
+<?php
+}
+
+// ###################################################################
+
+page_end();
+
+/*=====================================================================*\
+|| ###################################################################
+|| # $HeadURL$
+|| # $Id$
+|| ###################################################################
+\*=====================================================================*/
+?>
\ No newline at end of file