- remove the long desc of license.

This commit is contained in:
wangchunsheng
2010-11-09 06:14:34 +00:00
parent 5db0af50da
commit 2651d13d50
342 changed files with 31432 additions and 35878 deletions
+347 -360
View File
File diff suppressed because it is too large Load Diff
+93 -106
View File
@@ -1,106 +1,93 @@
<?php
/**
* The task module English file of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
$lang->task->index = "Index";
$lang->task->create = "Create";
$lang->task->import = "Import undone";
$lang->task->edit = "Update";
$lang->task->delete = "Delete";
$lang->task->view = "Info";
$lang->task->logEfforts= "Efforts";
$lang->task->start = "Start";
$lang->task->complete = "Complete";
$lang->task->close = "Close";
$lang->task->cancel = "Cancel";
$lang->task->activate = "Activate";
$lang->task->confirmStoryChange = "Confirm story change";
$lang->task->common = 'Task';
$lang->task->id = 'ID';
$lang->task->project = 'Project';
$lang->task->story = 'Story';
$lang->task->storyVersion = 'Version';
$lang->task->name = 'Name';
$lang->task->type = 'Type';
$lang->task->pri = 'Pri';
$lang->task->owner = 'Owner';
$lang->task->mailto = 'Mailto';
$lang->task->estimate = 'Estimate';
$lang->task->estimateAB = 'Estimate';
$lang->task->left = 'Left';
$lang->task->leftAB = 'Left';
$lang->task->consumed = 'Consumed';
$lang->task->consumedAB = 'Consumed';
$lang->task->deadline = 'Deadline';
$lang->task->deadlineAB = 'Deadline';
$lang->task->status = 'Status';
$lang->task->desc = 'Desc';
$lang->task->statusCustom = 'Status Order';
$lang->task->statusList['wait'] = 'Waiting';
$lang->task->statusList['doing'] = 'Doing';
$lang->task->statusList['done'] = 'Done';
$lang->task->statusList['cancel'] = 'Canceled';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = 'Design';
$lang->task->typeList['devel'] = 'Devel';
$lang->task->typeList['test'] = 'Test';
$lang->task->typeList['study'] = 'Study';
$lang->task->typeList['discuss']= 'Discuss';
$lang->task->typeList['ui'] = 'UI';
$lang->task->typeList['affair'] = 'Affair';
$lang->task->typeList['misc'] = 'Misc';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = 'Continue add task for this story';
$lang->task->afterChoices['toTastList'] = 'To task list';
$lang->task->afterChoices['toStoryList'] = 'To story list';
$lang->task->buttonEdit = 'Edit';
$lang->task->buttonClose = 'Close';
$lang->task->buttonCancel = 'Cancel';
$lang->task->buttonActivate = 'Activate';
$lang->task->buttonLogEfforts = 'Efforts';
$lang->task->buttonDelete = 'Delete';
$lang->task->buttonBackToList = 'Back';
$lang->task->buttonStart = 'Start';
$lang->task->buttonDone = 'Done';
$lang->task->legendBasic = 'Basic info';
$lang->task->legendEffort = 'Effort';
$lang->task->legendDesc = 'Desc';
$lang->task->legendAction = 'Action';
$lang->task->ajaxGetUserTasks = "API:My tasks";
$lang->task->ajaxGetProjectTasks = "API:Project tasks";
$lang->task->confirmDelete = "Are you sure to delete this task?";
$lang->task->copyStoryTitle = "Same as story";
$lang->task->afterSubmit = "After created";
$lang->task->successSaved = "Success saved";
$lang->task->delayWarning = " <strong class='delayed f-14px'> Postponed %s days </strong>";
<?php
/**
* The task module English file of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
$lang->task->index = "Index";
$lang->task->create = "Create";
$lang->task->import = "Import undone";
$lang->task->edit = "Update";
$lang->task->delete = "Delete";
$lang->task->view = "Info";
$lang->task->logEfforts= "Efforts";
$lang->task->start = "Start";
$lang->task->complete = "Complete";
$lang->task->close = "Close";
$lang->task->cancel = "Cancel";
$lang->task->activate = "Activate";
$lang->task->confirmStoryChange = "Confirm story change";
$lang->task->common = 'Task';
$lang->task->id = 'ID';
$lang->task->project = 'Project';
$lang->task->story = 'Story';
$lang->task->storyVersion = 'Version';
$lang->task->name = 'Name';
$lang->task->type = 'Type';
$lang->task->pri = 'Pri';
$lang->task->owner = 'Owner';
$lang->task->mailto = 'Mailto';
$lang->task->estimate = 'Estimate';
$lang->task->estimateAB = 'Estimate';
$lang->task->left = 'Left';
$lang->task->leftAB = 'Left';
$lang->task->consumed = 'Consumed';
$lang->task->consumedAB = 'Consumed';
$lang->task->deadline = 'Deadline';
$lang->task->deadlineAB = 'Deadline';
$lang->task->status = 'Status';
$lang->task->desc = 'Desc';
$lang->task->statusCustom = 'Status Order';
$lang->task->statusList['wait'] = 'Waiting';
$lang->task->statusList['doing'] = 'Doing';
$lang->task->statusList['done'] = 'Done';
$lang->task->statusList['cancel'] = 'Canceled';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = 'Design';
$lang->task->typeList['devel'] = 'Devel';
$lang->task->typeList['test'] = 'Test';
$lang->task->typeList['study'] = 'Study';
$lang->task->typeList['discuss']= 'Discuss';
$lang->task->typeList['ui'] = 'UI';
$lang->task->typeList['affair'] = 'Affair';
$lang->task->typeList['misc'] = 'Misc';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = 'Continue add task for this story';
$lang->task->afterChoices['toTastList'] = 'To task list';
$lang->task->afterChoices['toStoryList'] = 'To story list';
$lang->task->buttonEdit = 'Edit';
$lang->task->buttonClose = 'Close';
$lang->task->buttonCancel = 'Cancel';
$lang->task->buttonActivate = 'Activate';
$lang->task->buttonLogEfforts = 'Efforts';
$lang->task->buttonDelete = 'Delete';
$lang->task->buttonBackToList = 'Back';
$lang->task->buttonStart = 'Start';
$lang->task->buttonDone = 'Done';
$lang->task->legendBasic = 'Basic info';
$lang->task->legendEffort = 'Effort';
$lang->task->legendDesc = 'Desc';
$lang->task->legendAction = 'Action';
$lang->task->ajaxGetUserTasks = "API:My tasks";
$lang->task->ajaxGetProjectTasks = "API:Project tasks";
$lang->task->confirmDelete = "Are you sure to delete this task?";
$lang->task->copyStoryTitle = "Same as story";
$lang->task->afterSubmit = "After created";
$lang->task->successSaved = "Success saved";
$lang->task->delayWarning = " <strong class='delayed f-14px'> Postponed %s days </strong>";
+93 -106
View File
@@ -1,106 +1,93 @@
<?php
/**
* The task module Japanese file of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id: en.php 993 2010-08-02 10:20:01Z wwccss $
* @link http://www.zentao.net
*/
$lang->task->index = "インデックス";
$lang->task->create = "作成";
$lang->task->import = "インポート元に戻す";
$lang->task->edit = "更新";
$lang->task->delete = "削除";
$lang->task->view = "情報";
$lang->task->logEfforts= "取り組み";
$lang->task->start = "スタート";
$lang->task->complete = "完全な";
$lang->task->close = "クローズ";
$lang->task->cancel = "キャンセル";
$lang->task->activate = "アクティブ";
$lang->task->confirmStoryChange = "確認の物語の変化";
$lang->task->common = 'タスク';
$lang->task->id = 'IDは';
$lang->task->project = 'プロジェクト';
$lang->task->story = 'ストーリー';
$lang->task->storyVersion = 'バージョン';
$lang->task->name = '名';
$lang->task->type = 'タイプ';
$lang->task->pri = 'ぷり';
$lang->task->owner = '所有者';
$lang->task->mailto = 'MAILTOが';
$lang->task->estimate = '見積もり';
$lang->task->estimateAB = '見積もり';
$lang->task->left = '左';
$lang->task->leftAB = '左';
$lang->task->consumed = '消費';
$lang->task->consumedAB = '消費';
$lang->task->deadline = '締め切り';
$lang->task->deadlineAB = '締め切り';
$lang->task->status = 'ステータス';
$lang->task->desc = '降順';
$lang->task->statusCustom = 'ステータス注文';
$lang->task->statusList['wait'] = 'ステータス注文';
$lang->task->statusList['doing'] = '行う';
$lang->task->statusList['done'] = '完了';
$lang->task->statusList['cancel'] = 'キャンセル';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = 'デザイン';
$lang->task->typeList['devel'] = 'develを';
$lang->task->typeList['test'] = 'テスト';
$lang->task->typeList['study'] = '研究';
$lang->task->typeList['discuss']= '論議';
$lang->task->typeList['ui'] = 'のUI';
$lang->task->typeList['affair'] = '不倫';
$lang->task->typeList['misc'] = 'その他';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '続きは、この物語のためのタスクを追加する';
$lang->task->afterChoices['toTastList'] = 'するには、タスクリスト';
$lang->task->afterChoices['toStoryList'] = 'にストーリーリスト';
$lang->task->buttonEdit = '[編集]';
$lang->task->buttonClose = 'クローズ';
$lang->task->buttonCancel = 'キャンセル';
$lang->task->buttonActivate = 'アクティブ';
$lang->task->buttonLogEfforts = '取り組み';
$lang->task->buttonDelete = '削除';
$lang->task->buttonBackToList = 'バック';
$lang->task->buttonStart = 'スタート';
$lang->task->buttonDone = '完了';
$lang->task->legendBasic = '基本的な情報をもっと見る';
$lang->task->legendEffort = '努力';
$lang->task->legendDesc = '降順';
$lang->task->legendAction = 'アクション';
$lang->task->ajaxGetUserTasks = "APIは:私のタスク";
$lang->task->ajaxGetProjectTasks = "APIは:プロジェクトのタスク";
$lang->task->confirmDelete = "あなたは、このタスクを削除しますか?";
$lang->task->copyStoryTitle = "ストーリーと同じ";
$lang->task->afterSubmit = "作成後";
$lang->task->successSaved = "成功を保存";
$lang->task->delayWarning = " <strong class='delayed f-14px'> Postponed %s days </strong>";
<?php
/**
* The task module Japanese file of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id: en.php 993 2010-08-02 10:20:01Z wwccss $
* @link http://www.zentao.net
*/
$lang->task->index = "インデックス";
$lang->task->create = "作成";
$lang->task->import = "インポート元に戻す";
$lang->task->edit = "更新";
$lang->task->delete = "削除";
$lang->task->view = "情報";
$lang->task->logEfforts= "取り組み";
$lang->task->start = "スタート";
$lang->task->complete = "完全な";
$lang->task->close = "クローズ";
$lang->task->cancel = "キャンセル";
$lang->task->activate = "アクティブ";
$lang->task->confirmStoryChange = "確認の物語の変化";
$lang->task->common = 'タスク';
$lang->task->id = 'IDは';
$lang->task->project = 'プロジェクト';
$lang->task->story = 'ストーリー';
$lang->task->storyVersion = 'バージョン';
$lang->task->name = '名';
$lang->task->type = 'タイプ';
$lang->task->pri = 'ぷり';
$lang->task->owner = '所有者';
$lang->task->mailto = 'MAILTOが';
$lang->task->estimate = '見積もり';
$lang->task->estimateAB = '見積もり';
$lang->task->left = '左';
$lang->task->leftAB = '左';
$lang->task->consumed = '消費';
$lang->task->consumedAB = '消費';
$lang->task->deadline = '締め切り';
$lang->task->deadlineAB = '締め切り';
$lang->task->status = 'ステータス';
$lang->task->desc = '降順';
$lang->task->statusCustom = 'ステータス注文';
$lang->task->statusList['wait'] = 'ステータス注文';
$lang->task->statusList['doing'] = '行う';
$lang->task->statusList['done'] = '完了';
$lang->task->statusList['cancel'] = 'キャンセル';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = 'デザイン';
$lang->task->typeList['devel'] = 'develを';
$lang->task->typeList['test'] = 'テスト';
$lang->task->typeList['study'] = '研究';
$lang->task->typeList['discuss']= '論議';
$lang->task->typeList['ui'] = 'のUI';
$lang->task->typeList['affair'] = '不倫';
$lang->task->typeList['misc'] = 'その他';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '続きは、この物語のためのタスクを追加する';
$lang->task->afterChoices['toTastList'] = 'するには、タスクリスト';
$lang->task->afterChoices['toStoryList'] = 'にストーリーリスト';
$lang->task->buttonEdit = '[編集]';
$lang->task->buttonClose = 'クローズ';
$lang->task->buttonCancel = 'キャンセル';
$lang->task->buttonActivate = 'アクティブ';
$lang->task->buttonLogEfforts = '取り組み';
$lang->task->buttonDelete = '削除';
$lang->task->buttonBackToList = 'バック';
$lang->task->buttonStart = 'スタート';
$lang->task->buttonDone = '完了';
$lang->task->legendBasic = '基本的な情報をもっと見る';
$lang->task->legendEffort = '努力';
$lang->task->legendDesc = '降順';
$lang->task->legendAction = 'アクション';
$lang->task->ajaxGetUserTasks = "APIは:私のタスク";
$lang->task->ajaxGetProjectTasks = "APIは:プロジェクトのタスク";
$lang->task->confirmDelete = "あなたは、このタスクを削除しますか?";
$lang->task->copyStoryTitle = "ストーリーと同じ";
$lang->task->afterSubmit = "作成後";
$lang->task->successSaved = "成功を保存";
$lang->task->delayWarning = " <strong class='delayed f-14px'> Postponed %s days </strong>";
+93 -106
View File
@@ -1,106 +1,93 @@
<?php
/**
* The task module Korean file of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id: en.php 993 2010-08-02 10:20:01Z wwccss $
* @link http://www.zentao.net
*/
$lang->task->index = "색인";
$lang->task->create = "만들기";
$lang->task->import = "가져오기 취소할";
$lang->task->edit = "업데이트";
$lang->task->delete = "삭제";
$lang->task->view = "정보";
$lang->task->logEfforts= "노력";
$lang->task->start = "시작";
$lang->task->complete = "완전한";
$lang->task->close = "가까운";
$lang->task->cancel = "취소";
$lang->task->activate = "활성화";
$lang->task->confirmStoryChange = "확인 이야기 변경";
$lang->task->common = '태스크';
$lang->task->id = '신분증';
$lang->task->project = '프로젝트';
$lang->task->story = '이야기';
$lang->task->storyVersion = '버전';
$lang->task->name = '이름';
$lang->task->type = '유형';
$lang->task->pri = 'PRI의';
$lang->task->owner = '소유자';
$lang->task->mailto = '흔한';
$lang->task->estimate = '견적';
$lang->task->estimateAB = '견적';
$lang->task->left = '왼쪽';
$lang->task->leftAB = '왼쪽';
$lang->task->consumed = '소비';
$lang->task->consumedAB = '소비';
$lang->task->deadline = '마감일';
$lang->task->deadlineAB = '마감일';
$lang->task->status = '지위';
$lang->task->desc = '내림차순';
$lang->task->statusCustom = '주문 현황';
$lang->task->statusList['wait'] = '기다리는';
$lang->task->statusList['doing'] = '뭐';
$lang->task->statusList['done'] = '완료';
$lang->task->statusList['cancel'] = '취소';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = '디자인';
$lang->task->typeList['devel'] = 'devel';
$lang->task->typeList['test'] = '테스트';
$lang->task->typeList['study'] = '공부';
$lang->task->typeList['discuss']= '토론';
$lang->task->typeList['ui'] = 'UI를';
$lang->task->typeList['affair'] = '일';
$lang->task->typeList['misc'] = '기타';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '계속이 이야기에 대한 작업을 추가';
$lang->task->afterChoices['toTastList'] = '에 작업 목록';
$lang->task->afterChoices['toStoryList'] = '에게 이야기 목록';
$lang->task->buttonEdit = '편집';
$lang->task->buttonClose = '가까운';
$lang->task->buttonCancel = '취소';
$lang->task->buttonActivate = '활성화';
$lang->task->buttonLogEfforts = '노력';
$lang->task->buttonDelete = '삭제';
$lang->task->buttonBackToList = '뒤로';
$lang->task->buttonStart = '시작';
$lang->task->buttonDone = '완료';
$lang->task->legendBasic = '기본 정보';
$lang->task->legendEffort = '노력';
$lang->task->legendDesc = '내림차순';
$lang->task->legendAction = '행동';
$lang->task->ajaxGetUserTasks = "API가 : 내 작업";
$lang->task->ajaxGetProjectTasks = "API가 : 프로젝트 작업";
$lang->task->confirmDelete = "당신은이 작업을 삭제하시겠습니까?";
$lang->task->copyStoryTitle = "이야기 같은";
$lang->task->afterSubmit = "만든 후";
$lang->task->successSaved = "성공 저장";
$lang->task->delayWarning = " <strong class='delayed f-14px'> Postponed %s days </strong>";
<?php
/**
* The task module Korean file of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id: en.php 993 2010-08-02 10:20:01Z wwccss $
* @link http://www.zentao.net
*/
$lang->task->index = "색인";
$lang->task->create = "만들기";
$lang->task->import = "가져오기 취소할";
$lang->task->edit = "업데이트";
$lang->task->delete = "삭제";
$lang->task->view = "정보";
$lang->task->logEfforts= "노력";
$lang->task->start = "시작";
$lang->task->complete = "완전한";
$lang->task->close = "가까운";
$lang->task->cancel = "취소";
$lang->task->activate = "활성화";
$lang->task->confirmStoryChange = "확인 이야기 변경";
$lang->task->common = '태스크';
$lang->task->id = '신분증';
$lang->task->project = '프로젝트';
$lang->task->story = '이야기';
$lang->task->storyVersion = '버전';
$lang->task->name = '이름';
$lang->task->type = '유형';
$lang->task->pri = 'PRI의';
$lang->task->owner = '소유자';
$lang->task->mailto = '흔한';
$lang->task->estimate = '견적';
$lang->task->estimateAB = '견적';
$lang->task->left = '왼쪽';
$lang->task->leftAB = '왼쪽';
$lang->task->consumed = '소비';
$lang->task->consumedAB = '소비';
$lang->task->deadline = '마감일';
$lang->task->deadlineAB = '마감일';
$lang->task->status = '지위';
$lang->task->desc = '내림차순';
$lang->task->statusCustom = '주문 현황';
$lang->task->statusList['wait'] = '기다리는';
$lang->task->statusList['doing'] = '뭐';
$lang->task->statusList['done'] = '완료';
$lang->task->statusList['cancel'] = '취소';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = '디자인';
$lang->task->typeList['devel'] = 'devel';
$lang->task->typeList['test'] = '테스트';
$lang->task->typeList['study'] = '공부';
$lang->task->typeList['discuss']= '토론';
$lang->task->typeList['ui'] = 'UI를';
$lang->task->typeList['affair'] = '일';
$lang->task->typeList['misc'] = '기타';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '계속이 이야기에 대한 작업을 추가';
$lang->task->afterChoices['toTastList'] = '에 작업 목록';
$lang->task->afterChoices['toStoryList'] = '에게 이야기 목록';
$lang->task->buttonEdit = '편집';
$lang->task->buttonClose = '가까운';
$lang->task->buttonCancel = '취소';
$lang->task->buttonActivate = '활성화';
$lang->task->buttonLogEfforts = '노력';
$lang->task->buttonDelete = '삭제';
$lang->task->buttonBackToList = '뒤로';
$lang->task->buttonStart = '시작';
$lang->task->buttonDone = '완료';
$lang->task->legendBasic = '기본 정보';
$lang->task->legendEffort = '노력';
$lang->task->legendDesc = '내림차순';
$lang->task->legendAction = '행동';
$lang->task->ajaxGetUserTasks = "API가 : 내 작업";
$lang->task->ajaxGetProjectTasks = "API가 : 프로젝트 작업";
$lang->task->confirmDelete = "당신은이 작업을 삭제하시겠습니까?";
$lang->task->copyStoryTitle = "이야기 같은";
$lang->task->afterSubmit = "만든 후";
$lang->task->successSaved = "성공 저장";
$lang->task->delayWarning = " <strong class='delayed f-14px'> Postponed %s days </strong>";
+93 -106
View File
@@ -1,106 +1,93 @@
<?php
/**
* The task module zh-cn file of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
$lang->task->index = "任务一览";
$lang->task->create = "新增任务";
$lang->task->import = "导入之前未完任务";
$lang->task->edit = "更新任务";
$lang->task->delete = "删除任务";
$lang->task->view = "查看任务";
$lang->task->logEfforts= "记录工时";
$lang->task->start = "开始任务";
$lang->task->complete = "完成任务";
$lang->task->close = "关闭任务";
$lang->task->cancel = "取消任务";
$lang->task->activate = "激活任务";
$lang->task->confirmStoryChange = "确认需求变动";
$lang->task->common = '任务';
$lang->task->id = '编号';
$lang->task->project = '所属项目';
$lang->task->story = '相关需求';
$lang->task->storyVersion = '需求版本';
$lang->task->name = '任务名称';
$lang->task->type = '任务类型';
$lang->task->pri = '优先级';
$lang->task->owner = '指派给';
$lang->task->mailto = '抄送给';
$lang->task->estimate = '最初预计';
$lang->task->estimateAB = '预计';
$lang->task->left = '预计剩余';
$lang->task->leftAB = '剩余';
$lang->task->consumed = '已经消耗';
$lang->task->consumedAB = '消耗';
$lang->task->deadline = '截止日期';
$lang->task->deadlineAB = '截止';
$lang->task->status = '任务状态';
$lang->task->desc = '任务描述';
$lang->task->statusCustom = '状态排序';
$lang->task->statusList['wait'] = '未开始';
$lang->task->statusList['doing'] = '进行中';
$lang->task->statusList['done'] = '已完成';
$lang->task->statusList['cancel'] = '已取消';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = '设计';
$lang->task->typeList['devel'] = '开发';
$lang->task->typeList['test'] = '测试';
$lang->task->typeList['study'] = '研究';
$lang->task->typeList['discuss']= '讨论';
$lang->task->typeList['ui'] = '界面';
$lang->task->typeList['affair'] = '事务';
$lang->task->typeList['misc'] = '其他';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '继续为该需求添加任务';
$lang->task->afterChoices['toTastList'] = '返回任务列表';
$lang->task->afterChoices['toStoryList'] = '返回需求列表';
$lang->task->buttonEdit = '编辑';
$lang->task->buttonClose = '关闭';
$lang->task->buttonCancel = '取消';
$lang->task->buttonActivate = '激活';
$lang->task->buttonLogEfforts = '记录工时';
$lang->task->buttonDelete = '删除';
$lang->task->buttonBackToList = '返回';
$lang->task->buttonStart = '开始';
$lang->task->buttonDone = '完成';
$lang->task->legendBasic = '基本信息';
$lang->task->legendEffort = '工时信息';
$lang->task->legendDesc = '任务描述';
$lang->task->legendAction = '操作';
$lang->task->ajaxGetUserTasks = "接口:我的任务";
$lang->task->ajaxGetProjectTasks = "接口:项目任务";
$lang->task->confirmDelete = "您确定要删除这个任务吗?";
$lang->task->copyStoryTitle = "同需求";
$lang->task->afterSubmit = "添加之后";
$lang->task->successSaved = "成功添加,";
$lang->task->delayWarning = " <strong class='delayed f-14px'> 延期%s天 </strong>";
<?php
/**
* The task module zh-cn file of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
$lang->task->index = "任务一览";
$lang->task->create = "新增任务";
$lang->task->import = "导入之前未完任务";
$lang->task->edit = "更新任务";
$lang->task->delete = "删除任务";
$lang->task->view = "查看任务";
$lang->task->logEfforts= "记录工时";
$lang->task->start = "开始任务";
$lang->task->complete = "完成任务";
$lang->task->close = "关闭任务";
$lang->task->cancel = "取消任务";
$lang->task->activate = "激活任务";
$lang->task->confirmStoryChange = "确认需求变动";
$lang->task->common = '任务';
$lang->task->id = '编号';
$lang->task->project = '所属项目';
$lang->task->story = '相关需求';
$lang->task->storyVersion = '需求版本';
$lang->task->name = '任务名称';
$lang->task->type = '任务类型';
$lang->task->pri = '优先级';
$lang->task->owner = '指派给';
$lang->task->mailto = '抄送给';
$lang->task->estimate = '最初预计';
$lang->task->estimateAB = '预计';
$lang->task->left = '预计剩余';
$lang->task->leftAB = '剩余';
$lang->task->consumed = '已经消耗';
$lang->task->consumedAB = '消耗';
$lang->task->deadline = '截止日期';
$lang->task->deadlineAB = '截止';
$lang->task->status = '任务状态';
$lang->task->desc = '任务描述';
$lang->task->statusCustom = '状态排序';
$lang->task->statusList['wait'] = '未开始';
$lang->task->statusList['doing'] = '进行中';
$lang->task->statusList['done'] = '已完成';
$lang->task->statusList['cancel'] = '已取消';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = '设计';
$lang->task->typeList['devel'] = '开发';
$lang->task->typeList['test'] = '测试';
$lang->task->typeList['study'] = '研究';
$lang->task->typeList['discuss']= '讨论';
$lang->task->typeList['ui'] = '界面';
$lang->task->typeList['affair'] = '事务';
$lang->task->typeList['misc'] = '其他';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '继续为该需求添加任务';
$lang->task->afterChoices['toTastList'] = '返回任务列表';
$lang->task->afterChoices['toStoryList'] = '返回需求列表';
$lang->task->buttonEdit = '编辑';
$lang->task->buttonClose = '关闭';
$lang->task->buttonCancel = '取消';
$lang->task->buttonActivate = '激活';
$lang->task->buttonLogEfforts = '记录工时';
$lang->task->buttonDelete = '删除';
$lang->task->buttonBackToList = '返回';
$lang->task->buttonStart = '开始';
$lang->task->buttonDone = '完成';
$lang->task->legendBasic = '基本信息';
$lang->task->legendEffort = '工时信息';
$lang->task->legendDesc = '任务描述';
$lang->task->legendAction = '操作';
$lang->task->ajaxGetUserTasks = "接口:我的任务";
$lang->task->ajaxGetProjectTasks = "接口:项目任务";
$lang->task->confirmDelete = "您确定要删除这个任务吗?";
$lang->task->copyStoryTitle = "同需求";
$lang->task->afterSubmit = "添加之后";
$lang->task->successSaved = "成功添加,";
$lang->task->delayWarning = " <strong class='delayed f-14px'> 延期%s天 </strong>";
+93 -106
View File
@@ -1,106 +1,93 @@
<?php
/**
* The task module zh-tw file of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id: zh-tw.php 1068 2010-09-11 07:11:57Z wwccss $
* @link http://www.zentao.net
*/
$lang->task->index = "任務一覽";
$lang->task->create = "新增任務";
$lang->task->import = "導入之前未完任務";
$lang->task->edit = "更新任務";
$lang->task->delete = "刪除任務";
$lang->task->view = "查看任務";
$lang->task->logEfforts= "記錄工時";
$lang->task->start = "開始任務";
$lang->task->complete = "完成任務";
$lang->task->close = "關閉任務";
$lang->task->cancel = "取消任務";
$lang->task->activate = "激活任務";
$lang->task->confirmStoryChange = "確認需求變動";
$lang->task->common = '任務';
$lang->task->id = '編號';
$lang->task->project = '所屬項目';
$lang->task->story = '相關需求';
$lang->task->storyVersion = '需求版本';
$lang->task->name = '任務名稱';
$lang->task->type = '任務類型';
$lang->task->pri = '優先順序';
$lang->task->owner = '指派給';
$lang->task->mailto = '抄送給';
$lang->task->estimate = '最初預計';
$lang->task->estimateAB = '預計';
$lang->task->left = '預計剩餘';
$lang->task->leftAB = '剩餘';
$lang->task->consumed = '已經消耗';
$lang->task->consumedAB = '消耗';
$lang->task->deadline = '截止日期';
$lang->task->deadlineAB = '截止';
$lang->task->status = '任務狀態';
$lang->task->desc = '任務描述';
$lang->task->statusCustom = '狀態排序';
$lang->task->statusList['wait'] = '未開始';
$lang->task->statusList['doing'] = '進行中';
$lang->task->statusList['done'] = '已完成';
$lang->task->statusList['cancel'] = '已取消';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = '設計';
$lang->task->typeList['devel'] = '開發';
$lang->task->typeList['test'] = '測試';
$lang->task->typeList['study'] = '研究';
$lang->task->typeList['discuss']= '討論';
$lang->task->typeList['ui'] = '界面';
$lang->task->typeList['affair'] = '事務';
$lang->task->typeList['misc'] = '其他';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '繼續為該需求添加任務';
$lang->task->afterChoices['toTastList'] = '返回任務列表';
$lang->task->afterChoices['toStoryList'] = '返回需求列表';
$lang->task->buttonEdit = '編輯';
$lang->task->buttonClose = '關閉';
$lang->task->buttonCancel = '取消';
$lang->task->buttonActivate = '激活';
$lang->task->buttonLogEfforts = '記錄工時';
$lang->task->buttonDelete = '刪除';
$lang->task->buttonBackToList = '返回';
$lang->task->buttonStart = '開始';
$lang->task->buttonDone = '完成';
$lang->task->legendBasic = '基本信息';
$lang->task->legendEffort = '工時信息';
$lang->task->legendDesc = '任務描述';
$lang->task->legendAction = '操作';
$lang->task->ajaxGetUserTasks = "介面:我的任務";
$lang->task->ajaxGetProjectTasks = "介面:項目任務";
$lang->task->confirmDelete = "您確定要刪除這個任務嗎?";
$lang->task->copyStoryTitle = "同需求";
$lang->task->afterSubmit = "添加之後";
$lang->task->successSaved = "成功添加,";
$lang->task->delayWarning = " <strong class='delayed f-14px'> 延期%s天 </strong>";
<?php
/**
* The task module zh-tw file of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id: zh-tw.php 1068 2010-09-11 07:11:57Z wwccss $
* @link http://www.zentao.net
*/
$lang->task->index = "任務一覽";
$lang->task->create = "新增任務";
$lang->task->import = "導入之前未完任務";
$lang->task->edit = "更新任務";
$lang->task->delete = "刪除任務";
$lang->task->view = "查看任務";
$lang->task->logEfforts= "記錄工時";
$lang->task->start = "開始任務";
$lang->task->complete = "完成任務";
$lang->task->close = "關閉任務";
$lang->task->cancel = "取消任務";
$lang->task->activate = "激活任務";
$lang->task->confirmStoryChange = "確認需求變動";
$lang->task->common = '任務';
$lang->task->id = '編號';
$lang->task->project = '所屬項目';
$lang->task->story = '相關需求';
$lang->task->storyVersion = '需求版本';
$lang->task->name = '任務名稱';
$lang->task->type = '任務類型';
$lang->task->pri = '優先順序';
$lang->task->owner = '指派給';
$lang->task->mailto = '抄送給';
$lang->task->estimate = '最初預計';
$lang->task->estimateAB = '預計';
$lang->task->left = '預計剩餘';
$lang->task->leftAB = '剩餘';
$lang->task->consumed = '已經消耗';
$lang->task->consumedAB = '消耗';
$lang->task->deadline = '截止日期';
$lang->task->deadlineAB = '截止';
$lang->task->status = '任務狀態';
$lang->task->desc = '任務描述';
$lang->task->statusCustom = '狀態排序';
$lang->task->statusList['wait'] = '未開始';
$lang->task->statusList['doing'] = '進行中';
$lang->task->statusList['done'] = '已完成';
$lang->task->statusList['cancel'] = '已取消';
$lang->task->typeList[''] = '';
$lang->task->typeList['design'] = '設計';
$lang->task->typeList['devel'] = '開發';
$lang->task->typeList['test'] = '測試';
$lang->task->typeList['study'] = '研究';
$lang->task->typeList['discuss']= '討論';
$lang->task->typeList['ui'] = '界面';
$lang->task->typeList['affair'] = '事務';
$lang->task->typeList['misc'] = '其他';
$lang->task->priList[0] = '';
$lang->task->priList[3] = '3';
$lang->task->priList[1] = '1';
$lang->task->priList[2] = '2';
$lang->task->priList[4] = '4';
$lang->task->afterChoices['continueAdding'] = '繼續為該需求添加任務';
$lang->task->afterChoices['toTastList'] = '返回任務列表';
$lang->task->afterChoices['toStoryList'] = '返回需求列表';
$lang->task->buttonEdit = '編輯';
$lang->task->buttonClose = '關閉';
$lang->task->buttonCancel = '取消';
$lang->task->buttonActivate = '激活';
$lang->task->buttonLogEfforts = '記錄工時';
$lang->task->buttonDelete = '刪除';
$lang->task->buttonBackToList = '返回';
$lang->task->buttonStart = '開始';
$lang->task->buttonDone = '完成';
$lang->task->legendBasic = '基本信息';
$lang->task->legendEffort = '工時信息';
$lang->task->legendDesc = '任務描述';
$lang->task->legendAction = '操作';
$lang->task->ajaxGetUserTasks = "介面:我的任務";
$lang->task->ajaxGetProjectTasks = "介面:項目任務";
$lang->task->confirmDelete = "您確定要刪除這個任務嗎?";
$lang->task->copyStoryTitle = "同需求";
$lang->task->afterSubmit = "添加之後";
$lang->task->successSaved = "成功添加,";
$lang->task->delayWarning = " <strong class='delayed f-14px'> 延期%s天 </strong>";
+273 -286
View File
File diff suppressed because it is too large Load Diff
+35 -48
View File
@@ -1,48 +1,35 @@
<?php
/**
* The browse view file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<div id='doc3'>
<table align='center' class='table-4'>
<caption><?php echo $lang->task->browse;?></caption>
<tr>
<th><?php echo $lang->task->id;?></th>
<th><?php echo $lang->task->name;?></th>
<th><?php echo $lang->task->owner;?></th>
</tr>
<?php foreach($tasks as $task):?>
<tr>
<td><?php echo $task->id;?></td>
<td><?php echo $task->name;?></td>
<td><?php echo $task->owner;?></td>
</tr>
<?php endforeach;?>
</table>
<?php
$vars['project'] = $project;
$addLink = $this->createLink($this->moduleName, 'create', $vars);
echo "<a href='$addLink'>{$lang->task->create}</a>";
?>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The browse view file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<div id='doc3'>
<table align='center' class='table-4'>
<caption><?php echo $lang->task->browse;?></caption>
<tr>
<th><?php echo $lang->task->id;?></th>
<th><?php echo $lang->task->name;?></th>
<th><?php echo $lang->task->owner;?></th>
</tr>
<?php foreach($tasks as $task):?>
<tr>
<td><?php echo $task->id;?></td>
<td><?php echo $task->name;?></td>
<td><?php echo $task->owner;?></td>
</tr>
<?php endforeach;?>
</table>
<?php
$vars['project'] = $project;
$addLink = $this->createLink($this->moduleName, 'create', $vars);
echo "<a href='$addLink'>{$lang->task->create}</a>";
?>
</div>
<?php include '../../common/view/footer.html.php';?>
+46 -59
View File
@@ -1,59 +1,46 @@
<?php
/**
* The cancel file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: cancel.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->task->estimate;?></td>
<td><?php echo html::input('estimate', $task->estimate, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $task->left, "class='text-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::hidden('status', 'cancel');
?>
<input type='button' value='<?php echo $lang->task->buttonBackToList;?>' class='button-s'
onclick='location.href="<?php echo $this->session->taskList;?>"' />
</td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The cancel file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: cancel.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->task->estimate;?></td>
<td><?php echo html::input('estimate', $task->estimate, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $task->left, "class='text-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::hidden('status', 'cancel');
?>
<input type='button' value='<?php echo $lang->task->buttonBackToList;?>' class='button-s'
onclick='location.href="<?php echo $this->session->taskList;?>"' />
</td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
+44 -57
View File
@@ -1,57 +1,44 @@
<?php
/**
* The complete file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: complete.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->task->estimate;?></td>
<td><?php echo html::input('estimate', $task->estimate, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::hidden('status', 'done');
echo html::hidden('left', 0);
?>
<input type='button' value='<?php echo $lang->task->buttonBackToList;?>' class='button-s'
onclick='location.href="<?php echo $this->session->taskList;?>"' />
</td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The complete file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: complete.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->task->estimate;?></td>
<td><?php echo html::input('estimate', $task->estimate, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::hidden('status', 'done');
echo html::hidden('left', 0);
?>
<input type='button' value='<?php echo $lang->task->buttonBackToList;?>' class='button-s'
onclick='location.href="<?php echo $this->session->taskList;?>"' />
</td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
+132 -145
View File
@@ -1,145 +1,132 @@
<?php
/**
* The create view of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/autocomplete.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<style>.button-c {padding:2px} </style>
<script language='javascript'>
/* 拷贝需求标题为任务标题。*/
function copyStoryTitle()
{
var storyTitle = $('#story option:selected').text();
storyTitle = storyTitle.substr(storyTitle.lastIndexOf(':')+ 1);
$('#name').attr('value', storyTitle);
}
/* 设置任务指派给多选。*/
function setOwners(result)
{
if(result == 'affair')
{
$('#owner').attr('size', 4);
$('#owner').attr('multiple', 'multiple');
}
else
{
$('#owner').removeAttr('size');
$('#owner').removeAttr('multiple');
}
}
/* 设置预览的链接。*/
function setPreview()
{
if(!$('#story').val())
{
$('#preview').addClass('hidden');
}
else
{
storyLink = createLink('story', 'view', "storyID=" + $('#story').val());
$('#preview').removeClass('hidden');
$('#preview').attr('href', storyLink);
}
}
var userList = "<?php echo join(',', array_keys($users));?>".split(',');
$(document).ready(function()
{
KE.show({id:'desc', items:simpleTools, filterMode:true, imageUploadJson: createLink('file', 'ajaxUpload')}); //富文本编辑器。
setPreview();
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
});
</script>
<div class='yui-d0'>
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<table align='center' class='table-1 a-left'>
<caption><?php echo $lang->task->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->project;?></th>
<td><?php echo $project->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->pri;?></th>
<td><?php echo html::select('pri', $lang->task->priList, '', 'class=select-3');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->estimate;?></th>
<td><?php echo html::input('estimate', '', "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', '', "class='text-3 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
<td><?php echo html::select('type', $lang->task->typeList, '', 'class=select-3 onchange="setOwners(this.value)"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->status;?></th>
<td><?php echo html::select('status', $lang->task->statusList, 'wait', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->owner;?></th>
<td><?php echo html::select('owner[]', $members, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->mailto;?></th>
<td> <?php echo html::input('mailto', '', 'class=text-1');?> </td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->story;?></th>
<td>
<?php echo html::select('story', $stories, $storyID, 'class=select-1 onchange=setPreview();');?>
<a href='' id='preview' class='iframe' target='_blank'><?php echo $lang->preview;?></a>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->name;?></th>
<td>
<?php
echo html::input('name', '', "class='text-1'");
echo html::commonButton($lang->task->copyStoryTitle, 'onclick=copyStoryTitle()');?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='7' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->files;?></th>
<td class='a-left'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->afterSubmit;?></th>
<td><?php echo html::radio('after', $lang->task->afterChoices, 'continueAdding');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::resetButton();?></td>
</tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The create view of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/autocomplete.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<style>.button-c {padding:2px} </style>
<script language='javascript'>
/* 拷贝需求标题为任务标题。*/
function copyStoryTitle()
{
var storyTitle = $('#story option:selected').text();
storyTitle = storyTitle.substr(storyTitle.lastIndexOf(':')+ 1);
$('#name').attr('value', storyTitle);
}
/* 设置任务指派给多选。*/
function setOwners(result)
{
if(result == 'affair')
{
$('#owner').attr('size', 4);
$('#owner').attr('multiple', 'multiple');
}
else
{
$('#owner').removeAttr('size');
$('#owner').removeAttr('multiple');
}
}
/* 设置预览的链接。*/
function setPreview()
{
if(!$('#story').val())
{
$('#preview').addClass('hidden');
}
else
{
storyLink = createLink('story', 'view', "storyID=" + $('#story').val());
$('#preview').removeClass('hidden');
$('#preview').attr('href', storyLink);
}
}
var userList = "<?php echo join(',', array_keys($users));?>".split(',');
$(document).ready(function()
{
KE.show({id:'desc', items:simpleTools, filterMode:true, imageUploadJson: createLink('file', 'ajaxUpload')}); //富文本编辑器。
setPreview();
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
});
</script>
<div class='yui-d0'>
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<table align='center' class='table-1 a-left'>
<caption><?php echo $lang->task->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->project;?></th>
<td><?php echo $project->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->pri;?></th>
<td><?php echo html::select('pri', $lang->task->priList, '', 'class=select-3');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->estimate;?></th>
<td><?php echo html::input('estimate', '', "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', '', "class='text-3 date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
<td><?php echo html::select('type', $lang->task->typeList, '', 'class=select-3 onchange="setOwners(this.value)"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->status;?></th>
<td><?php echo html::select('status', $lang->task->statusList, 'wait', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->owner;?></th>
<td><?php echo html::select('owner[]', $members, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->mailto;?></th>
<td> <?php echo html::input('mailto', '', 'class=text-1');?> </td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->story;?></th>
<td>
<?php echo html::select('story', $stories, $storyID, 'class=select-1 onchange=setPreview();');?>
<a href='' id='preview' class='iframe' target='_blank'><?php echo $lang->preview;?></a>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->name;?></th>
<td>
<?php
echo html::input('name', '', "class='text-1'");
echo html::commonButton($lang->task->copyStoryTitle, 'onclick=copyStoryTitle()');?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='7' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->files;?></th>
<td class='a-left'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->afterSubmit;?></th>
<td><?php echo html::radio('after', $lang->task->afterChoices, 'continueAdding');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::resetButton();?></td>
</tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>
+122 -135
View File
@@ -1,135 +1,122 @@
<?php
/**
* The edit view of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/autocomplete.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<style>
#story {width:220px}
.select-1 {width:220px}
.text-1 {width:215px}
</style>
<script language='Javascript'>
var userList = "<?php echo join(',', array_keys($users));?>".split(',');
$(function() {
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
$("#searchStories").colorbox({width:680, height:400, iframe:true, transition:'none'});
KE.show({ id:'desc', items:simpleTools, filterMode:true, imageUploadJson: createLink('file', 'ajaxUpload')});
})
</script>
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<div class='yui-d0'>
<div id='titlebar'>
<div id='main'>TASK #<?php echo $task->id . $lang->colon . html::input('name', $task->name, 'class="text-1"');?></div>
<div><?php echo html::submitButton();?></div>
</div>
</div>
<div class='yui-d0 yui-t8'>
<div class='yui-main'>
<div class='yui-b'>
<table class='table-1 bd-none'>
<tr class='bd-none'><td class='bd-none'>
<fieldset>
<legend><?php echo $lang->task->desc;?></legend>
<?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows='8' class='area-1'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->comment;?></legend>
<?php echo html::textarea('comment', '', "rows='5' class='area-1'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->files;?></legend>
<?php echo $this->fetch('file', 'buildform');?>
</fieldset>
</td></tr>
</table>
<div class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->inlink('view', "taskID=$task->id"));?></div>
<?php include '../../common/view/action.html.php';?>
</div>
</div>
<div class='yui-b'>
<fieldset>
<legend><?php echo $lang->task->legendBasic;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->project;?></th>
<td><?php echo $project->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->story;?></th>
<td><?php echo html::select('story', $stories, $task->story, 'class=select-1');?>
<?php echo html::a($this->createLink('search', 'select', "productID=0&projectID=$project->id&module=story&storyID=$task->story"), $lang->go, "_blank", "class='search' id='searchStories'");?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->owner;?></th>
<td><?php echo html::select('owner', $members, $task->owner, 'class=select-1');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
<td><?php echo html::select('type', $lang->task->typeList, $task->type, 'class=select-1');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->status;?></th>
<td><?php echo html::select('status', (array)$lang->task->statusList, $task->status, 'class=select-1');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->pri;?></th>
<td><?php echo html::select('pri', $lang->task->priList, $task->pri, 'class=select-1');?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->task->mailto;?></td>
<td><?php echo html::input('mailto', $task->mailto, 'class="text-1"');?></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', $task->deadline, "class='text-1 date'");?></td>
</tr>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->estimate;?></th>
<td><?php echo html::input('estimate', $task->estimate, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $task->left, "class='text-1'");?></td>
</tr>
</table>
</fieldset>
</div>
</div>
</form>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The edit view of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/autocomplete.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<style>
#story {width:220px}
.select-1 {width:220px}
.text-1 {width:215px}
</style>
<script language='Javascript'>
var userList = "<?php echo join(',', array_keys($users));?>".split(',');
$(function() {
$("#mailto").autocomplete(userList, { multiple: true, mustMatch: true});
$("#searchStories").colorbox({width:680, height:400, iframe:true, transition:'none'});
KE.show({ id:'desc', items:simpleTools, filterMode:true, imageUploadJson: createLink('file', 'ajaxUpload')});
})
</script>
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<div class='yui-d0'>
<div id='titlebar'>
<div id='main'>TASK #<?php echo $task->id . $lang->colon . html::input('name', $task->name, 'class="text-1"');?></div>
<div><?php echo html::submitButton();?></div>
</div>
</div>
<div class='yui-d0 yui-t8'>
<div class='yui-main'>
<div class='yui-b'>
<table class='table-1 bd-none'>
<tr class='bd-none'><td class='bd-none'>
<fieldset>
<legend><?php echo $lang->task->desc;?></legend>
<?php echo html::textarea('desc', htmlspecialchars($task->desc), "rows='8' class='area-1'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->comment;?></legend>
<?php echo html::textarea('comment', '', "rows='5' class='area-1'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->files;?></legend>
<?php echo $this->fetch('file', 'buildform');?>
</fieldset>
</td></tr>
</table>
<div class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->inlink('view', "taskID=$task->id"));?></div>
<?php include '../../common/view/action.html.php';?>
</div>
</div>
<div class='yui-b'>
<fieldset>
<legend><?php echo $lang->task->legendBasic;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->project;?></th>
<td><?php echo $project->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->story;?></th>
<td><?php echo html::select('story', $stories, $task->story, 'class=select-1');?>
<?php echo html::a($this->createLink('search', 'select', "productID=0&projectID=$project->id&module=story&storyID=$task->story"), $lang->go, "_blank", "class='search' id='searchStories'");?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->owner;?></th>
<td><?php echo html::select('owner', $members, $task->owner, 'class=select-1');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
<td><?php echo html::select('type', $lang->task->typeList, $task->type, 'class=select-1');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->status;?></th>
<td><?php echo html::select('status', (array)$lang->task->statusList, $task->status, 'class=select-1');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->pri;?></th>
<td><?php echo html::select('pri', $lang->task->priList, $task->pri, 'class=select-1');?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->task->mailto;?></td>
<td><?php echo html::input('mailto', $task->mailto, 'class="text-1"');?></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td><?php echo html::input('deadline', $task->deadline, "class='text-1 date'");?></td>
</tr>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->estimate;?></th>
<td><?php echo html::input('estimate', $task->estimate, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $task->left, "class='text-1'");?></td>
</tr>
</table>
</fieldset>
</div>
</div>
</form>
<?php include '../../common/view/footer.html.php';?>
+59 -72
View File
@@ -1,72 +1,59 @@
<?php
/**
* The import view file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<div class="yui-d0">
<table class='table-1 fixed tablesorter'>
<thead>
<tr class='colhead'>
<th><?php echo $lang->task->id;?></th>
<th><?php echo $lang->task->pri;?></th>
<th><?php echo $lang->task->name;?></th>
<th><?php echo $lang->task->owner;?></th>
<th><?php echo $lang->task->estimate;?></th>
<th><?php echo $lang->task->consumed;?></th>
<th><?php echo $lang->task->left;?></th>
<th><?php echo $lang->task->type;?></th>
<th><?php echo $lang->task->status;?></th>
<th class='w-p30'><?php echo $lang->task->story;?></th>
<th class='w-100px'><?php echo $lang->actions;?></th>
</tr>
</thead>
<tbody>
<?php foreach($tasks as $task):?>
<?php $class = $task->owner == $app->user->account ? 'style=color:red' : '';?>
<tr class='a-center'>
<td><?php if(common::hasPriv('task', 'view')) echo html::a($this->createLink('task', 'view', "task=$task->id"), sprintf('%03d', $task->id)); else printf('%03d', $task->id);?></td>
<td><?php echo $task->pri;?></td>
<td class='a-left nobr'><?php echo $task->name;?></td>
<td <?php echo $class;?>><?php echo $task->ownerRealName;?></td>
<td><?php echo $task->estimate;?></td>
<td><?php echo $task->consumed;?></td>
<td><?php echo $task->left;?></td>
<td><?php echo $lang->task->typeList[$task->type];?></td>
<td class=<?php echo $task->status;?> ><?php echo $lang->task->statusList->{$task->status};?></td>
<td class='a-left nobr'>
<?php
if($task->storyID)
{
if(common::hasPriv('story', 'view')) echo html::a($this->createLink('story', 'view', "storyid=$task->storyID"), $task->storyTitle);
else echo $task->storyTitle;
}
?>
</td>
<td>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The import view file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<div class="yui-d0">
<table class='table-1 fixed tablesorter'>
<thead>
<tr class='colhead'>
<th><?php echo $lang->task->id;?></th>
<th><?php echo $lang->task->pri;?></th>
<th><?php echo $lang->task->name;?></th>
<th><?php echo $lang->task->owner;?></th>
<th><?php echo $lang->task->estimate;?></th>
<th><?php echo $lang->task->consumed;?></th>
<th><?php echo $lang->task->left;?></th>
<th><?php echo $lang->task->type;?></th>
<th><?php echo $lang->task->status;?></th>
<th class='w-p30'><?php echo $lang->task->story;?></th>
<th class='w-100px'><?php echo $lang->actions;?></th>
</tr>
</thead>
<tbody>
<?php foreach($tasks as $task):?>
<?php $class = $task->owner == $app->user->account ? 'style=color:red' : '';?>
<tr class='a-center'>
<td><?php if(common::hasPriv('task', 'view')) echo html::a($this->createLink('task', 'view', "task=$task->id"), sprintf('%03d', $task->id)); else printf('%03d', $task->id);?></td>
<td><?php echo $task->pri;?></td>
<td class='a-left nobr'><?php echo $task->name;?></td>
<td <?php echo $class;?>><?php echo $task->ownerRealName;?></td>
<td><?php echo $task->estimate;?></td>
<td><?php echo $task->consumed;?></td>
<td><?php echo $task->left;?></td>
<td><?php echo $lang->task->typeList[$task->type];?></td>
<td class=<?php echo $task->status;?> ><?php echo $lang->task->statusList->{$task->status};?></td>
<td class='a-left nobr'>
<?php
if($task->storyID)
{
if(common::hasPriv('story', 'view')) echo html::a($this->createLink('story', 'view', "storyid=$task->storyID"), $task->storyTitle);
else echo $task->storyTitle;
}
?>
</td>
<td>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
</div>
<?php include '../../common/view/footer.html.php';?>
+21 -34
View File
@@ -1,34 +1,21 @@
<?php
/**
* The mail file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: sendmail.html.php 867 2010-06-17 09:32:58Z yuren_@126.com $
* @link http://www.zentao.net
*/
?>
<table width='98%' align='center'>
<tr class='header'>
<td>
TASK #<?php echo $task->id . "=>$task->owner " . html::a(common::getSysURL() . $this->createLink('task', 'view', "taskID=$task->id"), $task->name);?>
</td>
</tr>
<tr>
<td><?php include '../../common/view/mail.html.php';?></td>
</tr>
</table>
<?php
/**
* The mail file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: sendmail.html.php 867 2010-06-17 09:32:58Z yuren_@126.com $
* @link http://www.zentao.net
*/
?>
<table width='98%' align='center'>
<tr class='header'>
<td>
TASK #<?php echo $task->id . "=>$task->owner " . html::a(common::getSysURL() . $this->createLink('task', 'view', "taskID=$task->id"), $task->name);?>
</td>
</tr>
<tr>
<td><?php include '../../common/view/mail.html.php';?></td>
</tr>
</table>
+46 -59
View File
@@ -1,59 +1,46 @@
<?php
/**
* The start file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: start.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->task->estimate;?></td>
<td><?php echo html::input('estimate', $task->estimate, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $task->left, "class='text-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::hidden('status', 'doing');
?>
<input type='button' value='<?php echo $lang->task->buttonBackToList;?>' class='button-s'
onclick='location.href="<?php echo $this->session->taskList;?>"' />
</td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The start file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Jia Fu <fujia@cnezsoft.com>
* @package task
* @version $Id: start.html.php 935 2010-07-06 07:49:24Z jajacn@126.com $
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<div class='yui-d0'>
<table class='table-1'>
<caption><?php echo $task->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->task->estimate;?></td>
<td><?php echo html::input('estimate', $task->estimate, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo html::input('consumed', $task->consumed, "class='text-3'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $task->left, "class='text-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton();
echo html::hidden('status', 'doing');
?>
<input type='button' value='<?php echo $lang->task->buttonBackToList;?>' class='button-s'
onclick='location.href="<?php echo $this->session->taskList;?>"' />
</td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</div>
<?php include '../../common/view/footer.html.php';?>
+140 -153
View File
@@ -1,153 +1,140 @@
<?php
/**
* The view file of task module of ZenTaoMS.
*
* ZenTaoMS is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ZenTaoMS is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with ZenTaoMS. If not, see <http://www.gnu.org/licenses/>.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../file/view/download.html.php';?>
<div class='yui-d0'>
<div id='titlebar'>
<div id='main' class='<?php if($task->deleted) echo 'deleted';?>'>TASK #<?php echo $task->id . $lang->colon . $task->name;?></div>
<div>
<?php
$browseLink = $app->session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID=$task->project");
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'logEfforts', "taskID=$task->id", $lang->task->buttonLogEfforts))) echo $lang->task->buttonLogEfforts . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'close', "taskID=$task->id", $lang->task->buttonClose))) echo $lang->task->buttonClose . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
//if(!($task->status == 'closed' or $task->status == 'cancel' and common::printLink('task', 'activate', "taskID=$task->id", $lang->task->buttonActivate))) echo $lang->task->buttonActivate . ' ';
if(!$task->deleted)
{
if(!common::printLink('task', 'edit', "taskID=$task->id", $lang->task->buttonEdit)) echo $lang->task->buttonEdit . ' ';
if(!(($task->status == 'wait' or $task->status == 'cancel') and common::printLink('task', 'start', "taskID=$task->id", $lang->task->buttonStart))) echo $lang->task->buttonStart . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'complete', "taskID=$task->id", $lang->task->buttonDone))) echo $lang->task->buttonDone . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
if(!common::printLink('task', 'delete',"projectID=$task->project&taskID=$task->id", $lang->task->buttonDelete, 'hiddenwin')) echo $lang->task->buttonDelete . ' ';
}
echo html::a($browseLink, $lang->goback);
?>
</div>
</div>
</div>
<div class='yui-d0 yui-t8'>
<div class='yui-main'>
<div class='yui-b'>
<fieldset>
<legend><?php echo $lang->task->legendDesc;?></legend>
<div><?php echo $task->desc;?></div>
</fieldset>
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
<?php include '../../common/view/action.html.php';?>
<div class='a-center f-16px strong'>
<?php
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'logEfforts', "taskID=$task->id", $lang->task->buttonLogEfforts))) echo $lang->task->buttonLogEfforts . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'close', "taskID=$task->id", $lang->task->buttonClose))) echo $lang->task->buttonClose . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
//if(!($task->status == 'closed' or $task->status == 'cancel' and common::printLink('task', 'activate', "taskID=$task->id", $lang->task->buttonActivate))) echo $lang->task->buttonActivate . ' ';
if(!$task->deleted)
{
if(!common::printLink('task', 'edit', "taskID=$task->id", $lang->task->buttonEdit)) echo $lang->task->buttonEdit . ' ';
if(!($task->status == 'wait' and common::printLink('task', 'start', "taskID=$task->id", $lang->task->buttonStart))) echo $lang->task->buttonStart . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'complete', "taskID=$task->id", $lang->task->buttonDone))) echo $lang->task->buttonDone . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
if(!common::printLink('task', 'delete',"projectID=$task->project&taskID=$task->id", $lang->task->buttonDelete, 'hiddenwin')) echo $lang->task->buttonDelete . ' ';
}
echo html::a($browseLink, $lang->goback);
?>
</div>
</div>
</div>
<div class='yui-b'>
<fieldset>
<legend><?php echo $lang->task->legendBasic;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->project;?></th>
<td><?php if(!common::printLink('project', 'task', "projectID=$task->project", $project->name)) echo $project->name;?></td>
</tr>
<tr class='nofixed'>
<th class='rowhead'><?php echo $lang->task->story;?></th>
<td>
<?php
if($task->storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle)) echo $task->storyTitle;
if($task->needConfirm)
{
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('task', 'confirmStoryChange', "taskID=$task->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->owner;?></th>
<td><?php echo $task->ownerRealName;?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
<td><?php echo $lang->task->typeList[$task->type];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->status;?></th>
<td><?php $lang->show($lang->task->statusList, $task->status);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->pri;?></th>
<td><?php $lang->show($lang->task->priList, $task->pri);?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->task->mailto;?></td>
<td><?php $mailto = explode(',', str_replace(' ', '', $task->mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td>
<?php
echo $task->deadline;
if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay);
?>
</td>
</tr>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->estimate;?></th>
<td><?php echo $task->estimate . $lang->workingHour;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo $task->consumed . $lang->workingHour;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo $task->left . $lang->workingHour;?></td>
</tr>
</table>
</fieldset>
</div>
</div>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The view file of task module of ZenTaoMS.
*
* @copyright Copyright 2009-2010 QingDao Nature Easy Soft Network Technology Co,LTD (www.cnezsoft.com)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package task
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../file/view/download.html.php';?>
<div class='yui-d0'>
<div id='titlebar'>
<div id='main' class='<?php if($task->deleted) echo 'deleted';?>'>TASK #<?php echo $task->id . $lang->colon . $task->name;?></div>
<div>
<?php
$browseLink = $app->session->taskList != false ? $app->session->taskList : $this->createLink('project', 'browse', "projectID=$task->project");
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'logEfforts', "taskID=$task->id", $lang->task->buttonLogEfforts))) echo $lang->task->buttonLogEfforts . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'close', "taskID=$task->id", $lang->task->buttonClose))) echo $lang->task->buttonClose . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
//if(!($task->status == 'closed' or $task->status == 'cancel' and common::printLink('task', 'activate', "taskID=$task->id", $lang->task->buttonActivate))) echo $lang->task->buttonActivate . ' ';
if(!$task->deleted)
{
if(!common::printLink('task', 'edit', "taskID=$task->id", $lang->task->buttonEdit)) echo $lang->task->buttonEdit . ' ';
if(!(($task->status == 'wait' or $task->status == 'cancel') and common::printLink('task', 'start', "taskID=$task->id", $lang->task->buttonStart))) echo $lang->task->buttonStart . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'complete', "taskID=$task->id", $lang->task->buttonDone))) echo $lang->task->buttonDone . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
if(!common::printLink('task', 'delete',"projectID=$task->project&taskID=$task->id", $lang->task->buttonDelete, 'hiddenwin')) echo $lang->task->buttonDelete . ' ';
}
echo html::a($browseLink, $lang->goback);
?>
</div>
</div>
</div>
<div class='yui-d0 yui-t8'>
<div class='yui-main'>
<div class='yui-b'>
<fieldset>
<legend><?php echo $lang->task->legendDesc;?></legend>
<div><?php echo $task->desc;?></div>
</fieldset>
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
<?php include '../../common/view/action.html.php';?>
<div class='a-center f-16px strong'>
<?php
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'logEfforts', "taskID=$task->id", $lang->task->buttonLogEfforts))) echo $lang->task->buttonLogEfforts . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'close', "taskID=$task->id", $lang->task->buttonClose))) echo $lang->task->buttonClose . ' ';
//if(!($task->status != 'closed' and $task->status != 'cancel' and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
//if(!($task->status == 'closed' or $task->status == 'cancel' and common::printLink('task', 'activate', "taskID=$task->id", $lang->task->buttonActivate))) echo $lang->task->buttonActivate . ' ';
if(!$task->deleted)
{
if(!common::printLink('task', 'edit', "taskID=$task->id", $lang->task->buttonEdit)) echo $lang->task->buttonEdit . ' ';
if(!($task->status == 'wait' and common::printLink('task', 'start', "taskID=$task->id", $lang->task->buttonStart))) echo $lang->task->buttonStart . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'complete', "taskID=$task->id", $lang->task->buttonDone))) echo $lang->task->buttonDone . ' ';
if(!(($task->status == 'wait' or $task->status == 'doing') and common::printLink('task', 'cancel', "taskID=$task->id", $lang->task->buttonCancel))) echo $lang->task->buttonCancel . ' ';
if(!common::printLink('task', 'delete',"projectID=$task->project&taskID=$task->id", $lang->task->buttonDelete, 'hiddenwin')) echo $lang->task->buttonDelete . ' ';
}
echo html::a($browseLink, $lang->goback);
?>
</div>
</div>
</div>
<div class='yui-b'>
<fieldset>
<legend><?php echo $lang->task->legendBasic;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->project;?></th>
<td><?php if(!common::printLink('project', 'task', "projectID=$task->project", $project->name)) echo $project->name;?></td>
</tr>
<tr class='nofixed'>
<th class='rowhead'><?php echo $lang->task->story;?></th>
<td>
<?php
if($task->storyTitle and !common::printLink('story', 'view', "storyID=$task->story", $task->storyTitle)) echo $task->storyTitle;
if($task->needConfirm)
{
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('task', 'confirmStoryChange', "taskID=$task->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->owner;?></th>
<td><?php echo $task->ownerRealName;?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->type;?></th>
<td><?php echo $lang->task->typeList[$task->type];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->status;?></th>
<td><?php $lang->show($lang->task->statusList, $task->status);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->pri;?></th>
<td><?php $lang->show($lang->task->priList, $task->pri);?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->task->mailto;?></td>
<td><?php $mailto = explode(',', str_replace(' ', '', $task->mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->legendEffort;?></legend>
<table class='table-1'>
<tr>
<th class='rowhead'><?php echo $lang->task->deadline;?></th>
<td>
<?php
echo $task->deadline;
if(isset($task->delay)) printf($lang->task->delayWarning, $task->delay);
?>
</td>
</tr>
<tr>
<th class='rowhead w-p20'><?php echo $lang->task->estimate;?></th>
<td><?php echo $task->estimate . $lang->workingHour;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->consumed;?></th>
<td><?php echo $task->consumed . $lang->workingHour;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<td><?php echo $task->left . $lang->workingHour;?></td>
</tr>
</table>
</fieldset>
</div>
</div>
<?php include '../../common/view/footer.html.php';?>