From: John R. <nuc...@us...> - 2007-10-28 15:39:37
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv14097/core Modified Files: Tag: BRANCH_1_1_0 constant_inc.php html_api.php Log Message: Fix #8063: Move Mantis version setting out of the configuration settings. Index: html_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/html_api.php,v retrieving revision 1.218.2.3 retrieving revision 1.218.2.4 diff -u -d -r1.218.2.3 -r1.218.2.4 --- html_api.php 22 Oct 2007 07:08:33 -0000 1.218.2.3 +++ html_api.php 28 Oct 2007 15:39:31 -0000 1.218.2.4 @@ -412,7 +412,7 @@ echo '<table border="0" width="100%" cellspacing="0" cellpadding="0"><tr valign="top"><td>'; if ( ON == config_get( 'show_version' ) ) { - echo "\t", '<span class="timer"><a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker">Mantis ', config_get( 'mantis_version' ), '</a>', + echo "\t", '<span class="timer"><a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker">Mantis ', MANTIS_VERSION, '</a>', '[<a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker" target="_blank">^</a>]</span>', "\n"; } echo "\t", '<address>Copyright © 2000 - 2007 Mantis Group</address>', "\n"; Index: constant_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/constant_inc.php,v retrieving revision 1.74.2.1 retrieving revision 1.74.2.2 diff -u -d -r1.74.2.1 -r1.74.2.2 --- constant_inc.php 13 Oct 2007 22:35:19 -0000 1.74.2.1 +++ constant_inc.php 28 Oct 2007 15:39:31 -0000 1.74.2.2 @@ -21,7 +21,7 @@ # $Id$ # -------------------------------------------------------- - ### CONSTANTS ### + define( 'MANTIS_VERSION', '1.1.0rc2' ); # --- constants ------------------- |