diff --git a/module/bug/view/browse.custom.html.php b/module/bug/view/browse.custom.html.php index 954cf0e26c..5ff3d353bf 100644 --- a/module/bug/view/browse.custom.html.php +++ b/module/bug/view/browse.custom.html.php @@ -14,57 +14,78 @@ recTotal}&recPerPage={$pager->recPerPage}"; ?> - - - - - + '> +
bug->$fieldName);?>
+ + + + + + + + + + + id");?> + + + + + + + + - - - - - - id");?> - - - - - - - - - -
bug->$fieldName);?>actions;?>
+ + + + $fieldName); + } + elseif(preg_match('/assignedTo|by/i', $fieldName)) + { + echo $users[$bug->$fieldName]; + } + elseif(preg_match('/^(severity|pri|resolution|os|type|browse|status|confirmed)$/i', $fieldName)) + { + $key = $fieldName . 'List'; + $list = $lang->bug->$key; + echo $list[$bug->$fieldName]; + } + else + { + echo !($bug->$fieldName == '0') ? $bug->$fieldName : ''; + } + ?> + + id"; + if(!($bug->status == 'active' and common::printLink('bug', 'resolve', $params, $lang->bug->buttonResolve))) echo $lang->bug->buttonResolve . ' '; + if(!($bug->status == 'resolved' and common::printLink('bug', 'close', $params, $lang->bug->buttonClose))) echo $lang->bug->buttonClose . ' '; + common::printLink('bug', 'edit', $params, $lang->bug->buttonEdit); + ?> + +
actions;?>
- $fieldName); - } - elseif(preg_match('/assignedTo|by/i', $fieldName)) - { - echo $users[$bug->$fieldName]; - } - elseif(preg_match('/^(severity|pri|resolution|os|type|browse|status|confirmed)$/i', $fieldName)) - { - $key = $fieldName . 'List'; - $list = $lang->bug->$key; - echo $list[$bug->$fieldName]; - } - else - { - echo !($bug->$fieldName == '0') ? $bug->$fieldName : ''; - } - ?> - - id"; - if(!($bug->status == 'active' and common::printLink('bug', 'resolve', $params, $lang->bug->buttonResolve))) echo $lang->bug->buttonResolve . ' '; - if(!($bug->status == 'resolved' and common::printLink('bug', 'close', $params, $lang->bug->buttonClose))) echo $lang->bug->buttonClose . ' '; - common::printLink('bug', 'edit', $params, $lang->bug->buttonEdit); - ?> - -
show();?>
+ + + + + +
+ bug->batchEdit); + ?> +
+ +
show();?>
+ + + + + diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index b52f32afdc..5586e1f904 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -10,14 +10,14 @@ * @link http://www.zentao.net */ ?> - - - - +
@@ -158,12 +158,14 @@ var customed = ; cookie->windowWidth >= $this->config->wideSize ? 12 : 9;?> +
bug->batchEdit); ?>
+
show();?>
diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index ccdc5aa432..3b89729b70 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -10,14 +10,17 @@ * @link http://www.zentao.net */ ?> - - - - - -bug->placeholder, 'json');?> - - +bug->placeholder, 'json'); +js::set('userList', array_keys($users), 'json'); +js::set('page', 'create'); +?> +
diff --git a/module/bug/view/edit.html.php b/module/bug/view/edit.html.php index 66c11686d5..6e454288fe 100644 --- a/module/bug/view/edit.html.php +++ b/module/bug/view/edit.html.php @@ -10,23 +10,24 @@ * @link http://www.zentao.net */ ?> - - - - - - +bug->confirmChangeProduct); +js::set('oldProjectID' , $bug->project); +js::set('oldStoryID' , $bug->story); +js::set('oldTaskID' , $bug->task); +js::set('oldOpenedBuild' , $bug->openedBuild); +js::set('oldResolvedBuild' , $bug->resolvedBuild); +js::set('userList' , array_keys($users), 'json'); +?> +
bug->create;?>