id='bDl5ZXpaYmlwcDNqbzVYbTQ1YWY0YVBhcHNKNnYzWFhuYVRmNWzCsGw0cUU___'; $this->width='98%'; $this->title=''; $this->fields = unserialize( 'a:4:{s:8:"JS_TITLE";O:19:"XmlForm_Field_Title":34:{s:4:"name";s:8:"JS_TITLE";s:4:"type";s:5:"title";s:5:"label";s:27:"There is no javascript code";s:7:"pmLabel";s:27:"There is no javascript code";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:"0";s:5:"style";s:12:"display:none";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:6:"center";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:"JS_LIST";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:5:"XMLDB";s:3:"sql";s:91:"SELECT XMLNODE_NAME AS UID, XMLNODE_NAME AS NAME FROM dynaForm WHERE TYPE = "javascript" ";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:7:"JS_LIST";s:4:"type";s:8:"dropdown";s:5:"label";s:7:"Section";s:7:"pmLabel";s:7:"Section";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";s:1:"1";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:2:"JS";O:22:"XmlForm_Field_Textarea":40:{s:4:"rows";s:2:"25";s:4:"cols";s:2:"60";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:2:"JS";s:4:"type";s:8:"textarea";s:5:"label";s:4:"Code";s:7:"pmLabel";s:4:"Code";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:10:"width:100%";s:12:"withoutLabel";s:1:"1";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:5:"XMLDB";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:"PME_RESIZE_JS";O:24:"XmlForm_Field_JavaScript":35:{s:4:"code";s:684:" getField(\'JS_TITLE\').style.font ="9pt tahoma"; function resizeJSEditor(){ try{ getField(\'JS\',\'dynaforms_JSEditor\').style.height= document.getElementById(\'dynaformEditor[4]\').parentNode.clientHeight-32-32; }catch(e){ } } resizeJSEditor(); var JSCodePress=false; function startJSCodePress() { /* var code=getField("JS").value; getField("JS").className="codepress javascript linenumbers-on"; JSCodePress=new CodePress(getField("JS")); getField("JS").parentNode.insertBefore(JSCodePress,getField("JS")); JSCodePress.edit(code,\'javascript\'); */ getField("JS_LIST").onchange=function(){ dynaformEditor.changeJavascriptCode(); }; } ";s:11:"replaceTags";b:1;s:4:"name";s:13:"PME_RESIZE_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=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:3:" ";s:10:"attributes";a:4:{s:4:"name";s:18:"dynaforms_JSEditor";s:4:"type";s:7:"xmlform";s:5:"width";s:3:"98%";s:6:"border";s:1:"0";}s:8:"children";a:8:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:8:"JS_TITLE";s:4:"type";s:4:"open";s:5:"value";s:1:" ";s:10:"attributes";a:4:{s:4:"type";s:5:"title";s:10:"enablehtml";s:1:"0";s:5:"align";s:6:"center";s:5:"style";s:12:"display:none";}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:27:"There is no javascript code";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:"JS_LIST";s:4:"type";s:4:"open";s:5:"value";s:92:" SELECT XMLNODE_NAME AS UID, XMLNODE_NAME AS NAME FROM dynaForm WHERE TYPE = "javascript" ";s:10:"attributes";a:3:{s:12:"withoutLabel";s:1:"1";s:4:"type";s:8:"dropdown";s:13:"sqlconnection";s:5:"XMLDB";}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:7:"Section";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:3;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:4;O:8:"Xml_Node":5:{s:4:"name";s:2:"JS";s:4:"type";s:4:"open";s:5:"value";s:3:" ";s:10:"attributes";a:6:{s:12:"withoutLabel";s:1:"1";s:4:"type";s:8:"textarea";s:4:"rows";s:2:"25";s:4:"cols";s:2:"60";s:13:"sqlconnection";s:5:"XMLDB";s:5:"style";s:10:"width:100%";}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:"Code";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:5;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:6;O:8:"Xml_Node":5:{s:4:"name";s:13:"PME_RESIZE_JS";s:4:"type";s:8:"complete";s:5:"value";s:684:" getField(\'JS_TITLE\').style.font ="9pt tahoma"; function resizeJSEditor(){ try{ getField(\'JS\',\'dynaforms_JSEditor\').style.height= document.getElementById(\'dynaformEditor[4]\').parentNode.clientHeight-32-32; }catch(e){ } } resizeJSEditor(); var JSCodePress=false; function startJSCodePress() { /* var code=getField("JS").value; getField("JS").className="codepress javascript linenumbers-on"; JSCodePress=new CodePress(getField("JS")); getField("JS").parentNode.insertBefore(JSCodePress,getField("JS")); JSCodePress.edit(code,\'javascript\'); */ getField("JS_LIST").onchange=function(){ dynaformEditor.changeJavascriptCode(); }; } ";s:10:"attributes";a:1:{s:4:"type";s:10:"javascript";}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:{}}}}' ); $this->name='dynaforms_JSEditor'; $this->language='en'; $this->version='0.3'; $this->type='xmlform'; $this->sql=null; $this->sqlConnection=null; $this->height='100%'; $this->border='0'; $this->mode=''; $this->labelWidth='40%'; $this->onsubmit=''; $this->requiredFields = unserialize( 'a:0:{}' ); $this->fieldContentWidth=450; ?>