Skip to content

Commit

Permalink
always show copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Feb 25, 2012
1 parent 86fd19b commit 7a0262c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/html_api.php
Expand Up @@ -620,12 +620,10 @@ function html_footer( $p_file = null ) {

# Show MantisBT version and copyright statement
$t_version_suffix = '';
$t_copyright_years = '';
if ( config_get( 'show_version' ) ) {
$t_version_suffix = htmlentities( ' ' . MANTIS_VERSION . config_get_global( 'version_suffix' ) );
$t_copyright_years = ' 2000 - 2011';
}
echo "\t<address id=\"mantisbt-copyright\">Powered by <a href=\"http://www.mantisbt.org\" title=\"Mantis Bug Tracker: a free and open source web based bug tracking system.\">Mantis Bug Tracker</a> (MantisBT)$t_version_suffix. Copyright &copy;$t_copyright_years MantisBT contributors. Licensed under the terms of the <a href=\"http://www.gnu.org/licenses/old-licenses/gpl-2.0.html\" title=\"GNU General Public License (GPL) version 2\">GNU General Public License (GPL) version 2</a> or a later version.</address>\n";
echo "\t<address id=\"mantisbt-copyright\">Powered by <a href=\"http://www.mantisbt.org\" title=\"Mantis Bug Tracker: a free and open source web based bug tracking system.\">Mantis Bug Tracker</a> (MantisBT)$t_version_suffix. Copyright &copy; 2000 - " . date( 'Y' ) . " MantisBT contributors. Licensed under the terms of the <a href=\"http://www.gnu.org/licenses/old-licenses/gpl-2.0.html\" title=\"GNU General Public License (GPL) version 2\">GNU General Public License (GPL) version 2</a> or a later version.</address>\n";

# Show contact information
$t_webmaster_contact_information = sprintf( lang_get( 'webmaster_contact_information' ), string_html_specialchars( config_get( 'webmaster_email' ) ) );
Expand Down Expand Up @@ -800,7 +798,7 @@ function print_menu() {

# Manage Users (admins) or Manage Project (managers) or Manage Custom Fields
if( access_has_global_level( config_get( 'manage_site_threshold' ) ) ) {
$t_link = helper_mantis_url( 'manage_overview_page.php' );
$t_link = helper_mantis_url( 'manage/overview_page.php' );
$t_menu_options[] = '<a class="manage-menu-link" href="' . $t_link . '">' . lang_get( 'manage_link' ) . '</a>';
} else {
$t_show_access = min( config_get( 'manage_user_threshold' ), config_get( 'manage_project_threshold' ), config_get( 'manage_custom_fields_threshold' ) );
Expand Down

0 comments on commit 7a0262c

Please sign in to comment.