Skip to content

Commit

Permalink
Removed print_mantis_version(). Moved it into print_foooter().
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@624 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Jan 11, 2002
1 parent e49d5eb commit 7b7b2da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
3 changes: 2 additions & 1 deletion ChangeLog
Expand Up @@ -26,7 +26,8 @@ Mantis
* Removed site_settings pages.
* Removed unused cookie variables.
* Removed sql_to_unix_time() function. Unecessary with removal of TIMESTAMPS.
* Removed menu_inc.php file and related variable. Moved this into print_menu()
* Removed menu_inc.php file and related variable. Moved this into print_menu().
* Removed print_mantis_version(). Moved it into print_foooter().
* Renamed g_store_file_to to g_file_upload_method.

12.01.2001 - 0.16.1
Expand Down
19 changes: 6 additions & 13 deletions core_html_API.php
Expand Up @@ -5,7 +5,7 @@
# See the files README and LICENSE for details

###########################################################################
# Core HTML API ###
# Core HTML API
###########################################################################

# These functions control the display of each page
Expand Down Expand Up @@ -160,7 +160,8 @@ function print_bottom_page( $p_page ) {
# (11) Prints the bottom of page information
function print_footer( $p_file ) {
global $g_string_cookie_val, $g_webmaster_email,
$g_menu_include_file, $g_show_footer_menu;
$g_menu_include_file, $g_show_footer_menu,
$g_mantis_version, $g_show_version;

if (isset($g_string_cookie_val)&&!empty($g_string_cookie_val)) {
if ( $g_show_footer_menu ) {
Expand All @@ -172,7 +173,9 @@ function print_footer( $p_file ) {

PRINT "<p>";
PRINT "<hr size=\"1\">";
print_mantis_version();
if ( ON == $g_show_version ) {
PRINT "<span class=\"italic\"><a href=\"http://mantisbt.sourceforge.net/\">Mantis $g_mantis_version</a></span>";
}
PRINT "<address>Copyright (C) 2000, 2001</address>";
PRINT "<address><a href=\"mailto:$g_webmaster_email\">$g_webmaster_email</a></address>";
}
Expand Down Expand Up @@ -251,16 +254,6 @@ function print_source_link( $p_file ) {
}
}
# --------------------
# checks to see whether we need to be displaying the version number
# used in print_footer()
function print_mantis_version() {
global $g_mantis_version, $g_show_version;

if ( ON == $g_show_version ) {
PRINT "<span class=\"italic\"><a href=\"http://mantisbt.sourceforge.net/\">Mantis $g_mantis_version</a></span>";
}
}
# --------------------
# print the hr
function print_hr( $p_hr_size, $p_hr_width ) {
PRINT "<hr size=\"$p_hr_size\" width=\"$p_hr_width%\">";
Expand Down

0 comments on commit 7b7b2da

Please sign in to comment.