Skip to content

Commit

Permalink
New logo, button and favicon.
Browse files Browse the repository at this point in the history
1. Logo - for now login page and normal pages use the same logo size.  In future versions, we may include a slightly larger one for the login page.  Didn't want to include this in a minor update, since this is a configurable image name, and hence adding a new logo, may end up with having a mix of two logos.

2. The button is now a scaled version of the logo.  For this reason, it is removed from the footer of the login page, but kept on the others.

3. Added the new favicon.
  • Loading branch information
vboctor committed Feb 10, 2012
1 parent 69b3aeb commit af78d81
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 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.gif';
$g_logo_image = 'images/mantis_logo_232x80.png';

/**
* Logo URL link
Expand Down
15 changes: 11 additions & 4 deletions core/html_api.php
Expand Up @@ -473,7 +473,7 @@ function html_top_banner() {
if( $t_show_url ) {
echo '<a href="', config_get( 'logo_url' ), '">';
}
echo '<img border="0" alt="Mantis Bug Tracker" src="' . helper_mantis_url( config_get( 'logo_image' ) ) . '" />';
echo '<img border="0" alt="Mantis Bug Tracker" src="' . helper_mantis_url( $t_logo_image ) . '" />';
if( $t_show_url ) {
echo '</a>';
}
Expand Down Expand Up @@ -659,9 +659,16 @@ function html_footer( $p_file = null ) {
}
}

echo '</td><td>', "\n\t", '<div align="right">';
echo '<a href="http://www.mantisbt.org" title="Free Web Based Bug Tracker"><img src="' . helper_mantis_url( 'images/mantis_logo_button.gif' ) . '" width="88" height="35" alt="Powered by Mantis Bugtracker" border="0" /></a>';
echo '</div>', "\n", '</td></tr></table>', "\n";
echo '</td><td>', "\n\t";

# 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 '</div>', "\n";
}

echo '</td></tr></table>', "\n";
}

/**
Expand Down
Binary file modified images/favicon.ico
Binary file not shown.
Binary file removed images/mantis_logo.gif
Binary file not shown.
Binary file added images/mantis_logo_232x80.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/mantis_logo_button.gif
Binary file not shown.

2 comments on commit af78d81

@atrol
Copy link
Member

@atrol atrol commented on af78d81 Feb 13, 2012

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intended to not commit to master branch?

@vboctor
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not intentional. But I haven't got to it yet. I've a couple of checkins that I need to go back and integrate. Will do that once, I catch up on the latest status of the master/next/etc branches.

Please sign in to comment.