您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Mantis
Mantis缺陷跟蹤系統(tǒng)的安裝
作者:網(wǎng)絡轉(zhuǎn)載 發(fā)布時間:[ 2014/3/18 16:07:34 ] 推薦標簽: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)設置并啟用:

    (1)、管理--》管理插件--》點擊“MantisGraph 1.0”名字進入設置界面,

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

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

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

5.使用 Mantis

Mantis的使用較為簡單,大略可分以下幾個步驟:

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

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


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


5.4 查看報表 …

5.5 當然,還有權(quán)限配置,流程配置等功能,詳細可登錄 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下一頁
軟件測試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd