1、在config_inc.php中增加
2、修改html_api.php,在html_top_banner函数开始添加以下两行代码
- $g_show_mantis_logo = OFF;
- function html_top_banner() {
- if ("OFF" == config_get('show_mantis_logo'))
- return false;
3、修改html_api.php,在html_footer函数末端代码添加对show_mantis_logo的判断(带N个加号行系添加的代码)
- if (ON == config_get('show_mantis_logo')) { //+++++++++++++++
- 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";
- } //+++++++++++++++