id='bDl5ZXpaYmlwcDNqbzVYbTQ1YWY0YVBhcHNKMTBKbm5vNktlN0o3Wg______'; $this->width='100%'; $this->title=''; $this->fields = unserialize( 'a:12:{s:7:"toolbar";O:21:"XmlForm_Field_ToolBar":37:{s:7:"xmlfile";s:27:"dynaforms/dynaforms_Toolbar";s:4:"type";s:7:"toolbar";s:7:"toolBar";N;s:4:"home";s:56:"D:/Apache2.2/htdocs/safexchange/workflow/engine/xmlform/";s:12:"withoutLabel";b:1;s:4:"name";s:7:"toolbar";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: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:3:"URL";O:13:"XmlForm_Field":34:{s:4:"name";s:3:"URL";s:4:"type";s:11:"phpvariable";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:7:"DYN_UID";O:13:"XmlForm_Field":34:{s:4:"name";s:7:"DYN_UID";s:4:"type";s:11:"phpvariable";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:7:"PRO_UID";O:13:"XmlForm_Field":34:{s:4:"name";s:7:"PRO_UID";s:4:"type";s:11:"phpvariable";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:10:"DYN_EDITOR";O:13:"XmlForm_Field":34:{s:4:"name";s:10:"DYN_EDITOR";s:4:"type";s:11:"phpvariable";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:13:"DYNAFORM_NAME";O:13:"XmlForm_Field":34:{s:4:"name";s:13:"DYNAFORM_NAME";s:4:"type";s:11:"phpvariable";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";s: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:5:"title";O:19:"XmlForm_Field_Title":34:{s:4:"name";s:5:"title";s:4:"type";s:5:"title";s:5:"label";s:188:"
Preview
";s:7:"pmLabel";s:188:"
Preview
";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:17:"dynaforms_Preview";O:13:"XmlForm_Field":34:{s:4:"name";s:17:"dynaforms_Preview";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";s:30:"../dynaforms/dynaforms_Preview";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:"dynaforms_Ajax";O:13:"XmlForm_Field":34:{s:4:"name";s:14:"dynaforms_Ajax";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";s:27:"../dynaforms/dynaforms_Ajax";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:10:"processMap";O:13:"XmlForm_Field":34:{s:4:"name";s:10:"processMap";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";s:26:"../processes/processes_Map";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:"processBpmnMap";O:13:"XmlForm_Field":34:{s:4:"name";s:14:"processBpmnMap";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";s:18:"../bpmn/processmap";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:6:"SCRIPT";O:24:"XmlForm_Field_JavaScript":35:{s:4:"code";s:7923:" function loadEditor() { if (!mainPanel.elements) { setTimeout("loadEditor();",100); return; } dynaformEditor.views["preview"]=document.getElementById("dynaformEditor[3]"); dynaformEditor.views["xmlcode"]=document.getElementById("dynaformEditor[4]"); dynaformEditor.views["htmlcode"]=document.getElementById("dynaformEditor[5]"); dynaformEditor.views["fieldslist"]=document.getElementById("dynaformEditor[6]"); dynaformEditor.views["javascripts"]=document.getElementById("dynaformEditor[7]"); dynaformEditor.views["properties"]=document.getElementById("dynaformEditor[8]"); if (typeof(dynaformEditor)!=="object") return alert("dynaformEditor.js was not loaded."); dynaformEditor.ajax=WebResource("@G::encryptLink(@#dynaforms_Ajax)"); dynaformEditor.A="@#URL"; dynaformEditor.dynUid="@#DYN_UID"; dynaformEditor._run(); mainPanel.events.remove = function() { var canClose=dynaformEditor.close(); var dynEditorType = "@#DYN_EDITOR"; if (canClose && dynEditorType == \'processmap\') { window.location.href="@G::encryptLink(@#processMap)?PRO_UID=@%PRO_UID"; return true; } else if(dynEditorType == \'bpmn\') { window.location.href="@G::encryptLink(@#processBpmnMap)?PRO_UID=@%PRO_UID"; } else { mainPanel.cancelClose=true; mainPanel.inRemove = false; return false; } } } /* var currentView=\'Preview\'; var todoRefreshPreview=true; var todoRefreshXmlCode=true; refreshPreview(); function closeDyna(){ if (!isModified()) { var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'closeDyna\',\'A=@#URL&DYN_UID=@#DYN_UID\'); if (res) alert(res); } else { if (confirm("@G::LoadTranslation(ID_DYNAFORM_EDITOR_SAVE_CHANGES)@#DYNAFORM_NAME?")){ saveDyna(); } else { var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'closeDyna\',\'A=@#URL&DYN_UID=@#DYN_UID\'); if (res) alert(res); } } } function saveDyna(){ try { saveCurrentView(); } catch (e) { alert(e); } var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'saveDyna\',\'A=@#URL&DYN_UID=@#DYN_UID\'); if (res) alert(res); else alert(\'Saved\'); } function isModified(){ var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'isModified\',\'A=@#URL&DYN_UID=@#DYN_UID\'); return eval(res); } function refreshCurrentView( callback, async ) { switch(currentView){ case \'Preview\': refreshPreview( callback, async ); break; case \'XmlCode\': refreshXmlCode(); if (callback) callback(); break; case \'HtmlCode\': refreshHtmlCode(); if (callback) callback(); break; case \'FieldsList\': refreshFieldsList(); if (callback) callback(); break; case \'Javascripts\': refreshJavascripts(); if (callback) callback(); break; case \'Properties\': refreshProperties(); if (callback) callback(); break; } } function saveCurrentView(){ switch(currentView){ case \'Preview\': break; case \'XmlCode\': saveXmlCode(); break; case \'HtmlCode\': saveHtmlCode(); break; case \'FieldsList\': saveFieldsList(); break; case \'Javascripts\': saveJavascripts(); break; case \'Properties\': saveProperties(); break; } } function resetTemplate(){ if (confirm(\'@G::LoadTranslation(ID_MSG_CONFIRM_RESET_TEMPLATE)\')) { ajax_function( \'@G::encryptLink(@#dynaforms_Ajax)\' , \'resetTemplate\',\'A=@#URL\' ); refreshCurrentView(); } } function changoToPreview(){ refreshPreview(); currentView = \'Preview\'; } function refreshPreview( callback, async ) { if (async){ //processbar.style.display = \'\'; ajax_message( \'@G::encryptLink(@#dynaforms_Preview)\' , \'\',\'A=@#URL\', \'POST\', function(result){ var editorPreview = document.getElementById(\'editorPreview\'); todoRefreshPreview = editorPreview === null; if (todoRefreshPreview) return; editorPreview.innerHTML = result; var myScripts = editorPreview.getElementsByTagName(\'SCRIPT\'); for(var rr=0; rrvalues = 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='[]'; $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:16:"dynaforms_Editor";s:4:"type";s:7:"xmlform";s:5:"width";s:4:"100%";s:14:"enableTemplate";s:1:"1";}s:8:"children";a:24:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:7:"toolbar";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:7:"toolbar";s:7:"xmlfile";s:27:"dynaforms/dynaforms_Toolbar";}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:3:"URL";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}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:"DYN_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}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:7:"PRO_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}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:10:"DYN_EDITOR";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:11:"phpvariable";}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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:10;O:8:"Xml_Node":5:{s:4:"name";s:13:"DYNAFORM_NAME";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:11:"phpvariable";s:12:"defaultValue";s: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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:12;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: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:188:"
Preview
";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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:14;O:8:"Xml_Node":5:{s:4:"name";s:17:"dynaforms_Preview";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:7:"private";s:12:"defaultValue";s:30:"../dynaforms/dynaforms_Preview";}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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:16;O:8:"Xml_Node":5:{s:4:"name";s:14:"dynaforms_Ajax";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:7:"private";s:12:"defaultValue";s:27:"../dynaforms/dynaforms_Ajax";}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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:18;O:8:"Xml_Node":5:{s:4:"name";s:10:"processMap";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:7:"private";s:12:"defaultValue";s:26:"../processes/processes_Map";}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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:20;O:8:"Xml_Node":5:{s:4:"name";s:14:"processBpmnMap";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:7:"private";s:12:"defaultValue";s:18:"../bpmn/processmap";}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:1:" ";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:22;O:8:"Xml_Node":5:{s:4:"name";s:6:"SCRIPT";s:4:"type";s:8:"complete";s:5:"value";s:7923:" function loadEditor() { if (!mainPanel.elements) { setTimeout("loadEditor();",100); return; } dynaformEditor.views["preview"]=document.getElementById("dynaformEditor[3]"); dynaformEditor.views["xmlcode"]=document.getElementById("dynaformEditor[4]"); dynaformEditor.views["htmlcode"]=document.getElementById("dynaformEditor[5]"); dynaformEditor.views["fieldslist"]=document.getElementById("dynaformEditor[6]"); dynaformEditor.views["javascripts"]=document.getElementById("dynaformEditor[7]"); dynaformEditor.views["properties"]=document.getElementById("dynaformEditor[8]"); if (typeof(dynaformEditor)!=="object") return alert("dynaformEditor.js was not loaded."); dynaformEditor.ajax=WebResource("@G::encryptLink(@#dynaforms_Ajax)"); dynaformEditor.A="@#URL"; dynaformEditor.dynUid="@#DYN_UID"; dynaformEditor._run(); mainPanel.events.remove = function() { var canClose=dynaformEditor.close(); var dynEditorType = "@#DYN_EDITOR"; if (canClose && dynEditorType == \'processmap\') { window.location.href="@G::encryptLink(@#processMap)?PRO_UID=@%PRO_UID"; return true; } else if(dynEditorType == \'bpmn\') { window.location.href="@G::encryptLink(@#processBpmnMap)?PRO_UID=@%PRO_UID"; } else { mainPanel.cancelClose=true; mainPanel.inRemove = false; return false; } } } /* var currentView=\'Preview\'; var todoRefreshPreview=true; var todoRefreshXmlCode=true; refreshPreview(); function closeDyna(){ if (!isModified()) { var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'closeDyna\',\'A=@#URL&DYN_UID=@#DYN_UID\'); if (res) alert(res); } else { if (confirm("@G::LoadTranslation(ID_DYNAFORM_EDITOR_SAVE_CHANGES)@#DYNAFORM_NAME?")){ saveDyna(); } else { var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'closeDyna\',\'A=@#URL&DYN_UID=@#DYN_UID\'); if (res) alert(res); } } } function saveDyna(){ try { saveCurrentView(); } catch (e) { alert(e); } var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'saveDyna\',\'A=@#URL&DYN_UID=@#DYN_UID\'); if (res) alert(res); else alert(\'Saved\'); } function isModified(){ var res=ajax_function(\'@G::encryptLink(@#dynaforms_Ajax)\', \'isModified\',\'A=@#URL&DYN_UID=@#DYN_UID\'); return eval(res); } function refreshCurrentView( callback, async ) { switch(currentView){ case \'Preview\': refreshPreview( callback, async ); break; case \'XmlCode\': refreshXmlCode(); if (callback) callback(); break; case \'HtmlCode\': refreshHtmlCode(); if (callback) callback(); break; case \'FieldsList\': refreshFieldsList(); if (callback) callback(); break; case \'Javascripts\': refreshJavascripts(); if (callback) callback(); break; case \'Properties\': refreshProperties(); if (callback) callback(); break; } } function saveCurrentView(){ switch(currentView){ case \'Preview\': break; case \'XmlCode\': saveXmlCode(); break; case \'HtmlCode\': saveHtmlCode(); break; case \'FieldsList\': saveFieldsList(); break; case \'Javascripts\': saveJavascripts(); break; case \'Properties\': saveProperties(); break; } } function resetTemplate(){ if (confirm(\'@G::LoadTranslation(ID_MSG_CONFIRM_RESET_TEMPLATE)\')) { ajax_function( \'@G::encryptLink(@#dynaforms_Ajax)\' , \'resetTemplate\',\'A=@#URL\' ); refreshCurrentView(); } } function changoToPreview(){ refreshPreview(); currentView = \'Preview\'; } function refreshPreview( callback, async ) { if (async){ //processbar.style.display = \'\'; ajax_message( \'@G::encryptLink(@#dynaforms_Preview)\' , \'\',\'A=@#URL\', \'POST\', function(result){ var editorPreview = document.getElementById(\'editorPreview\'); todoRefreshPreview = editorPreview === null; if (todoRefreshPreview) return; editorPreview.innerHTML = result; var myScripts = editorPreview.getElementsByTagName(\'SCRIPT\'); for(var rr=0; rrname='dynaforms_Editor'; $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:0:{}' ); $this->fieldContentWidth=450; ?>