* Add story for todo

This commit is contained in:
滔哥
2017-11-15 16:52:27 +08:00
parent f425743a8d
commit 602a95cfd2
4 changed files with 21 additions and 15 deletions
+3 -1
View File
@@ -48,10 +48,12 @@ class todo extends control
{
$date = 'future';
}
else if($date == date('Ymd'))
elseif($date == date('Ymd'))
{
$date = 'today';
}
if(!empty($_POST['idvalue'])) $this->send(array('result' => 'success'));
die(js::locate($this->createLink('my', 'todo', "type=$date"), 'parent'));
}