* @package dashboard * @version $Id$ * @link http://www.zentao.net */ ?> requestType == 'GET' ? '&onlybody=yes' : '?onlybody=yes';?>
' . html::a(inlink('todo', "date=today"), $lang->todo->todayTodos) . ''; echo ''. html::a(inlink('todo', "date=yesterday"), $lang->todo->yesterdayTodos). ''; echo '' . html::a(inlink('todo', "date=thisweek"), $lang->todo->thisWeekTodos) . ''; echo '' . html::a(inlink('todo', "date=lastweek"), $lang->todo->lastWeekTodos) . ''; echo ''. html::a(inlink('todo', "date=thismonth"), $lang->todo->thismonthTodos). ''; echo '' . html::a(inlink('todo', "date=lastmonth"), $lang->todo->lastmonthTodos). ''; echo ''. html::a(inlink('todo', "date=thisseason"),$lang->todo->thisseasonTodos).''; echo '' . html::a(inlink('todo', "date=thisyear"), $lang->todo->thisyearTodos) . ''; echo '' . html::a(inlink('todo', "date=future"), $lang->todo->futureTodos) . ''; echo '' . html::a(inlink('todo', "date=all"), $lang->todo->allDaysTodos) . ''; echo '' . html::a(inlink('todo', "date=before&account={$app->user->account}&status=undone"), $lang->todo->allUndone) . ''; echo "" . html::input('date', $date,"class='w-date date' onchange='changeDate(this.value)'") . ''; if($type == 'bydate') { if($date == date('Y-m-d')) { $type = 'today'; } else if($date == date('Y-m-d', strtotime('-1 day'))) { $type = 'yesterday'; } } ?>
idAB);?> todo->date);?> todo->type);?> priAB);?> todo->name);?> todo->beginAB);?> todo->endAB);?> todo->status);?> actions;?>
id; ?> date == '2030-01-01' ? $lang->todo->dayInFuture : $todo->date;?> todo->typeList[$todo->type];?> pri;?>'>pri?> createLink('todo', 'view', "id=$todo->id&from=my") . $onlybody, $todo->name, '', "class='colorbox'");?> begin;?> end;?> todo->statusList[$todo->status];?> createLink('todo', 'mark', "id=$todo->id&status=$todo->status"), $lang->todo->{'mark'.ucfirst($todo->status)}, 'hiddenwin'); common::printIcon('todo', 'edit', "id=$todo->id", '', 'list'); common::printIcon('todo', 'delete', "id=$todo->id", '', 'list', '', 'hiddenwin'); ?>
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();?>