zoukankan      html  css  js  c++  java
  • 更改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";或注释掉

  • 相关阅读:
    while语句
    闭包
    文件操作
    Python基础九:高级特性
    Python基础八:函数
    Python基础六:字典和集合
    Python基础七:条件判断和循环结构
    Python基础五:列表和元组
    Python基础四:字符串及编码
    Python基础三:数据类型和变量
  • 原文地址:https://www.cnblogs.com/azhqiang/p/4369323.html
Copyright © 2011-2022 走看看