bugfree 改造

改造之前

仔细研读以下几篇文章,会对您把握BugFree 的代码结构有所裨益。

  • BugFree 目录文件结构列表(刘振飞) http://bugfree.1zsoft.com/Doc/FILES.htm
  • BugFree 配置参数详细说明(王春生) http://bugfree.1zsoft.com/Doc/CONFIG.htm
  • BugFree 模板系统--撰写于2005/08/22 http://forum.1zsoft.com/viewtopic.php?id=68
  • BugFree 的初始化文件--撰写于2005/09/08 http://forum.1zsoft.com/viewtopic.php?id=65
  • BugFree 的多语言支持--撰写于2005/09/22 http://forum.1zsoft.com/viewtopic.php?id=67
  • BugFree 数据库结构http://bugfree.1zsoft.com/Doc/BugFree.sql

怎样在bugfree中添加bug的解决方案

  • 问:BugFree 现在有7 个解决方案,包括: By Design、Duplicate、External、Fixed、Not Repro、Postponed、Won't Fix,我想再添加一个,该如何修改?
  • 答: 请在\Bugfree\Lang 的相应的语言目录下修改:

例如,在\Bugfree\Lang\ZH_CN_UTF-8\_COMMON.php 文件中做如下修改

/* Define the Resolution. */
$_LANG['BugResolutions'] = array
(
'' => '',
'By Design' => 'By Design',
'Duplicate' => 'Duplicate',
'External' => 'External',
'Fixed' => 'Fixed',
'Not Repro' => 'Not Repro',
'Postponed' => 'Postponed',
'Will not Fix' => "Won't Fix", //别忘了加一个逗号
"test" => "test" //直接在这里添加
);

如何将解决方案改为中文

请在\Bugfree\Lang 的相应的语言目录下修改:例如,在\Bugfree\Lang\ZH_CN_UTF-8\_COMMON.php 文件中做如下修改

/* Define the Resolution. */
$_LANG['BugResolutions'] = array
(
'' => '',
'By Design' => '就这么设计的',
'Duplicate' => '重复的任务',
// 'External' => 'External',
// 'Fixed' => 'Fixed',
// 'Not Repro' => 'Not Repro',
// 'Postponed' => 'Postponed',
// 'Will not Fix' => "Won't Fix"
);

如何修改模块列表的宽度

请修改此文件:Bugfree\Template\Index.tpl 中的以下内容:

<frameset cols="24%,9,*" 
name="MainFrame" 
id="MainFrame" 
frameborder="no" 
border="0"
framespacing="0">

如何修改“指派给我”那里显示的Bug的数目

修改Bugfree\UserControl.php 这个文件里的$LimitNum,有两处。

BugfreeSDGZ.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值