id='bDl5ZXpaYmlwcDNqbzVYbTQ1YWY0YVBhcHNKMTBKbm5ZcWpkNEE___'; $this->width='100%'; $this->title=''; $this->fields = unserialize( 'a:22:{s:7:"DYN_UID";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:7:"DYN_UID";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:1:"0";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:6:"ACTION";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:6:"ACTION";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:1:"0";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:7:"PRO_UID";O:20:"XmlForm_Field_Hidden":36:{s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:15:"dependentFields";s:0:"";s:4:"name";s:7:"PRO_UID";s:4:"type";s:6:"hidden";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:1:"0";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:4:"LANG";O:13:"XmlForm_Field":34:{s:4:"name";s:4:"LANG";s:4:"type";s:7:"private";s:5:"label";N;s:7:"pmLabel";N;s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:5:"TITLE";O:19:"XmlForm_Field_Title":34:{s:4:"name";s:5:"TITLE";s:4:"type";s:5:"title";s:5:"label";s:20:"Dynaform Information";s:7:"pmLabel";s:20:"Dynaform Information";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";s:1:"1";s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:9:"ADD_TABLE";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:0:{}s:13:"sqlConnection";s:7:"dbarray";s:3:"sql";s:34:"SELECT * FROM ADDITIONAL_TABLES ";s:9:"sqlOption";a:0:{}s:9:"saveLabel";i:0;s:12:"modeGridDrop";s:0:"";s:10:"renderMode";s:0:"";s:13:"selectedValue";s:0:"";s:4:"name";s:9:"ADD_TABLE";s:4:"type";s:8:"dropdown";s:5:"label";s:22:"Create from a PM Table";s:7:"pmLabel";s:22:"Create from a PM Table";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:9:"DYN_TITLE";O:18:"XmlForm_Field_Text":50:{s:4:"size";s:2:"48";s:9:"maxLength";s:3:"256";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:12:"defaultValue";s:0:"";s:8:"required";s:1:"1";s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:13:"gridFieldType";s:4:"text";s:7:"formula";s:0:"";s:8:"function";s:0:"";s:11:"replaceTags";i:0;s:10:"renderMode";s:0:"";s:15:"comma_separator";s:1:".";s:10:"onkeypress";s:0:"";s:4:"name";s:9:"DYN_TITLE";s:4:"type";s:4:"text";s:5:"label";s:5:"Title";s:7:"pmLabel";s:5:"Title";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:8:"DYN_TYPE";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:2:{s:7:"xmlform";s:6:"Normal";s:4:"grid";s:4:"Grid";}s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:9:"saveLabel";i:0;s:12:"modeGridDrop";s:0:"";s:10:"renderMode";s:0:"";s:13:"selectedValue";s:0:"";s:4:"name";s:8:"DYN_TYPE";s:4:"type";s:8:"dropdown";s:5:"label";s:7:"Type ";s:7:"pmLabel";s:7:"Type ";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";s:2:"80";s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:6:"center";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:2:{s:7:"xmlform";s:6:"Normal";s:4:"grid";s:4:"Grid";}}s:15:"DYN_DESCRIPTION";O:22:"XmlForm_Field_Textarea":40:{s:4:"rows";s:1:"8";s:4:"cols";s:2:"45";s:8:"required";b:0;s:8:"readOnly";b:0;s:4:"wrap";s:3:"OFF";s:9:"className";N;s:10:"renderMode";s:0:"";s:4:"name";s:15:"DYN_DESCRIPTION";s:4:"type";s:8:"textarea";s:5:"label";s:11:"Description";s:7:"pmLabel";s:11:"Description";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:8:"CONTINUE";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:36:"assignVariables( this.form, false );";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:8:"CONTINUE";s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:7:"pmLabel";s:4:"Save";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:13:"SAVE_DYNAFORM";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:33:"dynaformSave( this.form, false );";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:13:"SAVE_DYNAFORM";s:4:"type";s:6:"button";s:5:"label";s:4:"Save";s:7:"pmLabel";s:4:"Save";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:9:"SAVE_OPEN";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:32:"dynaformSave( this.form, true );";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:9:"SAVE_OPEN";s:4:"type";s:6:"button";s:5:"label";s:11:"Save & Open";s:7:"pmLabel";s:11:"Save & Open";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:10:"BTN_CANCEL";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:9:"cancel();";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:10:"BTN_CANCEL";s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:7:"pmLabel";s:6:"Cancel";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:16:"COPY_PROCESS_UID";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:17:"COPY_DYNAFORM_UID";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:1:{s:0:"";s:20:"- Select a process -";}s:13:"sqlConnection";i:0;s:3:"sql";s:220:"SELECT PRO.PRO_UID, CON.CON_VALUE FROM PROCESS AS PRO, CONTENT AS CON WHERE PRO.PRO_UID = CON.CON_ID AND CON.CON_CATEGORY = \'PRO_TITLE\' AND CON.CON_LANG = \'@#LANG\' ORDER BY CON.CON_VALUE ASC ";s:9:"sqlOption";a:0:{}s:9:"saveLabel";i:0;s:12:"modeGridDrop";s:0:"";s:10:"renderMode";s:0:"";s:13:"selectedValue";s:0:"";s:4:"name";s:16:"COPY_PROCESS_UID";s:4:"type";s:8:"dropdown";s:5:"label";s:25:" Process ";s:7:"pmLabel";s:25:" Process ";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:1:{s:0:"";s:20:"- Select a process -";}}s:9:"COPY_TYPE";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:17:"COPY_DYNAFORM_UID";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:2:{s:7:"xmlform";s:6:"Normal";s:4:"grid";s:4:"Grid";}s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:9:"saveLabel";i:0;s:12:"modeGridDrop";s:0:"";s:10:"renderMode";s:0:"";s:13:"selectedValue";s:0:"";s:4:"name";s:9:"COPY_TYPE";s:4:"type";s:8:"dropdown";s:5:"label";s:39:" Showing forms of type ";s:7:"pmLabel";s:39:" Showing forms of type ";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:2:{s:7:"xmlform";s:6:"Normal";s:4:"grid";s:4:"Grid";}}s:17:"COPY_DYNAFORM_UID";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:0:"";s:8:"required";b:0;s:15:"dependentFields";s:25:"COPY_DYNAFORM_DESCRIPTION";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:1:{s:0:"";s:21:"- Select a dynaform -";}s:13:"sqlConnection";i:0;s:3:"sql";s:305:"SELECT DYN.DYN_UID, CON.CON_VALUE FROM DYNAFORM AS DYN, CONTENT AS CON WHERE DYN.PRO_UID = \'@#COPY_PROCESS_UID\' AND DYN.DYN_TYPE = \'@#COPY_TYPE\' AND DYN.DYN_UID = CON.CON_ID AND CON.CON_CATEGORY = \'DYN_TITLE\' AND CON.CON_LANG = \'@#LANG\' ORDER BY CON.CON_VALUE ASC ";s:9:"sqlOption";a:0:{}s:9:"saveLabel";i:0;s:12:"modeGridDrop";s:0:"";s:10:"renderMode";s:0:"";s:13:"selectedValue";s:0:"";s:4:"name";s:17:"COPY_DYNAFORM_UID";s:4:"type";s:8:"dropdown";s:5:"label";s:41:" Dynaform to copy/import ";s:7:"pmLabel";s:41:" Dynaform to copy/import ";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:1:{s:0:"";s:21:"- Select a dynaform -";}}s:19:"COPY_DYNAFORM_TITLE";O:18:"XmlForm_Field_Text":50:{s:4:"size";s:2:"48";s:9:"maxLength";s:3:"256";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:12:"defaultValue";s:0:"";s:8:"required";s:1:"1";s:15:"dependentFields";s:0:"";s:9:"linkField";s:0:"";s:5:"strTo";s:0:"";s:8:"readOnly";b:0;s:13:"sqlConnection";i:0;s:3:"sql";s:0:"";s:9:"sqlOption";a:0:{}s:13:"gridFieldType";s:4:"text";s:7:"formula";s:0:"";s:8:"function";s:0:"";s:11:"replaceTags";i:0;s:10:"renderMode";s:0:"";s:15:"comma_separator";s:1:".";s:10:"onkeypress";s:0:"";s:4:"name";s:19:"COPY_DYNAFORM_TITLE";s:4:"type";s:4:"text";s:5:"label";s:25:"Title of the new dynaform";s:7:"pmLabel";s:25:"Title of the new dynaform";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:25:"COPY_DYNAFORM_DESCRIPTION";O:22:"XmlForm_Field_Textarea":40:{s:4:"rows";s:1:"8";s:4:"cols";s:2:"45";s:8:"required";b:0;s:8:"readOnly";b:0;s:4:"wrap";s:3:"OFF";s:9:"className";N;s:10:"renderMode";s:0:"";s:4:"name";s:25:"COPY_DYNAFORM_DESCRIPTION";s:4:"type";s:8:"textarea";s:5:"label";s:31:"Description of the new dynaform";s:7:"pmLabel";s:31:"Description of the new dynaform";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:175:"SELECT CON.CON_VALUE FROM CONTENT AS CON WHERE CON.CON_ID = \'@#COPY_DYNAFORM_UID\' AND CON.CON_CATEGORY = \'DYN_DESCRIPTION\' AND CON.CON_LANG = \'@#LANG\' ";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:11:"BTNCOPYSAVE";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:31:"dynaformSave(this.form, false);";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:11:"BTNCOPYSAVE";s:4:"type";s:6:"button";s:5:"label";s:11:"Copy/Import";s:7:"pmLabel";s:11:"Copy/Import";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:15:"BTNCOPYSAVEOPEN";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:30:"dynaformSave(this.form, true);";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:15:"BTNCOPYSAVEOPEN";s:4:"type";s:6:"button";s:5:"label";s:20:"Copy/Import and Open";s:7:"pmLabel";s:20:"Copy/Import and Open";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:13:"BTNCOPYCANCEL";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:9:"cancel();";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:13:"BTNCOPYCANCEL";s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:7:"pmLabel";s:6:"Cancel";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:11:"showInTable";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:4:"edit";s:7:"options";a:0:{}}s:2:"JS";O:24:"XmlForm_Field_JavaScript":35:{s:4:"code";s:5668:" function checkDynaformSource() { var action = "@#ACTION"; switch (action) { case "pmtable": document.getElementById("pmtableform").style.display=""; document.getElementById("pmtabledrop").style.display=""; document.getElementById("normalform").style.display="none"; //document.getElementById("form[DYN_TYPE]").value = "xmlform"; break; case "copy": document.getElementById("title").style.display = "none"; document.getElementById("description").style.display = "none"; document.getElementById("form[TITLE]").innerHTML = "@G::LoadTranslation(ID_DYNAFORM_COPY)"; document.getElementById("copyProcess").style.display = ""; document.getElementById("copyType").style.display = ""; document.getElementById("copyDynaform").style.display = ""; document.getElementById("copyDynTitle").style.display = ""; document.getElementById("copyDynDescription").style.display = ""; document.getElementById("copyButton").style.display = ""; break; default: //normal document.getElementById("normalform").style.display=""; document.getElementById("normalformdrop").style.display=""; document.getElementById("pmtableform").style.display="none"; break; } /* if ("@#ACTION" == "normal"){ hideRow("ADD_TABLE"); hideRow("CONTINUE"); hideRow("PROCESS_VARIABLES"); hideRow("PRO_VAR_ASSIGN"); } else { document.getElementById("form[DYN_TYPE]").value = "xmlform"; hideRow("DYN_TYPE"); } */ } var cbocopyDynaformUid = getField("COPY_DYNAFORM_UID") var txtcopyDynTitle = getField("COPY_DYNAFORM_TITLE"); leimnud.event.add( getField("COPY_PROCESS_UID"), "change", function () { txtcopyDynTitle.value = ""; } ); leimnud.event.add( getField("COPY_TYPE"), "change", function () { txtcopyDynTitle.value = ""; } ); leimnud.event.add( cbocopyDynaformUid, "change", function () { txtcopyDynTitle.value = ""; if (cbocopyDynaformUid.value != "") { txtcopyDynTitle.value = cbocopyDynaformUid.options[cbocopyDynaformUid.selectedIndex].text; } } ); txtcopyDynTitle.form.onsubmit = function () { return false; }; getField("DYN_TITLE").form.onsubmit = function () { return false; }; checkDynaformSource(); leimnud.event.add(getField(\'DYN_TITLE\'), \'blur\', function() { String.prototype.trim = function() { return this.replace(/^\\s+|\\s+$/g, ""); }; document.getElementById(\'form[DYN_TITLE]\').value = document.getElementById(\'form[DYN_TITLE]\').value.trim(); }); leimnud.event.add(document.getElementById(\'form[ADD_TABLE]\'), \'change\', setPMTableDynaformTitle); function setPMTableDynaformTitle(){ if(document.getElementById(\'form[ADD_TABLE]\').value!=\'\'){ document.getElementById(\'form[DYN_TITLE]\').value = document.getElementById(\'form[ADD_TABLE]\')[document.getElementById(\'form[ADD_TABLE]\').selectedIndex].innerHTML; } } var oPanel; function assignVariables(){ //alert("test"); if(document.getElementById(\'form[ADD_TABLE]\').value!=\'\'){ table_uid = document.getElementById(\'form[ADD_TABLE]\').value; oPanel = new leimnud.module.panel(); oPanel.options = { limit : true, size : {w:450,h:350}, position : {x:0,y:0,center:true}, title : \'\', theme : \'processmaker\', statusBar: false, control : {drag:false,resize:true,close:true}, fx : {opacity:true,rolled:false,modal:true} }; oPanel.make(); oPanel.loader.show(); var PRO_UID = document.getElementById(\'form[PRO_UID]\').value; var DYN_UID = document.getElementById(\'form[DYN_UID]\').value; var ADD_TABLE = document.getElementById(\'form[ADD_TABLE]\').value; var DYN_TITLE = document.getElementById(\'form[DYN_TITLE]\').value; var DYN_TYPE = document.getElementById(\'form[DYN_TYPE]\').value; var ACTION = document.getElementById(\'form[ACTION]\').value; var DYN_DESCRIPTION = document.getElementById(\'form[DYN_DESCRIPTION]\').value; //alert("pepe2"); oRPC = new leimnud.module.rpc.xmlhttp({ url : \'../dynaforms/dynaforms_AssignVariables\', method : \'POST\', args : \'PRO_UID=\' + PRO_UID + \'&DYN_UID=\' + DYN_UID + \'&ADD_TABLE=\' + ADD_TABLE + \'&DYN_TITLE=\' + DYN_TITLE + \'&DYN_TYPE=\' + DYN_TYPE + \'&DYN_DESCRIPTION=\' + DYN_DESCRIPTION + \'&ACTION=\' + ACTION }); //alert("alert"); oRPC.callback = function(oRPC) { oPanel.loader.hide(); var scs = oRPC.xmlhttp.responseText.extractScript(); oPanel.addContent(oRPC.xmlhttp.responseText); scs.evalScript(); }.extend(this); oRPC.make(); lastPopupWindow.remove(); //popupWindow(\'Assign Variable\', \'?PRO_UID=@%PRO_UID&TABLE_UID=\'+table_uid , 500, 300); } } function cancel(){ lastPopupWindow.remove(); } ";s:11:"replaceTags";b:1;s:4:"name";s:2:"JS";s:4:"type";s:10:"javascript";s:5:"label";s:0:"";s:7:"pmLabel";s:0:"";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:0:"";s:12:"defaultValue";N;s:13:"gridFieldType";s:0:"";s:9:"gridLabel";s:0:"";s:4:"hint";s:0:"";s:10:"enableHtml";b:0;s:5:"style";s:0:"";s:12:"withoutLabel";b:0;s:9:"className";s:0:"";s:8:"colWidth";i:140;s:8:"colAlign";s:4:"left";s:12:"colClassName";s:0:"";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:0:"";s:16:"dataCompareField";s:0:"";s:15:"dataCompareType";s:1:"=";s:3:"sql";s:0:"";s:13:"sqlConnection";s:0:"";s:7:"pmtable";s:0:"";s:4:"keys";s:0:"";s:12:"pmconnection";s:0:"";s:7:"pmfield";s:0:"";s:8:"modeGrid";s:0:"";s:11:"modeForGrid";s:0:"";}}' ); $this->values = unserialize( 'a:0:{}' ); $this->action=''; $this->ajaxServer=''; $this->enableTemplate='1'; $this->ajaxSubmit=false; $this->callback='function(){}'; $this->in_progress='function(){}'; $this->template=null; $this->className='formDefault'; $this->objectRequiredFields='[{%27name%27:%27DYN_TITLE%27,%27type%27:%27text%27,%27label%27:%27Title%27,%27validate%27:%27%27,%27required%27:%271%27},{%27name%27:%27COPY_DYNAFORM_TITLE%27,%27type%27:%27text%27,%27label%27:%27Title of the new dynaform%27,%27validate%27:%27%27,%27required%27:%271%27}]'; $this->nextstepsave=''; $this->printdynaform=''; $this->adjustgridswidth='0'; $this->visual_frontend=null; $this->tree = unserialize( 'O:8:"Xml_Node":5:{s:4:"name";s:8:"dynaForm";s:4:"type";s:4:"open";s:5:"value";s:1:" ";s:10:"attributes";a:4:{s:4:"name";s:14:"dynaforms_Edit";s:4:"type";s:7:"xmlform";s:5:"width";s:4:"100%";s:14:"enableTemplate";s:1:"1";}s:8:"children";a:44:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:7:"DYN_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:6:"hidden";s:11:"showInTable";s:1:"0";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"Xml_Node":5:{s:4:"name";s:6:"ACTION";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:6:"hidden";s:11:"showInTable";s:1:"0";}s:8:"children";a:0:{}}i:3;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"Xml_Node":5:{s:4:"name";s:7:"PRO_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:6:"hidden";s:11:"showInTable";s:1:"0";}s:8:"children";a:0:{}}i:5;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:6;O:8:"Xml_Node":5:{s:4:"name";s:4:"LANG";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:7:"private";}s:8:"children";a:0:{}}i:7;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:8;O:8:"Xml_Node":5:{s:4:"name";s:5:"TITLE";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:2:{s:4:"type";s:5:"title";s:5:"group";s:1:"1";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:20:"Dynaform Information";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:9;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"Xml_Node":5:{s:4:"name";s:9:"ADD_TABLE";s:4:"type";s:4:"open";s:5:"value";s:37:" SELECT * FROM ADDITIONAL_TABLES ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:13:"sqlConnection";s:7:"dbarray";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:22:"Create from a PM Table";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:11;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;O:8:"Xml_Node":5:{s:4:"name";s:9:"DYN_TITLE";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:9:"maxlength";s:3:"256";s:4:"size";s:2:"48";s:8:"required";s:1:"1";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:5:"Title";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:13;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"Xml_Node":5:{s:4:"name";s:8:"DYN_TYPE";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:3:{s:4:"type";s:8:"dropdown";s:8:"colWidth";s:2:"80";s:5:"align";s:6:"center";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:7:"Type ";s:10:"attributes";a:0:{}s:8:"children";a:4:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Normal";s:10:"attributes";a:1:{s:4:"name";s:7:"xmlform";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:3:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:4:"Grid";s:10:"attributes";a:1:{s:4:"name";s:4:"grid";}s:8:"children";a:0:{}}i:3;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:3:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:15;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:16;O:8:"Xml_Node":5:{s:4:"name";s:15:"DYN_DESCRIPTION";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:3:{s:4:"type";s:8:"textarea";s:4:"cols";s:2:"45";s:4:"rows";s:1:"8";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"Description";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:17;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:18;O:8:"Xml_Node":5:{s:4:"name";s:8:"CONTINUE";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:36:"assignVariables( this.form, false );";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:4:"Save";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:19;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:20;O:8:"Xml_Node":5:{s:4:"name";s:13:"SAVE_DYNAFORM";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:33:"dynaformSave( this.form, false );";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:4:"Save";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:21;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:22;O:8:"Xml_Node":5:{s:4:"name";s:9:"SAVE_OPEN";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:32:"dynaformSave( this.form, true );";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"Save & Open";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:23;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:24;O:8:"Xml_Node":5:{s:4:"name";s:10:"BTN_CANCEL";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:9:"cancel();";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:6:"Cancel";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:25;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:3:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:26;O:8:"Xml_Node":5:{s:4:"name";s:16:"COPY_PROCESS_UID";s:4:"type";s:4:"open";s:5:"value";s:231:" SELECT PRO.PRO_UID, CON.CON_VALUE FROM PROCESS AS PRO, CONTENT AS CON WHERE PRO.PRO_UID = CON.CON_ID AND CON.CON_CATEGORY = \'PRO_TITLE\' AND CON.CON_LANG = \'@#LANG\' ORDER BY CON.CON_VALUE ASC ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:15:"dependentfields";s:17:"COPY_DYNAFORM_UID";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:25:" Process ";s:10:"attributes";a:0:{}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:20:"- Select a process -";s:10:"attributes";a:1:{s:4:"name";s:0:"";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:5:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:27;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:28;O:8:"Xml_Node":5:{s:4:"name";s:9:"COPY_TYPE";s:4:"type";s:4:"open";s:5:"value";s:5:" ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:15:"dependentfields";s:17:"COPY_DYNAFORM_UID";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:39:" Showing forms of type ";s:10:"attributes";a:0:{}s:8:"children";a:4:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:6:"Normal";s:10:"attributes";a:1:{s:4:"name";s:7:"xmlform";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:9:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:2;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:4:"Grid";s:10:"attributes";a:1:{s:4:"name";s:4:"grid";}s:8:"children";a:0:{}}i:3;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:5:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:29;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:30;O:8:"Xml_Node":5:{s:4:"name";s:17:"COPY_DYNAFORM_UID";s:4:"type";s:4:"open";s:5:"value";s:316:" SELECT DYN.DYN_UID, CON.CON_VALUE FROM DYNAFORM AS DYN, CONTENT AS CON WHERE DYN.PRO_UID = \'@#COPY_PROCESS_UID\' AND DYN.DYN_TYPE = \'@#COPY_TYPE\' AND DYN.DYN_UID = CON.CON_ID AND CON.CON_CATEGORY = \'DYN_TITLE\' AND CON.CON_LANG = \'@#LANG\' ORDER BY CON.CON_VALUE ASC ";s:10:"attributes";a:2:{s:4:"type";s:8:"dropdown";s:15:"dependentfields";s:25:"COPY_DYNAFORM_DESCRIPTION";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:4:"open";s:5:"value";s:41:" Dynaform to copy/import ";s:10:"attributes";a:0:{}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:21:"- Select a dynaform -";s:10:"attributes";a:1:{s:4:"name";s:0:"";}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:5:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:31;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:32;O:8:"Xml_Node":5:{s:4:"name";s:19:"COPY_DYNAFORM_TITLE";s:4:"type";s:4:"open";s:5:"value";s:5:" ";s:10:"attributes";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"48";s:9:"maxlength";s:3:"256";s:8:"required";s:1:"1";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:25:"Title of the new dynaform";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:33;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:34;O:8:"Xml_Node":5:{s:4:"name";s:25:"COPY_DYNAFORM_DESCRIPTION";s:4:"type";s:4:"open";s:5:"value";s:186:" SELECT CON.CON_VALUE FROM CONTENT AS CON WHERE CON.CON_ID = \'@#COPY_DYNAFORM_UID\' AND CON.CON_CATEGORY = \'DYN_DESCRIPTION\' AND CON.CON_LANG = \'@#LANG\' ";s:10:"attributes";a:3:{s:4:"type";s:8:"textarea";s:4:"rows";s:1:"8";s:4:"cols";s:2:"45";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:31:"Description of the new dynaform";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:35;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:36;O:8:"Xml_Node":5:{s:4:"name";s:11:"BTNCOPYSAVE";s:4:"type";s:4:"open";s:5:"value";s:5:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:31:"dynaformSave(this.form, false);";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:11:"Copy/Import";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:37;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:38;O:8:"Xml_Node":5:{s:4:"name";s:15:"BTNCOPYSAVEOPEN";s:4:"type";s:4:"open";s:5:"value";s:5:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:30:"dynaformSave(this.form, true);";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:20:"Copy/Import and Open";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:39;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:40;O:8:"Xml_Node":5:{s:4:"name";s:13:"BTNCOPYCANCEL";s:4:"type";s:4:"open";s:5:"value";s:5:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:9:"cancel();";}s:8:"children";a:2:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:2:"en";s:4:"type";s:8:"complete";s:5:"value";s:6:"Cancel";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:1;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}i:41;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:42;O:8:"Xml_Node":5:{s:4:"name";s:2:"JS";s:4:"type";s:8:"complete";s:5:"value";s:5668:" function checkDynaformSource() { var action = "@#ACTION"; switch (action) { case "pmtable": document.getElementById("pmtableform").style.display=""; document.getElementById("pmtabledrop").style.display=""; document.getElementById("normalform").style.display="none"; //document.getElementById("form[DYN_TYPE]").value = "xmlform"; break; case "copy": document.getElementById("title").style.display = "none"; document.getElementById("description").style.display = "none"; document.getElementById("form[TITLE]").innerHTML = "@G::LoadTranslation(ID_DYNAFORM_COPY)"; document.getElementById("copyProcess").style.display = ""; document.getElementById("copyType").style.display = ""; document.getElementById("copyDynaform").style.display = ""; document.getElementById("copyDynTitle").style.display = ""; document.getElementById("copyDynDescription").style.display = ""; document.getElementById("copyButton").style.display = ""; break; default: //normal document.getElementById("normalform").style.display=""; document.getElementById("normalformdrop").style.display=""; document.getElementById("pmtableform").style.display="none"; break; } /* if ("@#ACTION" == "normal"){ hideRow("ADD_TABLE"); hideRow("CONTINUE"); hideRow("PROCESS_VARIABLES"); hideRow("PRO_VAR_ASSIGN"); } else { document.getElementById("form[DYN_TYPE]").value = "xmlform"; hideRow("DYN_TYPE"); } */ } var cbocopyDynaformUid = getField("COPY_DYNAFORM_UID") var txtcopyDynTitle = getField("COPY_DYNAFORM_TITLE"); leimnud.event.add( getField("COPY_PROCESS_UID"), "change", function () { txtcopyDynTitle.value = ""; } ); leimnud.event.add( getField("COPY_TYPE"), "change", function () { txtcopyDynTitle.value = ""; } ); leimnud.event.add( cbocopyDynaformUid, "change", function () { txtcopyDynTitle.value = ""; if (cbocopyDynaformUid.value != "") { txtcopyDynTitle.value = cbocopyDynaformUid.options[cbocopyDynaformUid.selectedIndex].text; } } ); txtcopyDynTitle.form.onsubmit = function () { return false; }; getField("DYN_TITLE").form.onsubmit = function () { return false; }; checkDynaformSource(); leimnud.event.add(getField(\'DYN_TITLE\'), \'blur\', function() { String.prototype.trim = function() { return this.replace(/^\\s+|\\s+$/g, ""); }; document.getElementById(\'form[DYN_TITLE]\').value = document.getElementById(\'form[DYN_TITLE]\').value.trim(); }); leimnud.event.add(document.getElementById(\'form[ADD_TABLE]\'), \'change\', setPMTableDynaformTitle); function setPMTableDynaformTitle(){ if(document.getElementById(\'form[ADD_TABLE]\').value!=\'\'){ document.getElementById(\'form[DYN_TITLE]\').value = document.getElementById(\'form[ADD_TABLE]\')[document.getElementById(\'form[ADD_TABLE]\').selectedIndex].innerHTML; } } var oPanel; function assignVariables(){ //alert("test"); if(document.getElementById(\'form[ADD_TABLE]\').value!=\'\'){ table_uid = document.getElementById(\'form[ADD_TABLE]\').value; oPanel = new leimnud.module.panel(); oPanel.options = { limit : true, size : {w:450,h:350}, position : {x:0,y:0,center:true}, title : \'\', theme : \'processmaker\', statusBar: false, control : {drag:false,resize:true,close:true}, fx : {opacity:true,rolled:false,modal:true} }; oPanel.make(); oPanel.loader.show(); var PRO_UID = document.getElementById(\'form[PRO_UID]\').value; var DYN_UID = document.getElementById(\'form[DYN_UID]\').value; var ADD_TABLE = document.getElementById(\'form[ADD_TABLE]\').value; var DYN_TITLE = document.getElementById(\'form[DYN_TITLE]\').value; var DYN_TYPE = document.getElementById(\'form[DYN_TYPE]\').value; var ACTION = document.getElementById(\'form[ACTION]\').value; var DYN_DESCRIPTION = document.getElementById(\'form[DYN_DESCRIPTION]\').value; //alert("pepe2"); oRPC = new leimnud.module.rpc.xmlhttp({ url : \'../dynaforms/dynaforms_AssignVariables\', method : \'POST\', args : \'PRO_UID=\' + PRO_UID + \'&DYN_UID=\' + DYN_UID + \'&ADD_TABLE=\' + ADD_TABLE + \'&DYN_TITLE=\' + DYN_TITLE + \'&DYN_TYPE=\' + DYN_TYPE + \'&DYN_DESCRIPTION=\' + DYN_DESCRIPTION + \'&ACTION=\' + ACTION }); //alert("alert"); oRPC.callback = function(oRPC) { oPanel.loader.hide(); var scs = oRPC.xmlhttp.responseText.extractScript(); oPanel.addContent(oRPC.xmlhttp.responseText); scs.evalScript(); }.extend(this); oRPC.make(); lastPopupWindow.remove(); //popupWindow(\'Assign Variable\', \'?PRO_UID=@%PRO_UID&TABLE_UID=\'+table_uid , 500, 300); } } function cancel(){ lastPopupWindow.remove(); } ";s:10:"attributes";a:1:{s:4:"type";s:10:"javascript";}s:8:"children";a:0:{}}i:43;O:8:"Xml_Node":5:{s:4:"name";s:0:"";s:4:"type";s:5:"cdata";s:5:"value";s:2:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' ); $this->name='dynaforms_Edit'; $this->language='en'; $this->version='0.3'; $this->type='xmlform'; $this->sql=null; $this->sqlConnection=null; $this->height='100%'; $this->border=1; $this->mode=''; $this->labelWidth='40%'; $this->onsubmit=''; $this->requiredFields = unserialize( 'a:2:{i:0;a:5:{s:4:"name";s:9:"DYN_TITLE";s:4:"type";s:4:"text";s:5:"label";s:5:"Title";s:8:"validate";s:0:"";s:8:"required";s:1:"1";}i:1;a:5:{s:4:"name";s:19:"COPY_DYNAFORM_TITLE";s:4:"type";s:4:"text";s:5:"label";s:25:"Title of the new dynaform";s:8:"validate";s:0:"";s:8:"required";s:1:"1";}}' ); $this->fieldContentWidth=450; ?>