Skip to content

Commit

Permalink
Fix #8063: Move Mantis version setting out of the configuration setti…
Browse files Browse the repository at this point in the history
…ngs.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@4672 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
amyreese committed Oct 28, 2007
1 parent 403db3c commit b1352df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions config_defaults_inc.php
Expand Up @@ -18,7 +18,7 @@
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.

# --------------------------------------------------------
# $Id: config_defaults_inc.php,v 1.366 2007-10-24 22:30:46 giallu Exp $
# $Id: config_defaults_inc.php,v 1.367 2007-10-28 15:35:13 nuclear_eclipse Exp $
# --------------------------------------------------------


Expand Down Expand Up @@ -342,7 +342,6 @@
#############################

# --- version variables -----------
$g_mantis_version = '1.2.0-CVS';
$g_show_version = ON;

################################
Expand Down
4 changes: 2 additions & 2 deletions core/constant_inc.php
Expand Up @@ -18,10 +18,10 @@
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.

# --------------------------------------------------------
# $Id: constant_inc.php,v 1.75 2007-10-24 22:30:59 giallu Exp $
# $Id: constant_inc.php,v 1.76 2007-10-28 15:35:13 nuclear_eclipse Exp $
# --------------------------------------------------------

### CONSTANTS ###
define( 'MANTIS_VERSION', '1.2.0-CVS' );

# --- constants -------------------

Expand Down
4 changes: 2 additions & 2 deletions core/html_api.php
Expand Up @@ -18,7 +18,7 @@
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.

# --------------------------------------------------------
# $Id: html_api.php,v 1.220 2007-10-24 22:30:59 giallu Exp $
# $Id: html_api.php,v 1.221 2007-10-28 15:35:13 nuclear_eclipse Exp $
# --------------------------------------------------------

###########################################################################
Expand Down Expand Up @@ -412,7 +412,7 @@ function html_footer( $p_file ) {

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 &copy; 2000 - 2007 Mantis Group</address>', "\n";
Expand Down

0 comments on commit b1352df

Please sign in to comment.