* @package task * @version $Id$ * @link http://www.zentao.net */ ?>
id $task->name"; if($task->fromBug != 0) $name .= "({$lang->task->fromBug}$lang->colon$task->fromBug)"; ?>
'>
session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID=$task->project"); $actionLinks = ''; if(!$task->deleted) { ob_start(); common::printIcon('task', 'assignTo', "projectID=$task->project&taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'start', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'record', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'finish', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'close', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'activate', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printIcon('task', 'cancel', "taskID=$task->id", $task, 'button', '', '', 'iframe', true); common::printDivider(); common::printIcon('task', 'edit', "taskID=$task->id"); common::printCommentIcon('task'); common::printIcon('task', 'delete',"projectID=$task->project&taskID=$task->id", '', 'button', '', 'hiddenwin'); common::printDivider(); common::printRPN($browseLink, $preAndNext); $actionLinks = ob_get_contents(); ob_clean(); echo $actionLinks; } else { common::printRPN($browseLink); } ?>
task->legendDesc;?>
desc;?>
fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
task->legendBasic;?>
task->project;?> project", $project->name)) echo $project->name;?>
task->module;?> $module) { if(!common::printLink('project', 'task', "projectID=$task->project&browseType=byModule¶m=$module->id", $module->name)) echo $module->name; if(isset($modulePath[$key + 1])) echo $lang->arrow; } } ?>
task->story;?> storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle)) echo $task->storyTitle; if($task->needConfirm) { echo "({$lang->story->changed} "; echo html::a($this->createLink('task', 'confirmStoryChange', "taskID=$task->id"), $lang->confirm, 'hiddenwin'); echo ")"; } ?>
task->assignedTo;?> assignedToRealName . $lang->at . $task->assignedDate;?>
task->type;?> task->typeList[$task->type];?>
task->status;?> show($lang->task->statusList, $task->status);?>
task->pri;?> show($lang->task->priList, $task->pri);?>
task->mailto;?> mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?>
task->legendEffort;?>
task->estStarted;?> estStarted;?>
task->realStarted;?> realStarted; ?>
task->deadline;?> deadline; if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay); ?>
task->estimate;?> estimate . $lang->workingHour;?>
task->consumed;?> consumed . $lang->workingHour;?>
task->left;?> left . $lang->workingHour;?>
task->legendLife;?>
task->openedBy;?> openedBy) echo $users[$task->openedBy] . $lang->at . $task->openedDate;?>
task->finishedBy;?> finishedBy) echo $users[$task->finishedBy] . $lang->at . $task->finishedDate;?>
task->canceledBy;?> canceledBy) echo $users[$task->canceledBy] . $lang->at . $task->canceledDate;?>
task->closedBy;?> closedBy) echo $users[$task->closedBy] . $lang->at . $task->closedDate;?>
task->closedReason;?> task->reasonList[$task->closedReason];?>
task->lastEdited;?> lastEditedBy) echo $users[$task->lastEditedBy] . $lang->at . $task->lastEditedDate;?>