* Add fields of create program.

This commit is contained in:
daitingting
2024-01-12 06:36:37 +00:00
parent 60dba2a6dc
commit cc64ae605a
4 changed files with 76 additions and 139 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace zin;
global $lang;
$fields = defineFieldList('program.create', 'program');
$fields->field('budget')
->control('inputGroup')
->label($lang->project->budget)
->item(field('budget'))
->checkbox(true)
->checkboxProps(array('field' => 'future', 'label' => $lang->project->future))
->checked(false);
$fields->field('acl')
->width('full')
->control('radioList')
->items(data('parentProgram') ? $lang->program->subAclList : $lang->program->aclList)
->value('open');