diff --git a/module/task/view/activate.html.php b/module/task/view/activate.html.php index 19c6b8b474..065ae3bae6 100644 --- a/module/task/view/activate.html.php +++ b/module/task/view/activate.html.php @@ -12,44 +12,48 @@ ?> -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->activate;?> icons['activate']);?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->activate;?> +

+
+ +
+ + + + + + + + + + + + + + + + + +
task->assignedTo;?>finishedBy, "class='form-control chosen'");?>
task->left;?> +
+ + task->hour;?> +
+
comment;?>
+ task->activate); + echo html::linkButton($lang->goback, $this->session->taskList); + ?> +
+
+
+
- -
- - - - - - - - - - - - - - - - -
task->assignedTo;?>finishedBy, "class='form-control chosen'");?>
task->left;?> -
- - task->hour;?> -
-
comment;?>
- task->activate); - echo html::linkButton($lang->goback, $this->session->taskList); - ?> -
-
-
- -
diff --git a/module/task/view/assignto.html.php b/module/task/view/assignto.html.php index b1bcc59ed1..dc500c2b28 100644 --- a/module/task/view/assignto.html.php +++ b/module/task/view/assignto.html.php @@ -12,33 +12,40 @@ ?> -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - team) ? $lang->task->assign : $lang->task->transfer;?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . (empty($task->team) ? $lang->task->assign : $lang->task->transfer);?> +

+
+
+ + + + + + + + + + + + + + + + + +
team) ? $lang->task->assign : $lang->task->transferTo;?>assignedTo, "class='form-control chosen'");?>
task->left;?>
left, "class='form-control' autocomplete='off'");?> task->hour;?>
comment;?>
+ + goback, $this->session->taskList);?> +
+
+
+
-
- - - - - - - - - - - - - - - - -
team) ? $lang->task->assign : $lang->task->transferTo;?>assignedTo, "class='form-control chosen'");?>
task->left;?>
left, "class='form-control' autocomplete='off'");?> task->hour;?>
comment;?>
-
-
- -
diff --git a/module/task/view/browse.html.php b/module/task/view/browse.html.php deleted file mode 100644 index 075e48a6c8..0000000000 --- a/module/task/view/browse.html.php +++ /dev/null @@ -1,36 +0,0 @@ - - * @package task - * @version $Id: browse.html.php 4129 2013-01-18 01:58:14Z wwccss $ - * @link http://www.zentao.net - */ -?> - -
- - - - - - - - - - - - - - -
task->browse;?>
task->id;?>task->name;?>task->assignedTo;?>
id;?>name;?>assignedTo;?>
- createLink($this->moduleName, 'create', $vars); - echo "{$lang->task->create}"; - ?> -
- diff --git a/module/task/view/cancel.html.php b/module/task/view/cancel.html.php index 50284a7679..f49100f823 100644 --- a/module/task/view/cancel.html.php +++ b/module/task/view/cancel.html.php @@ -12,24 +12,33 @@ ?> -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->cancel;?> icons['cancel']);?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->cancel;?> +

+
+ +
+ + + + + + + + + +
comment;?>
+ task->cancel);?> + goback, $this->session->taskList);?> +
+
+
+
- -
- - - - - - -
comment;?>
task->cancel);?>
-
-
- -
diff --git a/module/task/view/close.html.php b/module/task/view/close.html.php index 2c483bc613..f5d6bf407a 100644 --- a/module/task/view/close.html.php +++ b/module/task/view/close.html.php @@ -12,26 +12,33 @@ ?> -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->close;?> icons['close']);?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->close;?> +

+
+ +
+ + + + + + + + + +
comment;?>
+ task->close);?> + goback, $this->session->taskList);?> +
+
+
+
- -
- - - - - - - - -
comment;?>
task->close);?>
-
-
- -
diff --git a/module/task/view/editestimate.html.php b/module/task/view/editestimate.html.php index 0906b25a3c..5fc495b54b 100644 --- a/module/task/view/editestimate.html.php +++ b/module/task/view/editestimate.html.php @@ -13,37 +13,35 @@ task->confirmRecord);?> -
-
-
- task->editEstimate;?> - icons['edit']);?> +
+
+
+

task->editEstimate;?>

+
isLast) echo "onsubmit='return confirmLeft();'"?>> + + + + + + + + + + + + + + + + + + + + + +
task->date;?>date, 'class="form-control form-date"');?>
task->record;?>consumed, 'class="form-control" autocomplete="off"');?>
task->left;?>left, 'class="form-control" autocomplete="off"');?>
comment;?>work, "class=form-control");?>
+
-
isLast) echo "onsubmit='return confirmLeft();'"?>> - - - - - - - - - - - - - - - - - - - - -
task->date;?>date, 'class="form-control form-date"');?>
task->record;?>consumed, 'class="form-control" autocomplete="off"');?>
task->left;?>left, 'class="form-control" autocomplete="off"');?>
comment;?>work, "class=form-control");?>
- -
-
diff --git a/module/task/view/finish.html.php b/module/task/view/finish.html.php index 74f5736fdc..bedc286c10 100644 --- a/module/task/view/finish.html.php +++ b/module/task/view/finish.html.php @@ -13,49 +13,59 @@ -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->finish;?> icons['finish']);?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->finish;?> +

+
+
+ + + + + + + team)):?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
team) ? $lang->task->common . $lang->task->consumed : $lang->task->hasConsumed;?>consumed;?> workingHour;?>
task->hasConsumed;?>myConsumed;?> workingHour;?>
task->consumed;?>
consumed, "class='form-control' autocomplete='off'");?> task->hour;?>
team) ? $lang->task->assign : $lang->task->transferTo;?>nextBy, "class='form-control chosen'");?>
task->finishedDate;?>
files;?>fetch('file', 'buildform');?>
comment;?>
+ task->finish);?> + goback, $this->session->taskList);?> +
+
+
+
-
- - - - - - team)):?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
team) ? $lang->task->common . $lang->task->consumed : $lang->task->hasConsumed;?>consumed;?> workingHour;?>
task->hasConsumed;?>myConsumed;?> workingHour;?>
task->consumed;?>
consumed, "class='form-control' autocomplete='off'");?> task->hour;?>
team) ? $lang->task->assign : $lang->task->transferTo;?>nextBy, "class='form-control chosen'");?>
task->finishedDate;?>
files;?>fetch('file', 'buildform');?>
comment;?>
task->finish);?>
-
-
diff --git a/module/task/view/pause.html.php b/module/task/view/pause.html.php index e62b4ed6e0..b8861d551e 100644 --- a/module/task/view/pause.html.php +++ b/module/task/view/pause.html.php @@ -12,26 +12,33 @@ ?> -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->pause;?> icons['pause']);?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->pause;?> +

+
+ +
+ + + + + + + + + +
comment;?>
+ + goback, $this->session->taskList);?> +
+
+
+
- -
- - - - - - - - -
comment;?>
-
-
- -
diff --git a/module/task/view/recordestimate.html.php b/module/task/view/recordestimate.html.php index 697cfa17ed..50f2c4ba5f 100644 --- a/module/task/view/recordestimate.html.php +++ b/module/task/view/recordestimate.html.php @@ -14,74 +14,76 @@ task->confirmRecord);?> task->noticeSaveRecord);?> -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->logEfforts;?> icons['recordEstimate']);?> +
+
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->logEfforts;?> +

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + status, array('wait', 'pause', 'doing'))):?> + team) || (!empty($task->team) && in_array($task->assignedTo, array_keys($task->team)))) :?> + + + + + + + + + + + + + + + + + + + + + + + +
idAB;?>task->date;?>task->consumedThisTime;?>task->leftThisTime;?>comment;?>actions;?>
id;?>date;?>consumed;?>left;?>work;?> + status == 'wait' or $task->status == 'pause' or $task->status == 'doing') + { + common::printIcon('task', 'editEstimate', "estimateID=$estimate->id", '', 'list', 'pencil', '', 'showinonlybody', true); + common::printIcon('task', 'deleteEstimate', "estimateID=$estimate->id", '', 'list', 'remove', 'hiddenwin', 'showinonlybody'); + } + ?> +
idAB;?>task->date;?>task->consumedThisTime;?>task->leftThisTime;?>comment;?>
+ + +
-
-
- - - - - - - - - - - - - - - - - - - - - - - - status, array('wait', 'pause', 'doing'))):?> - team) || (!empty($task->team) && in_array($task->assignedTo, array_keys($task->team)))) :?> - - - - - - - - - - - - - - - - - - - - - - - -
idAB;?>task->date;?>task->consumedThisTime;?>task->leftThisTime;?>comment;?>actions;?>
id;?>date;?>consumed;?>left;?>work;?> - status == 'wait' or $task->status == 'pause' or $task->status == 'doing') - { - common::printIcon('task', 'editEstimate', "estimateID=$estimate->id", '', 'list', 'pencil', '', 'showinonlybody', true); - common::printIcon('task', 'deleteEstimate', "estimateID=$estimate->id", '', 'list', 'remove', 'hiddenwin', 'showinonlybody'); - } - ?> -
idAB;?>task->date;?>task->consumedThisTime;?>task->leftThisTime;?>comment;?>
- - -
-
diff --git a/module/task/view/start.html.php b/module/task/view/start.html.php index fbb6beab8f..b9581e93b4 100644 --- a/module/task/view/start.html.php +++ b/module/task/view/start.html.php @@ -14,44 +14,53 @@ task->confirmFinish);?> -team) && key($task->team) != $this->app->user->account):?> -
- -
-

task->deniedNotice;?>

+
+ team) && key($task->team) != $this->app->user->account):?> +
+ +
+

task->deniedNotice;?>

+
-
- -
-
- icons['task']);?> id;?> - createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> - task->start;?> icons['start']);?> + +
+
+

+ id;?> + name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?> + arrow . $lang->task->start;?> +

+
+
+ + + + + + + + + + + + + + + + + + + + + +
task->realStarted;?>
realStarted == '0000-00-00' ? helper::today() : $task->realStarted, "class='form-control form-date'");?>
task->consumed;?>
consumed, "class='form-control' autocomplete='off'");?> task->hour;?>
task->left;?>
left, "class='form-control' autocomplete='off'");?> task->hour;?>
comment;?>
+ task->start);?> + goback, $this->session->taskList);?> +
+
+
+
+
-
- - - - - - - - - - - - - - - - - - - - -
task->realStarted;?>
realStarted == '0000-00-00' ? helper::today() : $task->realStarted, "class='form-control form-date'");?>
task->consumed;?>
consumed, "class='form-control' autocomplete='off'");?> task->hour;?>
task->left;?>
left, "class='form-control' autocomplete='off'");?> task->hour;?>
comment;?>
task->start); ?>
-
-
-