id='cHRlVjNLT2lxS0xaMjVqUzU2aVlzNlRnbk1xZW1xamdvQQ______'; $this->width='100%'; $this->title=''; $this->fields = unserialize( 'a:11:{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:4:"UIDS";O:13:"XmlForm_Field":34:{s:4:"name";s:4:"UIDS";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:7:"PROCESS";O:13:"XmlForm_Field":34:{s:4:"name";s:7:"PROCESS";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: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: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:"STEP_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:8:"STEP_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: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:5:"TITLE";O:19:"XmlForm_Field_Title":34:{s:4:"name";s:5:"TITLE";s:4:"type";s:5:"title";s:5:"label";s:18:"Available Triggers";s:7:"pmLabel";s:18:"Available Triggers";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:7:"TRI_UID";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";i:0;s:3:"sql";s:217:"SELECT TRI_UID, CON_VALUE FROM `TRIGGERS` LEFT JOIN CONTENT ON (TRI_UID = CON_ID AND CON_CATEGORY = \'TRI_TITLE\' AND CON_LANG = \'@#LANG\') WHERE TRI_UID NOT IN (@#UIDS) AND PRO_UID = \'@#PROCESS\' ORDER BY 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:7:"TRI_UID";s:4:"type";s:8:"dropdown";s:5:"label";s:8:"Triggers";s:7:"pmLabel";s:8:"Triggers";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:0:{}}s:7:"ST_TYPE";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:"ST_TYPE";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: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:12:"ST_CONDITION";O:24:"XmlForm_Field_TextareaPM":42:{s:4:"rows";s:1:"3";s:4:"cols";s:2:"32";s:8:"required";s:1:"0";s:8:"readOnly";b:0;s:4:"wrap";s:3:"OFF";s:8:"showVars";s:1:"1";s:7:"process";s:9:"@#PROCESS";s:6:"symbol";s:2:"@@";s:4:"name";s:12:"ST_CONDITION";s:4:"type";s:10:"textareapm";s:5:"label";s:9:"Condition";s:7:"pmLabel";s:9:"Condition";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:6:"ASSIGN";O:20:"XmlForm_Field_Button":34:{s:7:"onclick";s:25:"assignTrigger(this.form);";s:5:"align";s:6:"center";s:5:"style";N;s:4:"name";s:6:"ASSIGN";s:4:"type";s:6:"button";s:5:"label";s:6:"Assign";s:7:"pmLabel";s:6:"Assign";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:1872:" var _oVarsPanel_; var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) { _oVarsPanel_ = new leimnud.module.panel(); _oVarsPanel_.options = { limit : true, size : {w:600,h:420}, 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} }; _oVarsPanel_.make(); _oVarsPanel_.events = { remove:function() { delete _oVarsPanel_; }.extend(this) }; _oVarsPanel_.loader.show(); oRPC = new leimnud.module.rpc.xmlhttp({ url : sAjaxServer, method: \'POST\', args : \'sFieldName=\' + sFieldName + \'&sProcess=\' + sProcess + \'&sSymbol=\' + sSymbol }); oRPC.callback = function(oRPC) { _oVarsPanel_.loader.hide(); var scs = oRPC.xmlhttp.responseText.extractScript(); _oVarsPanel_.addContent(oRPC.xmlhttp.responseText); scs.evalScript(); }.extend(this); oRPC.make(); }; var insertFormVar = function(sFieldName, sValue) { oAux = document.getElementById(sFieldName); if (oAux.setSelectionRange) { var rangeStart = oAux.selectionStart; var rangeEnd = oAux.selectionEnd; var tempStr1 = oAux.value.substring(0,rangeStart); var tempStr2 = oAux.value.substring(rangeEnd); oAux.value = tempStr1 + sValue + tempStr2; } else { if (document.selection) { oAux.focus(); document.selection.createRange().text = sValue; } } _oVarsPanel_.remove(); }; function assignTrigger(oForm) { ajax_post(oForm.action, oForm, \'POST\'); var sStep = document.getElementById(\'form[STEP_UID]\').value; var sType = document.getElementById(\'form[ST_TYPE]\').value; currentPopupWindow.remove(); showTriggers(\'@#STEP_UID\', sType); } ";s:11:"replaceTags";s:1:"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=false; $this->ajaxSubmit=false; $this->callback='function(){}'; $this->in_progress='function(){}'; $this->template=null; $this->className='formDefault'; $this->objectRequiredFields='[{%27name%27:%27ST_CONDITION%27,%27type%27:%27textareapm%27,%27label%27:%27Condition%27,%27validate%27:%27%27,%27required%27:%270%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:2:" ";s:10:"attributes";a:3:{s:4:"name";s:15:"triggers_Assign";s:4:"type";s:7:"xmlform";s:5:"width";s:4:"100%";}s:8:"children";a:22:{i:0;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: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:4:"UIDS";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: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:7:"PROCESS";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: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:6:"action";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}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:8:"STEP_UID";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}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: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:18:"Available Triggers";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:7:"TRI_UID";s:4:"type";s:4:"open";s:5:"value";s:219:" SELECT TRI_UID, CON_VALUE FROM `TRIGGERS` LEFT JOIN CONTENT ON (TRI_UID = CON_ID AND CON_CATEGORY = \'TRI_TITLE\' AND CON_LANG = \'@#LANG\') WHERE TRI_UID NOT IN (@#UIDS) AND PRO_UID = \'@#PROCESS\' ORDER BY CON_VALUE ASC ";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:8:"complete";s:5:"value";s:8:"Triggers";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:7:"ST_TYPE";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:1:{s:4:"type";s:6:"hidden";}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:12:"ST_CONDITION";s:4:"type";s:4:"open";s:5:"value";s:1:" ";s:10:"attributes";a:6:{s:4:"type";s:10:"textareapm";s:8:"required";s:1:"0";s:4:"cols";s:2:"32";s:4:"rows";s:1:"3";s:8:"showVars";s:1:"1";s:7:"process";s:9:"@#PROCESS";}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:9:"Condition";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:6:"ASSIGN";s:4:"type";s:4:"open";s:5:"value";s:1:" ";s:10:"attributes";a:2:{s:4:"type";s:6:"button";s:7:"onclick";s:25:"assignTrigger(this.form);";}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:"Assign";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:2:"JS";s:4:"type";s:8:"complete";s:5:"value";s:1872:" var _oVarsPanel_; var showDynaformsFormVars = function(sFieldName, sAjaxServer, sProcess, sSymbol) { _oVarsPanel_ = new leimnud.module.panel(); _oVarsPanel_.options = { limit : true, size : {w:600,h:420}, 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} }; _oVarsPanel_.make(); _oVarsPanel_.events = { remove:function() { delete _oVarsPanel_; }.extend(this) }; _oVarsPanel_.loader.show(); oRPC = new leimnud.module.rpc.xmlhttp({ url : sAjaxServer, method: \'POST\', args : \'sFieldName=\' + sFieldName + \'&sProcess=\' + sProcess + \'&sSymbol=\' + sSymbol }); oRPC.callback = function(oRPC) { _oVarsPanel_.loader.hide(); var scs = oRPC.xmlhttp.responseText.extractScript(); _oVarsPanel_.addContent(oRPC.xmlhttp.responseText); scs.evalScript(); }.extend(this); oRPC.make(); }; var insertFormVar = function(sFieldName, sValue) { oAux = document.getElementById(sFieldName); if (oAux.setSelectionRange) { var rangeStart = oAux.selectionStart; var rangeEnd = oAux.selectionEnd; var tempStr1 = oAux.value.substring(0,rangeStart); var tempStr2 = oAux.value.substring(rangeEnd); oAux.value = tempStr1 + sValue + tempStr2; } else { if (document.selection) { oAux.focus(); document.selection.createRange().text = sValue; } } _oVarsPanel_.remove(); }; function assignTrigger(oForm) { ajax_post(oForm.action, oForm, \'POST\'); var sStep = document.getElementById(\'form[STEP_UID]\').value; var sType = document.getElementById(\'form[ST_TYPE]\').value; currentPopupWindow.remove(); showTriggers(\'@#STEP_UID\', sType); } ";s:10:"attributes";a:2:{s:4:"type";s:10:"javascript";s:11:"replaceTags";s:1:"1";}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:{}}}}' ); $this->name='triggers_Assign'; $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:1:{i:0;a:5:{s:4:"name";s:12:"ST_CONDITION";s:4:"type";s:10:"textareapm";s:5:"label";s:9:"Condition";s:8:"validate";s:0:"";s:8:"required";s:1:"0";}}' ); $this->fieldContentWidth=450; ?>