id='bDl5ZXpaYmlwcDNqbzVYbTQ1YWY0YVBhcHNLQTNwwrBqbWFMazNaYmdvNjJtM2c___';
$this->width='450';
$this->title='';
$this->fields = unserialize( 'a:17:{s:20:"PME_PROPERTIES_TITLE";O:19:"XmlForm_Field_Title":34:{s:4:"name";s:20:"PME_PROPERTIES_TITLE";s:4:"type";s:5:"title";s:5:"label";s:10:"Properties";s:7:"pmLabel";s:10:"Properties";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: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: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:17:"DYN_TYPE_PREVIOUS";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:17:"DYN_TYPE_PREVIOUS";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:1:"A";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:1:"A";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:9:"DYN_TITLE";O:18:"XmlForm_Field_Text":50:{s:4:"size";s:2:"32";s:9:"maxLength";s:2:"32";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:12:"defaultValue";s:0:"";s:8:"required";b:0;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:8:"Dynaform";s:7:"pmLabel";s:8:"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: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:11:"Master Form";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:11:"Master Form";s:4:"grid";s:4:"Grid";}}s:15:"DYN_DESCRIPTION";O:22:"XmlForm_Field_Textarea":40:{s:4:"rows";s:2:"12";s:4:"cols";s:2:"32";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:"SUBTITLE";O:22:"XmlForm_Field_Subtitle":34:{s:4:"name";s:8:"SUBTITLE";s:4:"type";s:8:"subtitle";s:5:"label";s:6:"Others";s:7:"pmLabel";s:6:"Others";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";s:1:"1";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:"WIDTH";O:18:"XmlForm_Field_Text":50:{s:4:"size";s:2:"15";s:9:"maxLength";s:2:"10";s:8:"validate";s:3:"Any";s:4:"mask";s:0:"";s:12:"defaultValue";s:0:"";s:8:"required";b:0;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:5:"WIDTH";s:4:"type";s:4:"text";s:5:"label";s:5:"Width";s:7:"pmLabel";s:5:"Width";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:4:"MODE";O:22:"XmlForm_Field_Dropdown":44:{s:12:"defaultValue";s:4:"edit";s:8:"required";b:0;s:15:"dependentFields";s:0:"";s:8:"readonly";b:0;s:8:"optgroup";i:0;s:6:"option";a:3:{s:0:"";s:20:"Determined by Fields";s:4:"edit";s:8:"All Edit";s:4:"view";s:8:"All View";}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:4:"MODE";s:4:"type";s:8:"dropdown";s:5:"label";s:7:"Mode
";s:7:"pmLabel";s:7:"Mode
";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:3:{s:0:"";s:20:"Determined by Fields";s:4:"edit";s:8:"All Edit";s:4:"view";s:8:"All View";}}s:12:"NEXTSTEPSAVE";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:3:{s:0:"";s:18:"No save & Continue";s:4:"save";s:15:"Save & Continue";s:6:"prompt";s:11:"Show prompt";}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:12:"NEXTSTEPSAVE";s:4:"type";s:8:"dropdown";s:5:"label";s:17:"Next Step Link
";s:7:"pmLabel";s:17:"Next Step Link
";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:3:{s:0:"";s:18:"No save & Continue";s:4:"save";s:15:"Save & Continue";s:6:"prompt";s:11:"Show prompt";}}s:13:"PRINTDYNAFORM";O:22:"XmlForm_Field_Checkbox":39:{s:8:"required";b:0;s:5:"value";s:1:"1";s:10:"falseValue";s:1:"0";s:12:"labelOnRight";s:1:"0";s:8:"readOnly";b:0;s:4:"name";s:13:"PRINTDYNAFORM";s:4:"type";s:8:"checkbox";s:5:"label";s:26:"Show print dynaform button";s:7:"pmLabel";s:26:"Show print dynaform button";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:1:"0";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:16:"ADJUSTGRIDSWIDTH";O:22:"XmlForm_Field_Checkbox":39:{s:8:"required";b:0;s:5:"value";s:1:"1";s:10:"falseValue";s:1:"0";s:12:"labelOnRight";s:1:"0";s:8:"readOnly";b:0;s:4:"name";s:16:"ADJUSTGRIDSWIDTH";s:4:"type";s:8:"checkbox";s:5:"label";s:51:"Adjust the grid width to the width of the main form";s:7:"pmLabel";s:51:"Adjust the grid width to the width of the main form";s:5:"owner";N;s:8:"language";s:2:"en";s:5:"group";i:0;s:4:"mode";s:4:"edit";s:12:"defaultValue";s:1:"0";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:14:"PME_PROP_APPLY";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:32:"dynaformEditor.saveProperties();";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:14:"PME_PROP_APPLY";s:4:"type";s:6:"button";s:5:"label";s:5:"Apply";s:7:"pmLabel";s:5:"Apply";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:"PME_PROP_REVERT";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:35:"dynaformEditor.refreshProperties();";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:15:"PME_PROP_REVERT";s:4:"type";s:6:"button";s:5:"label";s:6:"Revert";s:7:"pmLabel";s:6:"Revert";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:6:"sdfsdf";O:24:"XmlForm_Field_JavaScript":35:{s:4:"code";s:4974:"
// added by gustavo cruz gustavo-at-colosa.com
// function getElementsByClassNameCrossBrowser
// CrossBrowser implemetation of the getElementsByClassName firefox function
// @param searchClass class wanted
// @param node element or node
// @param tag tag of the class
if(document.getElementById("form[DYN_TYPE]").value=="grid"){
hideRowById(\'WIDTH\');
hideRowById(\'NEXTSTEPSAVE\');
hideRowById(\'PRINTDYNAFORM\');
hideRowById(\'ADJUSTGRIDSWIDTH\');
}
function changeFormType(checkSessionPersists) {
checkSessionPersists = typeof(checkSessionPersists) != \'undefined\' ? checkSessionPersists : true;
if (checkSessionPersists) {
if (!sessionPersits()) {
showPrompt(\'changeFormType\');
return;
}
}
var proUid = document.getElementById("form[PRO_UID]").value;
var dynUid = document.getElementById("form[DYN_UID]").value;
if(document.getElementById("form[DYN_TYPE]").value=="grid"){
validateGridConversion(proUid,dynUid);
} else {
changeToolbar("xmlform");
showRowById(\'WIDTH\');
showRowById(\'NEXTSTEPSAVE\');
showRowById(\'PRINTDYNAFORM\');
showRowById(\'ADJUSTGRIDSWIDTH\');
}
}
function getElementsByClassNameCrossBrowser(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = \'*\';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp("(^|\\\\s)"+searchClass+"(\\\\s|$)");
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
// adding an event change to the dynaform type dropdown
// this evaluates whenever a change is made and if its posible to convert
// a dynaform grid into a normal dynaform and vice versa.
leimnud.event.add(getField(\'DYN_TYPE\'), \'change\', changeFormType);
// function validateGridConversion
// @param proUid process id
// @param dynUid dynaform id
// @return isTrue true or false response
// @desc this function evaluates if the conversion is valid if there are
// some fields that can not be converted between dynaforms types
//
function validateGridConversion(proUid,dynUid){
var isTrue;
oRPC = new leimnud.module.rpc.xmlhttp({
url : "../dynaforms/fieldsGetterAjax",
method: \'POST\',
async : true,
args : \'FILENAME=\' + proUid + \'/\' + dynUid
});
oRPC.callback = function(oRPC) {
var response = oRPC.xmlhttp.responseText;
if (response=="ok"){
changeToolbar("grid");
hideRowById(\'WIDTH\');
hideRowById(\'NEXTSTEPSAVE\');
hideRowById(\'PRINTDYNAFORM\');
hideRowById(\'ADJUSTGRIDSWIDTH\');
} else {
setDropdownSelection("form[DYN_TYPE]" , "xmlform");
msgBox("Grid forms can not contain the following fields:
" + response,"alert");
return false;
}
}.extend(this);
isTrue = oRPC.make();
return isTrue;
};
// function setDropdownSelection made a selection in a dropdown element
function setDropdownSelection(id, value){
document.getElementById(id).value = value;
};
// function changeToolbar
// @param type
// @desc this function change by Ajax, the toolbar located in the superior part
// of the dynaform editor
function changeToolbar(type){
var proUid = document.getElementById("form[PRO_UID]").value;
var dynUid = document.getElementById("form[DYN_UID]").value;
var file = proUid + "/" + dynUid;
var dynTitle = "New Dynaform";
oRPC = new leimnud.module.rpc.xmlhttp({
url : "../dynaforms/dynaforms_ToolbarAjax",
method: \'POST\',
async : true,
args : \'TOOLBAR=\' + type + \'&FILE=\' + file + \'&PRO_UID=\' + proUid + \'&DYN_UID=\' + dynUid + \'&DYN_TITLE=\' + dynTitle
});
oRPC.callback = function(oRPC) {
getElementsByClassNameCrossBrowser("panel_headerBar___processmaker",document,"div")[0].innerHTML = oRPC.xmlhttp.responseText;
document.getElementById("publisherContent[0]").style.display = "inline";
document.getElementById("publisherContent[0]").style.position = "absolute";
document.getElementById("publisherContent[0]").style.top = "0";
document.getElementById("publisherContent[0]").style.left = "0";
}.extend(this);
oRPC.make();
};
// end added code
function orderButtons() {
var propertiesDiv = document.getElementById(\'dynaformEditor[8]\');
var a=getField(\'PME_PROP_REVERT\',\'dynaforms_Properties\');
var b=getField(\'PME_PROP_APPLY\',\'dynaforms_Properties\');
a.parentNode.insertBefore(b,a);
propertiesDiv.style.visibility=\'\';
}
orderButtons();
/*getField("ENABLETEMPLATE","dynaforms_Properties").onclick=function()
{
var oAux;
if (oAux = getField("PME_HTML_ENABLETEMPLATE","dynaforms_HtmlEditor")) {
oAux.checked=this.checked;
}
}*/
";s:11:"replaceTags";b:1;s:4:"name";s:6:"sdfsdf";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=false;
$this->ajaxSubmit=false;
$this->callback='function(){}';
$this->in_progress='function(){}';
$this->template=null;
$this->className='formDefault';
$this->objectRequiredFields='[]';
$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:2:"
";s:10:"attributes";a:4:{s:4:"name";s:20:"dynaforms_Properties";s:4:"type";s:7:"xmlform";s:5:"width";s:3:"450";s:6:"height";s:4:"auto";}s:8:"children";a:34:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:20:"PME_PROPERTIES_TITLE";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:1:{s:4:"type";s:5:"title";}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:10:"Properties";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:1;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:2;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: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:17:"DYN_TYPE_PREVIOUS";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:7;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:8;O:8:"Xml_Node":5:{s:4:"name";s:1:"A";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: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:"DYN_TITLE";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:3:{s:4:"type";s:4:"text";s:9:"maxlength";s:2:"32";s:4:"size";s:2:"32";}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:8:"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: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: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:11:"Master Form";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: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: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:"32";s:4:"rows";s:2:"12";}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: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:8:"SUBTITLE";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:2:{s:4:"type";s:8:"subtitle";s:10:"enableHTML";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:6:"Others";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:5:"WIDTH";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:3:{s:4:"type";s:4:"text";s:9:"maxlength";s:2:"10";s:4:"size";s:2:"15";}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:"Width";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:4:"MODE";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:4:{s:4:"type";s:8:"dropdown";s:8:"colWidth";s:2:"80";s:5:"align";s:6:"center";s:12:"defaultvalue";s:4:"edit";}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:"Mode
";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:20:"Determined by Fields";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: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:8:"All Edit";s:10:"attributes";a:1:{s:4:"name";s:4:"edit";}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:4;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:8:"All View";s:10:"attributes";a:1:{s:4:"name";s:4:"view";}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: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: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:12:"NEXTSTEPSAVE";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:17:"Next Step Link
";s:10:"attributes";a:0:{}s:8:"children";a:6:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:18:"No save & Continue";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: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:15:"Save & Continue";s:10:"attributes";a:1:{s:4:"name";s:4:"save";}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:4;O:8:"Xml_Node":5:{s:4:"name";s:6:"option";s:4:"type";s:8:"complete";s:5:"value";s:11:"Show prompt";s:10:"attributes";a:1:{s:4:"name";s:6:"prompt";}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: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:23;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:24;O:8:"Xml_Node":5:{s:4:"name";s:13:"PRINTDYNAFORM";s:4:"type";s:4:"open";s:5:"value";s:1:"
";s:10:"attributes";a:5:{s:4:"type";s:8:"checkbox";s:10:"falseValue";s:1:"0";s:5:"value";s:1:"1";s:12:"defaultvalue";s:1:"0";s:12:"labelOnRight";s:1:"0";}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:26:"Show print dynaform button";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:2:"
";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:26;O:8:"Xml_Node":5:{s:4:"name";s:16:"ADJUSTGRIDSWIDTH";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:5:{s:4:"type";s:8:"checkbox";s:10:"falseValue";s:1:"0";s:5:"value";s:1:"1";s:12:"defaultvalue";s:1:"0";s:12:"labelOnRight";s:1:"0";}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:51:"Adjust the grid width to the width of the main form";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:3:"
";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:28;O:8:"Xml_Node":5:{s:4:"name";s:14:"PME_PROP_APPLY";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:"dynaformEditor.saveProperties();";}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:"Apply";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:1:"
";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:30;O:8:"Xml_Node":5:{s:4:"name";s:15:"PME_PROP_REVERT";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:35:"dynaformEditor.refreshProperties();";}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:"Revert";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:1:"
";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:32;O:8:"Xml_Node":5:{s:4:"name";s:6:"sdfsdf";s:4:"type";s:8:"complete";s:5:"value";s:4974:"
// added by gustavo cruz gustavo-at-colosa.com
// function getElementsByClassNameCrossBrowser
// CrossBrowser implemetation of the getElementsByClassName firefox function
// @param searchClass class wanted
// @param node element or node
// @param tag tag of the class
if(document.getElementById("form[DYN_TYPE]").value=="grid"){
hideRowById(\'WIDTH\');
hideRowById(\'NEXTSTEPSAVE\');
hideRowById(\'PRINTDYNAFORM\');
hideRowById(\'ADJUSTGRIDSWIDTH\');
}
function changeFormType(checkSessionPersists) {
checkSessionPersists = typeof(checkSessionPersists) != \'undefined\' ? checkSessionPersists : true;
if (checkSessionPersists) {
if (!sessionPersits()) {
showPrompt(\'changeFormType\');
return;
}
}
var proUid = document.getElementById("form[PRO_UID]").value;
var dynUid = document.getElementById("form[DYN_UID]").value;
if(document.getElementById("form[DYN_TYPE]").value=="grid"){
validateGridConversion(proUid,dynUid);
} else {
changeToolbar("xmlform");
showRowById(\'WIDTH\');
showRowById(\'NEXTSTEPSAVE\');
showRowById(\'PRINTDYNAFORM\');
showRowById(\'ADJUSTGRIDSWIDTH\');
}
}
function getElementsByClassNameCrossBrowser(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = \'*\';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp("(^|\\\\s)"+searchClass+"(\\\\s|$)");
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
// adding an event change to the dynaform type dropdown
// this evaluates whenever a change is made and if its posible to convert
// a dynaform grid into a normal dynaform and vice versa.
leimnud.event.add(getField(\'DYN_TYPE\'), \'change\', changeFormType);
// function validateGridConversion
// @param proUid process id
// @param dynUid dynaform id
// @return isTrue true or false response
// @desc this function evaluates if the conversion is valid if there are
// some fields that can not be converted between dynaforms types
//
function validateGridConversion(proUid,dynUid){
var isTrue;
oRPC = new leimnud.module.rpc.xmlhttp({
url : "../dynaforms/fieldsGetterAjax",
method: \'POST\',
async : true,
args : \'FILENAME=\' + proUid + \'/\' + dynUid
});
oRPC.callback = function(oRPC) {
var response = oRPC.xmlhttp.responseText;
if (response=="ok"){
changeToolbar("grid");
hideRowById(\'WIDTH\');
hideRowById(\'NEXTSTEPSAVE\');
hideRowById(\'PRINTDYNAFORM\');
hideRowById(\'ADJUSTGRIDSWIDTH\');
} else {
setDropdownSelection("form[DYN_TYPE]" , "xmlform");
msgBox("Grid forms can not contain the following fields:
" + response,"alert");
return false;
}
}.extend(this);
isTrue = oRPC.make();
return isTrue;
};
// function setDropdownSelection made a selection in a dropdown element
function setDropdownSelection(id, value){
document.getElementById(id).value = value;
};
// function changeToolbar
// @param type
// @desc this function change by Ajax, the toolbar located in the superior part
// of the dynaform editor
function changeToolbar(type){
var proUid = document.getElementById("form[PRO_UID]").value;
var dynUid = document.getElementById("form[DYN_UID]").value;
var file = proUid + "/" + dynUid;
var dynTitle = "New Dynaform";
oRPC = new leimnud.module.rpc.xmlhttp({
url : "../dynaforms/dynaforms_ToolbarAjax",
method: \'POST\',
async : true,
args : \'TOOLBAR=\' + type + \'&FILE=\' + file + \'&PRO_UID=\' + proUid + \'&DYN_UID=\' + dynUid + \'&DYN_TITLE=\' + dynTitle
});
oRPC.callback = function(oRPC) {
getElementsByClassNameCrossBrowser("panel_headerBar___processmaker",document,"div")[0].innerHTML = oRPC.xmlhttp.responseText;
document.getElementById("publisherContent[0]").style.display = "inline";
document.getElementById("publisherContent[0]").style.position = "absolute";
document.getElementById("publisherContent[0]").style.top = "0";
document.getElementById("publisherContent[0]").style.left = "0";
}.extend(this);
oRPC.make();
};
// end added code
function orderButtons() {
var propertiesDiv = document.getElementById(\'dynaformEditor[8]\');
var a=getField(\'PME_PROP_REVERT\',\'dynaforms_Properties\');
var b=getField(\'PME_PROP_APPLY\',\'dynaforms_Properties\');
a.parentNode.insertBefore(b,a);
propertiesDiv.style.visibility=\'\';
}
orderButtons();
/*getField("ENABLETEMPLATE","dynaforms_Properties").onclick=function()
{
var oAux;
if (oAux = getField("PME_HTML_ENABLETEMPLATE","dynaforms_HtmlEditor")) {
oAux.checked=this.checked;
}
}*/
";s:10:"attributes";a:1:{s:4:"type";s:10:"javascript";}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:1:"
";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}}}' );
$this->name='dynaforms_Properties';
$this->language='en';
$this->version='0.3';
$this->type='xmlform';
$this->sql=null;
$this->sqlConnection=null;
$this->height='auto';
$this->border=1;
$this->mode='';
$this->labelWidth='40%';
$this->onsubmit='';
$this->requiredFields = unserialize( 'a:0:{}' );
$this->fieldContentWidth=450;
?>