Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd3c6dd

Browse files
committedMar 5, 2012
Issue #13998: Logo is not present on new installation.
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.
1 parent 9ee9f2c commit dd3c6dd

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed
 

‎config_defaults_inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@
744744
* Logo
745745
* @global string $g_logo_image
746746
*/
747-
$g_logo_image = 'images/mantis_logo_232x80.png';
747+
$g_logo_image = 'images/mantis_logo.png';
748748

749749
/**
750750
* Logo URL link

‎config_inc.php.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ $g_return_path_email = 'admin@example.com'; # the return address for bounced
7070

7171
# --- Branding ---
7272
# $g_window_title = 'MantisBT';
73-
# $g_logo_image = 'images/mantis_logo_232x80.png';
73+
# $g_logo_image = 'images/mantis_logo.png';
7474
# $g_favicon_image = 'images/favicon.ico';
7575

7676
# --- Real names ---

‎core/html_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ function html_footer( $p_file = null ) {
660660
# 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.
661661
if ( !is_page_name( 'login_page' ) ) {
662662
echo '<div align="right">';
663-
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>';
663+
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>';
664664
echo '</div>', "\n";
665665
}
666666

‎images/mantis_logo.gif

7.63 KB
Loading
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.