From 2beba3e2837b5b7366be9421a934cb41cfa0d49f Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Sat, 2 Jun 2012 06:47:47 +0000 Subject: [PATCH] * code for task#804. --- module/my/view/todo.html.php | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index 098cd61bc8..c5301cb059 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -13,7 +13,7 @@ -
+
- - - ';todoform.submit();"> - - - - + createLink('todo', 'batchEdit', "from=myTodo&type=$type&account=$account&status=$status"); + echo html::commonButton($lang->todo->batchEdit, "onclick=\"changeAction('todoform', 'batchEdit', '$actionLink')\""); + + } + if(common::hasPriv('todo', 'import2Today') and $importFuture) + { + $actionLink = $this->createLink('todo', 'import2Today'); + echo html::commonButton($lang->todo->import2Today, "onclick=\"changeAction('todoform', 'import2Today', '$actionLink')\""); + } + ?>
show();?>