更改Mantis的logo
1 准备好自己的logo,例如准备的logo为zhaoxiyu.gif、zxy.gif
2 把上面的两个logo存放到C:/mantis-1.0.0a3/images
3 打开C:/mantis-1.0.0a3/core中的html_api.php文件
4 查找function html_top_banner() 在这个函数中更改echo '<a href="http://www.Browan.com" title="Hello Browan"><img border="0" width="270" height="55" alt="HELLO Browan" src="images/zhaoxiyu.gif" /></a>';
这个需要根据实际情况更改例如 width="270" height="55
- 主要更改了页面中最大的那个logo
5 查找if ( ON == config_get( 'show_queries_list' ) ) 在下面更改echo '<a href="http://www.freepp.com"
title="BROWAN"><img src="images/zxy.gif" width="81" height="48" alt="Voice Beyond Sky" border="0" /></a>';
- 主要更改了页面中右下角的那个logo
mantis左下角的文字信息的清除
1 打开C:/mantis-1.0.0a3/core中的html_api.php文件
2 查找到echo "/t", $t_unique_queries . ' unique queries executed.<br />', "/n";在前面添加个#号
3 查找到echo "/t", $t_count, ' total queries executed.<br />', "/n";在前面添加个#号
4 查找到echo "/t", '<address><a href=" mailto:' , config_get( 'webmaster_email' ), '">', config_get(
'webmaster_email' ), '</a></address>', "/n";在前面添加个#号
5 查找到echo "/t", '<span class="timer"><a href=" http://www.browan.com/">Mantis ', config_get(
'mantis_version' ), '</a>'在前面添加个#号
6 把上一步骤紧接着的文字更改为echo "/t", '<address> </address>', "/n";或注释掉
· Obsidian + DeepSeek:免费 AI 助力你的知识管理,让你的笔记飞起来!
· 分享4款.NET开源、免费、实用的商城系统
· 解决跨域问题的这6种方案,真香!
· 一套基于 Material Design 规范实现的 Blazor 和 Razor 通用组件库
· 5. Nginx 负载均衡配置案例(附有详细截图说明++)