' . $tplStep, '
' . $tplStep . '
', $bug->steps); +
' . $tplStep, '
' . $tplStep . '
', $bug->steps); - $tplResult = strip_tags(trim($lang->bug->tplResult)); - $steps = str_replace('
' . $tplResult, '
' . $tplResult . '
', $steps); + $tplResult = strip_tags(trim($lang->bug->tplResult)); + $steps = str_replace('
' . $tplResult, '
' . $tplResult . '
', $steps); - $tplExpect = strip_tags(trim($lang->bug->tplExpect)); - $steps = str_replace('
' . $tplExpect, '
' . $tplExpect . '
', $steps); + $tplExpect = strip_tags(trim($lang->bug->tplExpect)); + $steps = str_replace('
' . $tplExpect, '
' . $tplExpect . '
', $steps); - $steps = str_replace('
', '', $steps); - echo $steps; - ?> + $steps = str_replace('', '', $steps); + echo $steps; + ?> +| bug->product;?> | -product", $product->name, '', "data-app='product'")) echo $product->name;?> | -
|---|---|
| product->branch, $lang->product->branchName[$product->type]);?> | -product&branch=$bug->branch", $branchName)) echo $branchName;?> | -
| bug->module;?> | - branch and isset($branches[$bugModule->branch])) - { - $moduleTitle .= $branches[$bugModule->branch] . '/'; - echo $branches[$bugModule->branch] . $lang->arrow; - } + printExtendFields($bug, 'div', "position=left&inForm=0&inCell=1");?> + + id"; + $extraParams = "extras=bugID=$bug->id"; + if($this->app->tab == 'project') $extraParams .= ",projectID={$bug->project}"; + if($this->app->tab == 'execution') $extraParams .= ",executionID={$bug->execution}"; + $copyParams = "productID=$productID&branch=$bug->branch&$extraParams"; + $convertParams = "productID=$productID&branch=$bug->branch&moduleID=0&from=bug&bugID=$bug->id"; + ?> +|
| bug->productplan;?> | -plan or !common::printLink('productplan', 'view', "planID=$bug->plan&type=bug", $bug->planName)) echo $bug->planName;?> | -
| bug->type;?> | -bug->typeList[$bug->type])) echo $lang->bug->typeList[$bug->type]; else echo $bug->type;?> | -
| bug->severity;?> | -- - bug->severityList, $bug->severity, $bug->severity);?> - - - - | -
| bug->pri;?> | -pri;?>' title='bug->priList, $bug->pri);?>'>bug->priList, $bug->pri)?> | -
| bug->status;?> | -processStatus('bug', $bug);?> | -
| bug->activatedCount;?> | -activatedCount;?> | -
| bug->activatedDate;?> | -activatedDate;?> | -
| bug->confirmed;?> | -bug->confirmedList[$bug->confirmed];?> | -
| bug->lblAssignedTo;?> | -assignedTo) echo zget($users, $bug->assignedTo) . $lang->at . $bug->assignedDate;?> | -
| bug->deadline;?> | -- deadline) echo $bug->deadline; - if(isset($bug->delay)) printf($lang->bug->delayWarning, $bug->delay); - ?> - | -
| bug->feedbackBy;?> | -feedbackBy;?> | -
| bug->notifyEmail;?> | -notifyEmail;?> | -
| bug->os;?> | -bug->osList[$bug->os];?> | -
| bug->browser;?> | -bug->browserList[$bug->browser];?> | -
| bug->keywords;?> | -keywords;?> | -
| bug->mailto;?> | -mailto)); foreach($mailto as $account) echo ' ' . zget($users, $account); ?> | -
| bug->project;?> | -project) echo html::a($this->createLink('project', 'view', "projectID=$bug->project"), $bug->projectName);?> | -
|---|---|
| bug->execution;?> | -execution) echo html::a($this->createLink('execution', 'browse', "executionID=$bug->execution"), $bug->executionName);?> | -
| bug->story;?> | -- story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story", '', true), "#$bug->story $bug->storyTitle", '', "class='iframe' data-width='80%'"); - if($bug->storyStatus == 'active' and $bug->latestStoryVersion > $bug->storyVersion) - { - echo "({$lang->story->changed} "; - echo html::a($this->createLink('bug', 'confirmStoryChange', "bugID=$bug->id"), $lang->confirm, 'hiddenwin'); - echo ")"; - } - ?> - | -
| bug->task;?> | -task) echo html::a($this->createLink('task', 'view', "taskID=$bug->task", '', true), $bug->taskName, '', "class='iframe' data-width='80%'");?> | -
| bug->openedBy;?> | -openedBy) . $lang->at . $bug->openedDate;?> | -||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bug->openedBuild;?> | -
+
+
+
+
+
+
+
-
-
bug->severity;?> |
+
+
+ bug->severityList, $bug->severity, $bug->severity);?>
+
+
+
+ |
+ | ||||||||||||||||||||||||||||||
| bug->pri;?> | +pri;?>' title='bug->priList, $bug->pri);?>'>bug->priList, $bug->pri)?> | +||||||||||||||||||||||||||||||||
| bug->status;?> | +processStatus('bug', $bug);?> | +||||||||||||||||||||||||||||||||
| bug->activatedCount;?> | +activatedCount;?> | +||||||||||||||||||||||||||||||||
| bug->activatedDate;?> | +activatedDate;?> | +||||||||||||||||||||||||||||||||
| bug->confirmed;?> | +bug->confirmedList[$bug->confirmed];?> | +||||||||||||||||||||||||||||||||
| bug->lblAssignedTo;?> | +assignedTo) echo zget($users, $bug->assignedTo) . $lang->at . $bug->assignedDate;?> | +||||||||||||||||||||||||||||||||
| bug->deadline;?> | ++ deadline) echo $bug->deadline; + if(isset($bug->delay)) printf($lang->bug->delayWarning, $bug->delay); + ?> + | +||||||||||||||||||||||||||||||||
| bug->feedbackBy;?> | +feedbackBy;?> | +||||||||||||||||||||||||||||||||
| bug->notifyEmail;?> | +notifyEmail;?> | +||||||||||||||||||||||||||||||||
| bug->os;?> | +bug->osList[$bug->os];?> | +||||||||||||||||||||||||||||||||
| bug->browser;?> | +bug->browserList[$bug->browser];?> | +||||||||||||||||||||||||||||||||
| bug->keywords;?> | +keywords;?> | +||||||||||||||||||||||||||||||||
| bug->mailto;?> | +mailto)); foreach($mailto as $account) echo ' ' . zget($users, $account); ?> | +
| bug->project;?> | +project) echo html::a($this->createLink('project', 'view', "projectID=$bug->project"), $bug->projectName);?> | +
|---|---|
| bug->execution;?> | +execution) echo html::a($this->createLink('execution', 'browse', "executionID=$bug->execution"), $bug->executionName);?> | +
| bug->story;?> | ++ story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story", '', true), "#$bug->story $bug->storyTitle", '', "class='iframe' data-width='80%'"); + if($bug->storyStatus == 'active' and $bug->latestStoryVersion > $bug->storyVersion) + { + echo "({$lang->story->changed} "; + echo html::a($this->createLink('bug', 'confirmStoryChange', "bugID=$bug->id"), $lang->confirm, 'hiddenwin'); + echo ")"; + } + ?> + | +
| bug->task;?> | +task) echo html::a($this->createLink('task', 'view', "taskID=$bug->task", '', true), $bug->taskName, '', "class='iframe' data-width='80%'");?> | +
| bug->openedBy;?> | +openedBy) . $lang->at . $bug->openedDate;?> | +
|---|---|
| bug->openedBuild;?> | +
+ openedBuild)
+ {
+ $openedBuilds = explode(',', $bug->openedBuild);
+ foreach($openedBuilds as $openedBuild)
+ {
+ if(!$openedBuild) continue;
+ isset($builds[$openedBuild]) ? print($builds[$openedBuild] . ' ') : print($openedBuild . ' '); + } + } + else + { + echo $bug->openedBuild; + } + ?> + |
+
| bug->lblResolved;?> | +resolvedBy) echo zget($users, $bug->resolvedBy) . $lang->at . $bug->resolvedDate;?> | +
| bug->resolvedBuild;?> | +resolvedBuild])) echo $builds[$bug->resolvedBuild]; else echo $bug->resolvedBuild;?> | +
| bug->resolution;?> | ++ bug->resolutionList[$bug->resolution]) ? $lang->bug->resolutionList[$bug->resolution] : $bug->resolution; + if(isset($bug->duplicateBugTitle)) echo " #$bug->duplicateBug:" . html::a($this->createLink('bug', 'view', "bugID=$bug->duplicateBug", '', true), $bug->duplicateBugTitle, '', "class='iframe' data-width='80%'"); + ?> + | +
| bug->closedBy;?> | +closedBy) echo zget($users, $bug->closedBy) . $lang->at . $bug->closedDate;?> | +
| bug->lblLastEdited;?> | +lastEditedBy) echo zget($users, $bug->lastEditedBy, $bug->lastEditedBy) . $lang->at . $bug->lastEditedDate?> | +
| bug->linkBug;?> | +
+ linkBugTitles))
+ {
+ foreach($bug->linkBugTitles as $linkBugID => $linkBugTitle)
+ {
+ echo html::a($this->createLink('bug', 'view', "bugID=$linkBugID", '', true), "#$linkBugID $linkBugTitle", '', "class='iframe' data-width='80%'") . ' '; + } + } + ?> + |
+
|---|---|
| bug->fromCase;?> | +createLink('testcase', 'view', "caseID=$bug->case&caseVersion=" . ($bug->testtask ? "&from=testtask&taskID={$bug->testtask}" : ''), '', true), "#$bug->case $bug->caseTitle", '', "class='iframe' data-width='80%'");?> | +
| bug->toCase;?> | +
+ toCases as $caseID => $case)
+ {
+ echo ' ' . html::a($this->createLink('testcase', 'view', "caseID=$caseID", '', true), $case, '', "class='iframe' data-width='80%'") . ' '; + } + ?> + |
+
| bug->toStory;?> | +createLink('story', 'view', "storyID=$bug->toStory", '', true), "#$bug->toStory $bug->toStoryTitle", '', "class='iframe' data-width='80%'");?> | +
| bug->toTask;?> | +createLink('task', 'view', "taskID=$bug->toTask", '', true), "#$bug->toTask $bug->toTaskTitle", '', "class='iframe' data-width='80%'");?> | +