From e73517cfc0474b6ef5e69dd8143ff9876cbfcdb4 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Jul 2022 09:16:28 +0800 Subject: [PATCH 1/4] * Modify the style of the task view page return button. --- module/task/view/view.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/task/view/view.html.php b/module/task/view/view.html.php index f0732f48dd..844e44a79f 100644 --- a/module/task/view/view.html.php +++ b/module/task/view/view.html.php @@ -166,8 +166,8 @@
- - ' . $lang->goback, '', "class='btn btn-secondary'");?> + app->getViewType() != 'xhtml'):?> + ' . $lang->goback, '', "class='btn'");?>
";?> executionList = $execution;?> From 02b9139e86e2f7d92045ac981aeac104ebb78bd9 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Jul 2022 10:01:25 +0800 Subject: [PATCH 2/4] * Finish task #61965. --- module/todo/config.php | 2 +- module/todo/control.php | 14 ++++++++++++-- module/todo/css/batchcreate.css | 11 +++++++++-- module/todo/css/batchedit.css | 8 +++++--- module/todo/css/create.css | 2 ++ module/todo/css/edit.css | 4 ++++ module/todo/js/edit.js | 13 +++++++++++++ module/todo/lang/de.php | 1 + module/todo/lang/en.php | 1 + module/todo/lang/fr.php | 1 + module/todo/lang/zh-cn.php | 1 + module/todo/model.php | 21 ++++++++++++--------- module/todo/view/batchcreate.html.php | 18 +++++++++++------- module/todo/view/batchedit.html.php | 24 ++++++++++++------------ module/todo/view/create.html.php | 12 ++++++++---- module/todo/view/edit.html.php | 16 +++++++++++----- 16 files changed, 104 insertions(+), 45 deletions(-) diff --git a/module/todo/config.php b/module/todo/config.php index 91e5d79ecf..90d3c24eaa 100644 --- a/module/todo/config.php +++ b/module/todo/config.php @@ -21,7 +21,7 @@ $config->todo->editor->view = array('id' => 'comment,lastComment', 'tools' => $config->todo->list = new stdclass(); $config->todo->list->exportFields = 'id, account, date, begin, end, type, idvalue, pri, name, desc, status, private'; $config->todo->list->customBatchCreateFields = 'type,pri,desc,beginAndEnd'; -$config->todo->list->customBatchEditFields = 'pri,desc,beginAndEnd,status'; +$config->todo->list->customBatchEditFields = 'pri,beginAndEnd,status'; $config->todo->custom = new stdclass(); $config->todo->custom->batchCreateFields = 'type,pri,desc,beginAndEnd'; diff --git a/module/todo/control.php b/module/todo/control.php index 14eaa91763..c52cf46751 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -75,12 +75,15 @@ class todo extends control } unset($this->lang->todo->typeList['cycle']); + $this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->create; $this->view->position[] = $this->lang->todo->common; $this->view->position[] = $this->lang->todo->create; $this->view->date = date("Y-m-d", strtotime($date)); $this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta); $this->view->time = date::now(); + $this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|noempty'); + $this->display(); } @@ -115,9 +118,11 @@ class todo extends control return print(js::locate($this->createLink('my', 'todo', "type=$date"), 'parent')); } - /* Set Custom*/ unset($this->lang->todo->typeList['cycle']); + + /* Set Custom*/ foreach(explode(',', $this->config->todo->list->customBatchCreateFields) as $field) $customFields[$field] = $this->lang->todo->$field; + $this->view->customFields = $customFields; $this->view->showFields = $this->config->todo->custom->batchCreateFields; @@ -127,6 +132,7 @@ class todo extends control $this->view->date = (int)$date == 0 ? $date : date('Y-m-d', strtotime($date)); $this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta); $this->view->time = date::now(); + $this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|noempty'); $this->display(); } @@ -163,12 +169,15 @@ class todo extends control if($todo->private and $this->app->user->account != $todo->account) return print('private'); unset($this->lang->todo->typeList['cycle']); + $todo->date = date("Y-m-d", strtotime($todo->date)); $this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->edit; $this->view->position[] = $this->lang->todo->common; $this->view->position[] = $this->lang->todo->edit; $this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta); $this->view->todo = $todo; + $this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|noempty'); + $this->display(); } @@ -260,6 +269,7 @@ class todo extends control $this->view->time = date::now(); $this->view->title = $title; $this->view->position = $position; + $this->view->users = $this->loadModel('user')->getPairs('noclosed|nodeleted|noempty'); $this->display(); } @@ -357,7 +367,7 @@ class todo extends control } $this->view->todo = $this->todo->getById($todoID); - $this->view->members = $this->loadModel('user')->getPairs('noclosed'); + $this->view->members = $this->loadModel('user')->getPairs('noclosed|noempty|nodeleted'); $this->view->times = date::buildTimeList($this->config->todo->times->begin, $this->config->todo->times->end, $this->config->todo->times->delta); $this->view->actions = $this->loadModel('action')->getList('todo', $todoID); $this->view->users = $this->user->getPairs('noletter'); diff --git a/module/todo/css/batchcreate.css b/module/todo/css/batchcreate.css index 19576bc2ab..ca1968b83e 100755 --- a/module/todo/css/batchcreate.css +++ b/module/todo/css/batchcreate.css @@ -6,13 +6,17 @@ html[lang="en"] #todoBatchAddForm .col-pri {width: 105px;} #todoBatchAddForm .col-date {width: 180px;} #todoBatchAddForm .col-pending {width: 70px;} +#todoBatchAddForm .col-assignedTo {width: 120px;} +#todoBatchAddForm .col-name {width: auto;} +#todoBatchAddForm .col-future {width: 90px;} +#todoBatchAddForm .col-future #select-all {overflow: visible;} html[lang="en"] #todoBatchAddForm .col-pending {width: 90px;} #todoBatchAddForm .chosen-container-single .chosen-single {border-radius: 0;} #todoBatchAddForm .control-time-begin + .chosen-container-single .chosen-single {border-radius: 2px 0 0 2px; border-right-width: 0; padding-right: 1px;} #todoBatchAddForm .control-time-begin + .chosen-container-active .chosen-single {border-right-width: 1px; padding-right: 0;} #todoBatchAddHeader [name="date"]:disabled {color: #ccc; text-decoration: line-through;} -.main-header > .input-group {width: 240px;} -html[lang="en"] .main-header > .input-group {width: 250px;} +#mainContent .main-header > .input-group {width: 240px;} +html[lang="en"] #mainContent .main-header > .input-group, html[lang="de"] #mainContent .main-header > .input-group {width: 250px;} #formSettingBtn {position: absolute; top: 14px; right: 20px; z-index: 1000;} #formSettingBtn .dropdown {margin-right: 0px;} @@ -20,3 +24,6 @@ html[lang="en"] .main-header > .input-group {width: 250px;} #formSettingBtn .checkboxes {padding: 10px 3px;} #formSettingBtn .checkbox-primary {width: 50%; float: left; margin: 3px 0;} #formSetting .btn {margin-right: 8px;} +[lang^='fr'] #formSetting {width: 345px !important;} +[lang^='de'] #formSetting {width: 380px !important;} +.visible {overflow: visible !important;} diff --git a/module/todo/css/batchedit.css b/module/todo/css/batchedit.css index b4a5e79de4..34d98f66cb 100644 --- a/module/todo/css/batchedit.css +++ b/module/todo/css/batchedit.css @@ -3,6 +3,8 @@ div[id*="ends"] .chosen-single {border-left: none;} .c-id {width: 40px;} -.c-pri {width: 100px;} -.c-status {width: 120px;} -.c-date {width: 300px;} +.c-pri, .c-date {width: 100px;} +.c-status, .c-assignedTo {width: 120px;} +.c-beginAndEnd{width: 300px;} +.c-assignedTo {padding-left: 0px !important;} +.visible {overflow: visible;} diff --git a/module/todo/css/create.css b/module/todo/css/create.css index e244ada28e..1c096596a5 100644 --- a/module/todo/css/create.css +++ b/module/todo/css/create.css @@ -7,3 +7,5 @@ .nameBox {display: grid;} .pri-selector > .btn {padding: 5px 12px;} #assignedTo_chosen.chosen-container .chosen-results {max-height: 180px;} +.inputGroupWidth {padding-top: 5px;} +.nameBox + span {border-radius: 0px;} diff --git a/module/todo/css/edit.css b/module/todo/css/edit.css index 27d9ef709e..cd803cffb1 100644 --- a/module/todo/css/edit.css +++ b/module/todo/css/edit.css @@ -5,3 +5,7 @@ .nameBox {display: grid;} .chosen-container-single .chosen-single {height: 34px;} #begin_chosen .chosen-single {border-right-width: 0px;} +.beginBox {padding-right: 0px;} +.endBox {padding-left: 0px;} +.beforeDaysBox {width: 250px; padding-top: 5px;} +.nameBox + span {border-radius: 0px;} diff --git a/module/todo/js/edit.js b/module/todo/js/edit.js index e83c70fa19..2a65253a18 100644 --- a/module/todo/js/edit.js +++ b/module/todo/js/edit.js @@ -9,4 +9,17 @@ $(function() var value = $select.val(); $selector.find('.pri-text').html('' + value + ''); }); + + resetDateWidth(); + + $(window).resize(function() + { + resetDateWidth(); + }); }); + +function resetDateWidth() +{ + var dateWidth = $('#date').parent().width(); + $('.dateWidth').width(dateWidth); +} diff --git a/module/todo/lang/de.php b/module/todo/lang/de.php index 6eaa189f29..bdd2825548 100644 --- a/module/todo/lang/de.php +++ b/module/todo/lang/de.php @@ -71,6 +71,7 @@ $lang->todo->closedBy = 'ClosedBy'; $lang->todo->closedDate = 'ClosedDate'; $lang->todo->deadline = 'Fällig'; $lang->todo->deleted = 'Deleted'; +$lang->todo->ditto = 'Dito'; $lang->todo->cycleDaysLabel = 'Interval days'; $lang->todo->beforeDaysLabel = 'Days in advance'; diff --git a/module/todo/lang/en.php b/module/todo/lang/en.php index 1b2c1d615b..393be9e447 100644 --- a/module/todo/lang/en.php +++ b/module/todo/lang/en.php @@ -71,6 +71,7 @@ $lang->todo->closedBy = 'ClosedBy'; $lang->todo->closedDate = 'ClosedDate'; $lang->todo->deadline = 'Expiration'; $lang->todo->deleted = 'Deleted'; +$lang->todo->ditto = 'Ditto'; $lang->todo->cycleDaysLabel = 'Interval days'; $lang->todo->beforeDaysLabel = 'Days in advance'; diff --git a/module/todo/lang/fr.php b/module/todo/lang/fr.php index f212d8953b..0f12d6a044 100644 --- a/module/todo/lang/fr.php +++ b/module/todo/lang/fr.php @@ -71,6 +71,7 @@ $lang->todo->closedBy = 'ClosedBy'; $lang->todo->closedDate = 'ClosedDate'; $lang->todo->deadline = 'Expiration'; $lang->todo->deleted = 'Deleted'; +$lang->todo->ditto = 'Idem'; $lang->todo->cycleDaysLabel = 'Interval days'; $lang->todo->beforeDaysLabel = 'Days in advance'; diff --git a/module/todo/lang/zh-cn.php b/module/todo/lang/zh-cn.php index dbc2242cdb..2de9d58aae 100644 --- a/module/todo/lang/zh-cn.php +++ b/module/todo/lang/zh-cn.php @@ -71,6 +71,7 @@ $lang->todo->closedBy = '由谁关闭'; $lang->todo->closedDate = '关闭时间'; $lang->todo->deadline = '过期时间'; $lang->todo->deleted = '已删除'; +$lang->todo->ditto = '同上'; $lang->todo->cycleDaysLabel = '间隔天数'; $lang->todo->beforeDaysLabel = '提前天数'; diff --git a/module/todo/model.php b/module/todo/model.php index ce934060be..b580b69c7d 100644 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -141,9 +141,11 @@ class todoModel extends model $validTodos = array(); $now = helper::now(); + $assignedTo = $this->app->user->account; for($i = 0; $i < $this->config->todo->batchCreate; $i++) { - $isExist = false; + $isExist = false; + $assignedTo = $todos->assignedTos[$i] == 'ditto' ? $assignedTo : $todos->assignedTos[$i]; foreach($this->config->todo->objectList as $objects) { if(isset($todos->{$objects}[$i + 1])) @@ -175,7 +177,7 @@ class todoModel extends model $todo->status = "wait"; $todo->private = 0; $todo->idvalue = 0; - $todo->assignedTo = $this->app->user->account; + $todo->assignedTo = $assignedTo; $todo->assignedBy = $this->app->user->account; $todo->assignedDate = $now; $todo->vision = $this->config->vision; @@ -327,13 +329,14 @@ class todoModel extends model foreach($todoIDList as $todoID) { $todo = new stdclass(); - $todo->date = $data->dates[$todoID]; - $todo->type = $data->types[$todoID]; - $todo->pri = $data->pris[$todoID]; - $todo->status = $data->status[$todoID]; - $todo->name = !in_array($todo->type, $this->config->todo->moduleList) ? $data->names[$todoID] : ''; - $todo->begin = isset($data->begins[$todoID]) ? $data->begins[$todoID] : 2400; - $todo->end = isset($data->ends[$todoID]) ? $data->ends[$todoID] : 2400; + $todo->date = $data->dates[$todoID]; + $todo->type = $data->types[$todoID]; + $todo->pri = $data->pris[$todoID]; + $todo->status = $data->status[$todoID]; + $todo->name = !in_array($todo->type, $this->config->todo->moduleList) ? $data->names[$todoID] : ''; + $todo->begin = isset($data->begins[$todoID]) ? $data->begins[$todoID] : 2400; + $todo->end = isset($data->ends[$todoID]) ? $data->ends[$todoID] : 2400; + $todo->assignedTo = isset($data->assignedTos[$todoID]) ? $data->assignedTos[$todoID] : $this->app->user->account; if(in_array($todo->type, $this->config->todo->moduleList)) { diff --git a/module/todo/view/batchcreate.html.php b/module/todo/view/batchcreate.html.php index 771b7b6ce0..46590001b1 100755 --- a/module/todo/view/batchcreate.html.php +++ b/module/todo/view/batchcreate.html.php @@ -41,7 +41,7 @@ { if($field)$visibleFields[$field] = ''; } - $columns = count($visibleFields) + 2; + $columns = count($visibleFields) + 3; ?>
' data-ride='table'> @@ -52,8 +52,9 @@ + - + @@ -62,14 +63,17 @@ todo->batchCreate; $i++):?> - - - + + - + -
'>todo->pri;?> todo->name;?> '>todo->desc;?>todo->assignTo;?> '>todo->beginAndEnd;?>
' style='overflow:visible' id="select-all">
' id="select-all">
style='overflow:visible'>todo->typeList, '', "onchange='loadList(this.value, " . ($i + 1) . ")' class='form-control chosen'");?> style='overflow:visible'>todo->priList, $pri, "class='form-control'");?> + todo->typeList, '', "onchange='loadList(this.value, " . ($i + 1) . ")' class='form-control'");?>todo->priList, $pri, "class='form-control'");?>
> style='overflow:visible'> + 0 ? 'ditto' : $app->user->account;?> + 0) $users['ditto'] = $lang->todo->ditto;?> +
@@ -77,7 +81,7 @@
style='overflow:visible'> +
diff --git a/module/todo/view/batchedit.html.php b/module/todo/view/batchedit.html.php index 2d812aabe7..5aff0241e9 100644 --- a/module/todo/view/batchedit.html.php +++ b/module/todo/view/batchedit.html.php @@ -32,19 +32,19 @@ { if($field)$visibleFields[$field] = ''; } - $columns = count($visibleFields) + 4; + $columns = count($visibleFields) + 5; ?> '> - - - + + + - - - + + + @@ -66,8 +66,8 @@ } ?> - - + - - + - + diff --git a/module/todo/view/create.html.php b/module/todo/view/create.html.php index d85a14dc17..6a7fe7d277 100644 --- a/module/todo/view/create.html.php +++ b/module/todo/view/create.html.php @@ -105,7 +105,7 @@ -
+
todo->beforeDays, html::input('config[beforeDays]', 0, "class='form-control'"));?>
@@ -118,13 +118,17 @@
+ + + + diff --git a/module/todo/view/edit.html.php b/module/todo/view/edit.html.php index 732af676aa..4d40bab8a7 100644 --- a/module/todo/view/edit.html.php +++ b/module/todo/view/edit.html.php @@ -111,7 +111,7 @@ config->type)?> -
+
todo->beforeDays, html::input('config[beforeDays]', $todo->config->beforeDays, "class='form-control'"));?>
@@ -126,18 +126,24 @@ type != 'cycle'):?>
-
+
todo->typeList, $todo->type, "onchange='loadList(this.value, \"\", \"{$todo->type}\", {$todo->idvalue})' class='form-control'");?>
+
+ +
+ assignedTo, "class='form-control chosen'");?> +
+
name, "class='form-control'");?>
- todo->pri;?> + todo->pri;?>
-
+
begin, 'onchange=selectNext(); class="form-control chosen" data-drop_direction="up"')?>
-
+
end, 'class="form-control chosen" data-drop_direction="up"');?>
From cac6216a09a79c4798ef33b89bae361f15844ef3 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Jul 2022 10:50:16 +0800 Subject: [PATCH 3/4] * Finish task #61967. --- module/common/lang/menu.php | 2 -- module/project/model.php | 6 ------ 2 files changed, 8 deletions(-) diff --git a/module/common/lang/menu.php b/module/common/lang/menu.php index 32438dc257..67e1345892 100644 --- a/module/common/lang/menu.php +++ b/module/common/lang/menu.php @@ -309,8 +309,6 @@ $lang->kanbanProject->menu->settings['subMenu']->view = array('link' => " $lang->kanbanProject->menu->settings['subMenu']->products = array('link' => "{$lang->product->common}|project|manageProducts|project=%s", 'alias' => 'manageproducts'); $lang->kanbanProject->menu->settings['subMenu']->members = array('link' => "{$lang->team->common}|project|team|project=%s", 'alias' => 'managemembers,team'); $lang->kanbanProject->menu->settings['subMenu']->whitelist = array('link' => "{$lang->whitelist}|project|whitelist|project=%s", 'subModule' => 'personnel'); -$lang->kanbanProject->menu->settings['subMenu']->stakeholder = array('link' => "{$lang->stakeholder->common}|stakeholder|browse|project=%s", 'subModule' => 'stakeholder'); -$lang->kanbanProject->menu->settings['subMenu']->group = array('link' => "{$lang->priv}|project|group|project=%s", 'alias' => 'group,manageview,managepriv'); /* Execution menu. */ $lang->execution->homeMenu = new stdclass(); diff --git a/module/project/model.php b/module/project/model.php index d2c6cdc499..3e815f6808 100644 --- a/module/project/model.php +++ b/module/project/model.php @@ -2636,12 +2636,6 @@ class projectModel extends model unset($this->lang->project->menu->settings['subMenu']->whitelist); } - if($project->model == 'kanban') - { - unset($this->lang->project->menu->settings['subMenu']->stakeholder); - unset($this->lang->project->menu->settings['subMenu']->group); - } - common::setMenuVars('project', $objectID); return $objectID; } From 1f9d835e397d6269b04fe97ed9f176e9dd86da4d Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Jul 2022 11:36:18 +0800 Subject: [PATCH 4/4] * Finish task #61965. --- module/todo/js/edit.js | 12 +++++++++--- module/todo/model.php | 6 ++++-- module/todo/view/batchcreate.html.php | 2 +- module/todo/view/batchedit.html.php | 6 +++--- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/module/todo/js/edit.js b/module/todo/js/edit.js index 2a65253a18..cea11ab97d 100644 --- a/module/todo/js/edit.js +++ b/module/todo/js/edit.js @@ -10,15 +10,21 @@ $(function() $selector.find('.pri-text').html('' + value + ''); }); - resetDateWidth(); + alignWidth(); $(window).resize(function() { - resetDateWidth(); + alignWidth(); }); }); -function resetDateWidth() +/** + * Align with the date width. + * + * @access public + * @return void + */ +function alignWidth() { var dateWidth = $('#date').parent().width(); $('.dateWidth').width(dateWidth); diff --git a/module/todo/model.php b/module/todo/model.php index b580b69c7d..a251f011b2 100644 --- a/module/todo/model.php +++ b/module/todo/model.php @@ -326,8 +326,11 @@ class todoModel extends model if(!empty($todoIDList)) { /* Initialize todos from the post data. */ + $oldTodos = $this->dao->select('*')->from(TABLE_TODO)->where('id')->in(array_keys($todos))->fetchAll('id'); foreach($todoIDList as $todoID) { + $oldTodo = $oldTodos[$todoID]; + $todo = new stdclass(); $todo->date = $data->dates[$todoID]; $todo->type = $data->types[$todoID]; @@ -336,7 +339,7 @@ class todoModel extends model $todo->name = !in_array($todo->type, $this->config->todo->moduleList) ? $data->names[$todoID] : ''; $todo->begin = isset($data->begins[$todoID]) ? $data->begins[$todoID] : 2400; $todo->end = isset($data->ends[$todoID]) ? $data->ends[$todoID] : 2400; - $todo->assignedTo = isset($data->assignedTos[$todoID]) ? $data->assignedTos[$todoID] : $this->app->user->account; + $todo->assignedTo = isset($data->assignedTos[$todoID]) ? $data->assignedTos[$todoID] : $oldTodo->assignedTo; if(in_array($todo->type, $this->config->todo->moduleList)) { @@ -347,7 +350,6 @@ class todoModel extends model $todos[$todoID] = $todo; } - $oldTodos = $this->dao->select('*')->from(TABLE_TODO)->where('id')->in(array_keys($todos))->fetchAll('id'); foreach($todos as $todoID => $todo) { $oldTodo = $oldTodos[$todoID]; diff --git a/module/todo/view/batchcreate.html.php b/module/todo/view/batchcreate.html.php index 46590001b1..36cc8112d8 100755 --- a/module/todo/view/batchcreate.html.php +++ b/module/todo/view/batchcreate.html.php @@ -54,7 +54,7 @@
- + diff --git a/module/todo/view/batchedit.html.php b/module/todo/view/batchedit.html.php index 5aff0241e9..419e5c3efb 100644 --- a/module/todo/view/batchedit.html.php +++ b/module/todo/view/batchedit.html.php @@ -66,7 +66,7 @@ } ?> - + - - +
idAB;?> todo->date;?> todo->type;?>idAB;?>todo->date;?>todo->type;?> '> todo->pri;?>todo->name;?>>todo->desc;?>'>todo->beginAndEnd;?>todo->name;?>todo->assignedTo;?>'>todo->beginAndEnd;?> '> todo->status;?>
>id]", $lang->todo->priList, $todo->pri, "class='form-control chosen'");?> + id]", $lang->todo->priList, $todo->pri, "class='form-control chosen'");?>
>id]", $todo->desc, "rows='1' class='form-control'");?> style='overflow:visible'> + id]", $users, $todo->assignedTo, "class='form-control chosen'");?>
id]", $times, substr($todo->begin, 0, 2) . substr($todo->begin, 3, 2), "onchange=\"setBeginsAndEnds($todo->id, 'begin');\" class='form-control chosen control-time-begin'" . ((isset($visibleFields['beginAndEnd']) && $todo->begin != '') ? '' : " disabled")); @@ -130,7 +130,7 @@
style='overflow:visible'>id]", $lang->todo->statusList, $todo->status, "class='form-control chosen'");?>id]", $lang->todo->statusList, $todo->status, "class='form-control chosen'");?>
todo->type;?> todo->typeList, '', 'onchange="loadList(this.value);" class="form-control"');?>
todo->assignTo;?>user->account, 'class="form-control chosen"');?>
todo->name;?>
- todo->pri;?> + todo->pri;?>
'>todo->desc;?> todo->assignTo;?> '>todo->beginAndEnd;?>
' id="select-all">
' id="select-all">
id]", $lang->todo->priList, $todo->pri, "class='form-control chosen'");?>id]", $lang->todo->priList, $todo->pri, "class='form-control chosen'");?>
@@ -115,7 +115,7 @@
id]", $users, $todo->assignedTo, "class='form-control chosen'");?> +
id]", $times, substr($todo->begin, 0, 2) . substr($todo->begin, 3, 2), "onchange=\"setBeginsAndEnds($todo->id, 'begin');\" class='form-control chosen control-time-begin'" . ((isset($visibleFields['beginAndEnd']) && $todo->begin != '') ? '' : " disabled")); @@ -130,7 +130,7 @@
id]", $lang->todo->statusList, $todo->status, "class='form-control chosen'");?>id]", $lang->todo->statusList, $todo->status, "class='form-control chosen'");?>