openedApproval) && $flow->approval == 'enabled' && $action->action == 'approvalsubmit'):?> show) continue;?> readonly;?> width && $field->width != 'auto' ? $field->width . 'px' : 'auto');?> defaultValue or $field->defaultValue === 0) ? $field->defaultValue : zget($data, $field->field, '');?> control == 'file'):?> field == 'mailto'):?> buildin) $users = $this->loadModel('user')->getDeptPairs('pofirst|nodeleted|noclosed');?> buildin) $users = $this->loadModel('user')->getDeptPairs('pofirst|nodeleted|noclosed');?> field])):?> field;?> field, ''); if($relation && strpos(",$relation->actions,", ',many2one,') === false) { $prevDataID = isset($data->{$field->field}) ? $data->{$field->field} : 0; $attr = "class='prevTR field-row' data-prev='{$relation->prev}' data-next='{$relation->next}' data-action='$action->action' data-field='{$relation->field}' data-dataID='$prevDataID'"; } ?> >
{$flow->module}->reviewers;?>
name;?> field}";?> field}";?> fetch('file', 'printFiles', array('files' => $data->$fileField, 'fieldset' => 'false'));?> fetch('file', 'buildForm', "fileCount=1&percent=0.9&filesName={$fileField}&labelsName={$labelsName}");?>
name;?>
chooseUserToMail}' multiple");?> fetch('my', 'buildContactLists');?>
flow->tips->notice;?>
name;?> class='child'> field]) ? $childDatas[$field->field] : array();?> field] as $childField):?> show) continue;?> control == 'file') continue;?> width && $childField->width != 'auto' ? $childField->width . 'px' : 'auto');?> defaultValue or $childField->defaultValue === 0) ? $childField->defaultValue : zget($childData, $childField->field, '');?> field] as $childField):?> show) continue;?> control == 'file') continue;?> width && $childField->width != 'auto' ? $childField->width . 'px' : 'auto');?>
readonly) { if($childField->control == 'multi-select' or $childField->control == 'checkbox') { $childValues = explode(',', $childValue); foreach($childValues as $childV) { if(in_array($childV, $this->config->flow->variables)) $childV = $this->loadModel('workflowhook')->getParamRealValue($childV); echo zget($field->options, $childV, '') . ' '; } } else { echo zget($childField->options, $childValue); } echo html::hidden("children[$childModule][$childField->field][$childKey]", $childValue); } else { $element = "children[$childModule][$childField->field][$childKey]"; echo $this->flow->buildControl($childField, $childValue, $element, $field->field); } ?> id);?>
field][$childKey]";?> flow->buildControl($childField, $childField->defaultValue, $element, $childModule);?>
name;?>
control == 'multi-select' or $field->control == 'checkbox') { if(!is_array($value)) $value = explode(',', $value); foreach($value as $v) { if(in_array($v, $this->config->flow->variables)) $v = $this->loadModel('workflowhook')->getParamRealValue($v); echo zget($field->options, $v, '') . ' '; } $value = join(',', $value); } else { echo zget($field->options, $value); } echo html::hidden($field->field, $field->control == 'richtext' ? str_replace("'", ''', htmlspecialchars($value)) : $value); } else { echo $this->flow->buildControl($field, $value); } ?>
class='form-actions'>