您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源Bug管理工具 > Mantis
Mantis缺陷跟蹤系統(tǒng)的安裝
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2014/3/18 16:07:34 ] 推薦標(biāo)簽:Mantis 缺陷跟蹤

打開JPGraph下的jpgraph_ttf.inc.php文件,搜索其中:

elseif( $aFF === FF_SIMSUN ) {

      // Do Chinese conversion

      if( $this->g2312 == null ) {

   include_once 'jpgraph_gb2312.php' ;

   $this->g2312 = new GB2312toUTF8();

      }

      return $this->g2312->gb2utf8($aTxt);

}

改為:

elseif( $aFF === FF_SIMSUN ) {

      // Do Chinese conversion

     /*

      if( $this->g2312 == null ) {

   include_once 'jpgraph_gb2312.php' ;

   $this->g2312 = new GB2312toUTF8();

      }

      return $this->g2312->gb2utf8($aTxt);

   */

   return $aTxt;

}

5)修改程序

文件mantispluginsMantisGraphpagesconfig.php(記得本文件改完后用Ultraedit用ASC-II至UTF-8的轉(zhuǎn)換功能保存為UTF-8格式文件,與總體字符集保持一致):

    $t_current_font_selected = array(

        'simsun' => false,  //增加這一行

        'arial' => false,

//---------------------------------------------------------------------

        Sans-serif:<br />

        <label><input type="radio" name="font" value="simsun"<?php echo print_font_checked( 'simsun' )?>/>宋體</label><br /> //增加這一行

        <label><input type="radio" name="font" value="arial"<?php echo print_font_checked( 'arial' )?>/>Arial</label><br />

//---------------------------------------------------------------------

   文件mantispluginsMantisGraphpagesconfig_edit.php:

if ( plugin_config_get( 'font' ) != $f_font ) {

        switch ( $f_font ) {

                case 'simsun':    //增加這一行

                case 'arial':

//----------------------------------------------------------------------

   文件mantispluginsMantisGraphcoregraph_api.php:

                $t_font_map = array(

                        'simsun' => FF_SIMSUN,   //增加這一行

                        'arial' => FF_ARIAL,

6)設(shè)置并啟用:

    (1)、管理--》管理插件--》點(diǎn)擊“MantisGraph 1.0”名字進(jìn)入設(shè)置界面,

 。2)、Graph library to use選擇“Jpgraph”,F(xiàn)ont選擇“宋體”

 。3)、點(diǎn)擊“更改配置”后再看看統(tǒng)計(jì)報(bào)表中內(nèi)容,是否已如你所愿。

7)MantisGraph插件的中文化文件strings_chinese_simplified.rar解壓到mantispluginsMantisGraphlang目錄下即可。

5.使用 Mantis

Mantis的使用較為簡(jiǎn)單,大略可分以下幾個(gè)步驟:

5.1 建立一個(gè)項(xiàng)目(菜單:管理→項(xiàng)目管理→創(chuàng)建新建項(xiàng)目);

5.2 打開成功建立的項(xiàng)目,進(jìn)入項(xiàng)目編輯頁面,為該項(xiàng)目添加“分類”、“版本”(如下圖所示);


5.3 提 Bug(菜單:報(bào)告問題 …) :


5.4 查看報(bào)表 …

5.5 當(dāng)然,還有權(quán)限配置,流程配置等功能,詳細(xì)可登錄 http://www.mantisbt.org/了解。

Problem is the query to the database, the generic category for projects was forgotten.

Within MantisGraph/core/graph.php around line&n

上一頁123下一頁
軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠(chéng)聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd