From b9ab6cedb3ebae1d00459e8de426a890f4b80502 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 2 Jul 2013 07:03:57 +0000 Subject: [PATCH] * hide import button when todo is today. --- module/my/view/m.todo.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/view/m.todo.html.php b/module/my/view/m.todo.html.php index d50326a026..6f2169cb44 100755 --- a/module/my/view/m.todo.html.php +++ b/module/my/view/m.todo.html.php @@ -32,7 +32,7 @@ common::printIcon('todo', 'finish', "id=$todo->id", $todo, 'button', '', 'hiddenwin'); if($todo->account == $app->user->account) { - common::printIcon('todo', 'import2Today', "todoID=$todo->id"); + if($type != 'today') common::printIcon('todo', 'import2Today', "todoID=$todo->id"); common::printIcon('todo', 'delete', "todoID=$todo->id", '', 'button', '', 'hiddenwin'); } ?>