Skip to content

Commit

Permalink
Issue #13998: Logo is not present on new installation.
Browse files Browse the repository at this point in the history
1. Rename the mantis_logo_238x40.png to mantis_logo.png.  To avoid more renames in the future if we change the logo size or design.
2. Added a copy of mantis_logo.png in gif format to match the old file name, just in case config_inc.php points to it.  Note that the gif version is a lower quality due to the gif format.
3. Changed the code, default configuration, and sample configuration to reference mantis_logo.png.
  • Loading branch information
vboctor committed Mar 5, 2012
1 parent 9ee9f2c commit dd3c6dd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config_defaults_inc.php
Expand Up @@ -744,7 +744,7 @@
* Logo
* @global string $g_logo_image
*/
$g_logo_image = 'images/mantis_logo_232x80.png';
$g_logo_image = 'images/mantis_logo.png';

/**
* Logo URL link
Expand Down
2 changes: 1 addition & 1 deletion config_inc.php.sample
Expand Up @@ -70,7 +70,7 @@ $g_return_path_email = 'admin@example.com'; # the return address for bounced

# --- Branding ---
# $g_window_title = 'MantisBT';
# $g_logo_image = 'images/mantis_logo_232x80.png';
# $g_logo_image = 'images/mantis_logo.png';
# $g_favicon_image = 'images/favicon.ico';

# --- Real names ---
Expand Down
2 changes: 1 addition & 1 deletion core/html_api.php
Expand Up @@ -660,7 +660,7 @@ function html_footer( $p_file = null ) {
# We don't have a button anymore, so for now we will only show the resized version of the logo when not on login page.
if ( !is_page_name( 'login_page' ) ) {
echo '<div align="right">';
echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img src="' . helper_mantis_url( 'images/mantis_logo_232x80.png' ) . '" width="145" height="50" alt="Powered by Mantis Bugtracker" border="0" /></a>';
echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img src="' . helper_mantis_url( 'images/mantis_logo.png' ) . '" width="145" height="50" alt="Powered by Mantis Bugtracker" border="0" /></a>';
echo '</div>', "\n";
}

Expand Down
Binary file added images/mantis_logo.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit dd3c6dd

Please sign in to comment.