workflowlayout->disabledFields['subTables'];?> $childFields):?> show) { $display = true; break; } } } if(!$display) continue; ?>
workflow->subTable . $lang->colon . zget($flowPairs, str_replace('sub_', '', $childModule));?> method == 'view' ? 4 : 6;?> $field):?> show) continue;?> method != 'view' && strpos(",{$disabledFields},", ",{$key},") !== false) continue;?> show == '1';?> ' data-fixed='' data-module='module;?>' data-field='field;?>' data-control='control;?>'> method == 'view'):?> method != 'view'):?> type == 'single' && !in_array($action->action, $config->workflowaction->readonlyActions) && $field->field != 'actions'):?>
name;?> workflowlayout->require . ')';?>
workflowlayout->width;?> width, "id='subTables{$childModule}width{$key}' class='form-control' $disabled");?>
workflowlayout->mobileShow;?> workflowlayout->mobileList, zget($field, 'mobileShow', 0), "class='form-control' $disabled");?>
workflowlayout->layoutRules;?> layoutRules, "id='layoutRules' class='form-control chosen' multiple='multiple' $disabled");?>
workflowlayout->defaultValue;?> field}'"; if($field->control == 'checkbox') { echo html::select("subTables[$childModule][defaultValue][$key][]", $field->options, $field->defaultValue, "id='defaultValue{$childModule}{$key}' class='form-control picker-select' multiple $data $disabled"); } else { echo html::select("subTables[$childModule][defaultValue][$key]", array('' => '') + $field->options, $field->defaultValue, "id='defaultValue{$childModule}{$key}' class='form-control picker-select' $data $disabled"); } echo ""; if(in_array($field->control, $dateControlList)) { $class = 'form-' . $field->control; echo html::input("subTables[$childModule][defaultValue][$key]", ($field->defaultValue && $field->defaultValue != 'currentTime') ? $field->defaultValue : '', "id='defaultValue{$childModule}{$key}' class='form-control $class' $disabled"); } else { echo html::input("subTables[$childModule][defaultValue][$key]", ($field->defaultValue && strpos(',currentUser,currentDept,currentTime,', ",$field->defaultValue,") === false) ? $field->defaultValue : '', "id='defaultValue{$childModule}{$key}' class='form-control' disabled='disabled'"); } $checked = ''; if(!in_array($field->control, $dateControlList)) $checked .= "disabled='disabled'"; if(!in_array($field->control, $controlList)) $checked .= "checked='checked'"; if(in_array($field->control, $dateControlList) && !empty($field->defaultValue) && !isset($field->options[$field->defaultValue])) $checked .= "checked='checked'"; ?>
/>
readonly ? "checked='checked'" : '';?>
/>
workflowlayout->show : $lang->workflowlayout->hide;?>