* finish task #2531.
This commit is contained in:
+12
-10
@@ -338,9 +338,11 @@ class task extends control
|
||||
$this->project->setMenu($this->project->getPairs(), $project->id);
|
||||
|
||||
/* Set modules and members. */
|
||||
$modules = array(0 => '/', 'ditto' => $this->lang->task->ditto) + $this->tree->getTaskOptionMenu($projectID);
|
||||
$members = $this->project->getTeamMemberPairs($projectID, 'nodeleted') + array('closed' => 'Closed');
|
||||
$members = array('' => '', 'ditto' => $this->lang->task->ditto) + $members;
|
||||
$modules = $this->tree->getTaskOptionMenu($projectID);
|
||||
$modules['ditto'] = $this->lang->task->ditto;
|
||||
$members = $this->project->getTeamMemberPairs($projectID, 'nodeleted');
|
||||
$members['closed'] = 'Closed';
|
||||
$members['ditto'] = $this->lang->task->ditto;
|
||||
|
||||
$this->view->title = $project->name . $this->lang->colon . $this->lang->task->batchEdit;
|
||||
$this->view->position[] = html::a($this->createLink('project', 'browse', "project=$project->id"), $project->name);
|
||||
@@ -369,18 +371,18 @@ class task extends control
|
||||
$this->app->session->set('showSuhosinInfo', $showSuhosinInfo);
|
||||
if($showSuhosinInfo) $this->view->suhosinInfo = $this->lang->suhosinInfo;
|
||||
|
||||
/* Set pri, status and type list. */
|
||||
$priList = array(0 => '', 'ditto' => $this->lang->task->ditto) + (array)$this->lang->task->priList;
|
||||
$statusList = array('' => '', 'ditto' => $this->lang->task->ditto) + $this->lang->task->statusList;
|
||||
$typeList = array('' => '', 'ditto' => $this->lang->task->ditto) + $this->lang->task->typeList;
|
||||
/* Set ditto option for pri, status and type list. */
|
||||
$this->lang->task->priList['ditto'] = $this->lang->task->ditto;
|
||||
$this->lang->task->statusList['ditto'] = $this->lang->task->ditto;
|
||||
$this->lang->task->typeList['ditto'] = $this->lang->task->ditto;
|
||||
|
||||
/* Assign. */
|
||||
$this->view->position[] = $this->lang->task->common;
|
||||
$this->view->position[] = $this->lang->task->batchEdit;
|
||||
$this->view->projectID = $projectID;
|
||||
$this->view->priList = $priList;
|
||||
$this->view->statusList = $statusList;
|
||||
$this->view->typeList = $typeList;
|
||||
$this->view->priList = (array)$this->lang->task->priList;
|
||||
$this->view->statusList = $this->lang->task->statusList;
|
||||
$this->view->typeList = $this->lang->task->typeList;
|
||||
$this->view->taskIDList = $taskIDList;
|
||||
$this->view->tasks = $tasks;
|
||||
$this->view->projectName = isset($project) ? $project->name : '';
|
||||
|
||||
Reference in New Issue
Block a user