* [bug#56709,done,0.5h] fix bug.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
$now = helper::now();
|
||||
$today = helper::today();
|
||||
|
||||
global $app;
|
||||
$config->program->form = new stdclass();
|
||||
|
||||
$config->program->form->create['parent'] = array('type' => 'int', 'control' => 'picker', 'required' => false, 'default' => 0);
|
||||
@@ -31,16 +30,16 @@ $config->program->form->edit['whitelist'] = array('type' => 'array', 'contro
|
||||
$config->program->form->close['realEnd'] = array('type' => 'date', 'required' => true, 'default' => $now, 'filter' => 'trim');
|
||||
$config->program->form->close['status'] = array('type' => 'string', 'required' => false, 'default' => 'closed');
|
||||
$config->program->form->close['closedDate'] = array('type' => 'datetime', 'required' => false, 'default' => $now);
|
||||
$config->program->form->close['closedBy'] = array('type' => 'string', 'required' => false, 'default' => $app->user->account);
|
||||
$config->program->form->close['closedBy'] = array('type' => 'string', 'required' => false, 'default' => '');
|
||||
$config->program->form->close['lastEditedDate'] = array('type' => 'datetime', 'required' => false, 'default' => $now);
|
||||
$config->program->form->close['lastEditedBy'] = array('type' => 'string', 'required' => false, 'default' => $app->user->account);
|
||||
$config->program->form->close['lastEditedBy'] = array('type' => 'string', 'required' => false, 'default' => '');
|
||||
|
||||
$config->program->form->activate['begin'] = array('type' => 'date', 'required' => false, 'default' => null, 'filter' => 'trim');
|
||||
$config->program->form->activate['end'] = array('type' => 'date', 'required' => false, 'default' => null, 'filter' => 'trim');
|
||||
$config->program->form->activate['status'] = array('type' => 'string', 'required' => false, 'default' => 'doing');
|
||||
$config->program->form->activate['realEnd'] = array('type' => 'date', 'required' => false, 'default' => null);
|
||||
$config->program->form->activate['lastEditedDate'] = array('type' => 'datetime', 'required' => false, 'default' => $now);
|
||||
$config->program->form->activate['lastEditedBy'] = array('type' => 'string', 'required' => false, 'default' => $app->user->account);
|
||||
$config->program->form->activate['lastEditedBy'] = array('type' => 'string', 'required' => false, 'default' => '');
|
||||
|
||||
$config->program->form->start['realBegan'] = array('type' => 'date', 'required' => true, 'default' => $today, 'filter' => 'trim');
|
||||
$config->program->form->start['comment'] = array('type' => 'string', 'required' => false, 'default' => '', 'control' => 'editor');
|
||||
|
||||
Reference in New Issue
Block a user