* @package todo * @version $Id: edit.html.php 4728 2013-05-03 06:14:34Z chencongzhi520@gmail.com $ * @link http://www.zentao.net */ ?>
icons['todo']);?> id;?> createLink('todo', 'view', 'todo=' . $todo->id), $todo->name);?> todo->edit;?>
cycle):?> config = json_decode($todo->config);?>
todo->date;?>
date, "class='form-control form-date'");?> cycle)):?> todo->periods['future'];?>
todo->cycleConfig;?>
todo->every;?> config->day) ? $todo->config->day : 1, "class='form-control'")?> todo->cycleDay;?>
todo->dayNames, isset($todo->config->week) ? $todo->config->week : '')?>
" . html::checkbox('config[month]', $days, isset($todo->config->month) ? $todo->config->month : '') . '

'; $days = array(); for($i = 11; $i <= 20; $i ++) $days[$i] = $i; echo "

" . html::checkbox('config[month]', $days, isset($todo->config->month) ? $todo->config->month : '') . '

'; $days = array(); for($i = 21; $i <= 31; $i ++) $days[$i] = $i; echo "

" . html::checkbox('config[month]', $days, isset($todo->config->month) ? $todo->config->month : '') . '

'; ?>
config->type)?>
todo->beforeDays, html::input('config[beforeDays]', $todo->config->beforeDays, "class='form-control'"));?>
todo->deadline;?> config->end, "class='form-control form-date'");?>
todo->type;?> todo->typeList[$todo->type];?>
todo->pri;?> todo->priList, $todo->pri, "class='form-control chosen'");?>
todo->name;?>
type == 'bug' or $todo->type == 'task') ? 'readonly' : ''; echo html::input('name', $todo->name, "$readType class='form-control' autocomplete='off'"); ?>
todo->desc;?> desc), "rows=8 class=area-1");?>
todo->status;?> todo->statusList, $todo->status, "class='form-control chosen'");?>
todo->beginAndEnd;?>
begin, 'onchange=selectNext(); class="form-control chosen" style="width: 50%"') . html::select('end', $times, $todo->end, 'class="form-control chosen" style="width: 50%"');?>
begin == 2400) echo 'checked';?> > todo->lblDisableDate;?>
todo->private;?> private) echo 'checked';?>>