* Adjust block module code.
This commit is contained in:
@@ -436,6 +436,12 @@ $lang->block->orderByList->product['id_desc'] = 'ID 递减';
|
||||
$lang->block->orderByList->product['status_asc'] = '状态正序';
|
||||
$lang->block->orderByList->product['status_desc'] = '状态倒序';
|
||||
|
||||
$lang->block->orderByList->project = array();
|
||||
$lang->block->orderByList->project['id_asc'] = 'ID 递增';
|
||||
$lang->block->orderByList->project['id_desc'] = 'ID 递减';
|
||||
$lang->block->orderByList->project['status_asc'] = '状态正序';
|
||||
$lang->block->orderByList->project['status_desc'] = '状态倒序';
|
||||
|
||||
$lang->block->orderByList->execution = array();
|
||||
$lang->block->orderByList->execution['id_asc'] = 'ID 递增';
|
||||
$lang->block->orderByList->execution['id_desc'] = 'ID 递减';
|
||||
|
||||
@@ -731,13 +731,16 @@ class blockModel extends model
|
||||
$params->bugNum['default'] = 20;
|
||||
$params->bugNum['control'] = 'input';
|
||||
|
||||
$params->riskNum['name'] = $this->lang->block->riskNum;
|
||||
$params->riskNum['default'] = 20;
|
||||
$params->riskNum['control'] = 'input';
|
||||
if(isset($this->config->maxVersion))
|
||||
{
|
||||
$params->riskNum['name'] = $this->lang->block->riskNum;
|
||||
$params->riskNum['default'] = 20;
|
||||
$params->riskNum['control'] = 'input';
|
||||
|
||||
$params->issueNum['name'] = $this->lang->block->issueNum;
|
||||
$params->issueNum['default'] = 20;
|
||||
$params->issueNum['control'] = 'input';
|
||||
$params->issueNum['name'] = $this->lang->block->issueNum;
|
||||
$params->issueNum['default'] = 20;
|
||||
$params->issueNum['control'] = 'input';
|
||||
}
|
||||
|
||||
$params->storyNum['name'] = $this->lang->block->storyNum;
|
||||
$params->storyNum['default'] = 20;
|
||||
|
||||
Reference in New Issue
Block a user