* code for task #3663.

This commit is contained in:
wangyidong
2018-03-28 13:52:26 +08:00
parent 3877c7f111
commit f459f4a3da
13 changed files with 184 additions and 121 deletions
+1
View File
@@ -104,6 +104,7 @@ class my extends control
/* Assign. */
$this->view->todos = $this->loadModel('todo')->getList($type, $account, $status, 0, $pager, $sort);
$this->view->todoCount = $this->todo->getCount();
$this->view->date = (int)$type == 0 ? date(DT_DATE1) : date(DT_DATE1, strtotime($type));
$this->view->type = $type;
$this->view->recTotal = $recTotal;