+ add link of today.

This commit is contained in:
wangchunsheng
2009-11-05 09:53:50 +00:00
parent 36d9433764
commit b88315d323
2 changed files with 4 additions and 1 deletions

View File

@@ -94,11 +94,13 @@ EOT;
<?php if($tabID == 'todo'):?>
<div>
<?php
echo html::select('date', $dates, $date, 'onchange=changeDate(this.value)');
echo html::a($this->createLink('my', 'todo', "date=today"), $lang->todo->todayTodos);
echo html::a($this->createLink('my', 'todo', "date=thisweek"), $lang->todo->thisWeekTodos);
echo html::a($this->createLink('my', 'todo', "date=lastweek"), $lang->todo->lastWeekTodos);
echo html::a($this->createLink('my', 'todo', "date=all"), $lang->todo->allDaysTodos);
echo html::a($this->createLink('my', 'todo', "date=all&account={$app->user->account}&status=wait,doing"), $lang->todo->allUndone);
echo html::select('date', $dates, $date, 'onchange=changeDate(this.value)');
echo html::a($this->createLink('todo', 'create', "date=$date"), $lang->todo->create);
?>
</div>

View File

@@ -70,4 +70,5 @@ $lang->todo->thisWeekTodos = '本周计划';
$lang->todo->lastWeekTodos = '上周总结';
$lang->todo->allDaysTodos = '所有任务';
$lang->todo->allUndone = '所有未作';
$lang->todo->todayTodos = '今日安排';