type='xmlmenu';
$this->parentFormId=null;
$this->id='bDl5ZXpaYmlwcDNqbzVYbTQ1YWY0YVBhcHNKwrAzS1RjbzU3am9xbmE0UQ______';
$this->width=600;
$this->title='';
$this->fields = unserialize( 'a:12:{s:7:"MNU_ADD";O:18:"XmlForm_Field_Link":37:{s:4:"link";s:1:"#";s:5:"value";s:0:"";s:6:"target";s:0:"";s:5:"style";s:0:"";s:12:"colClassName";s:7:"RowLink";s:4:"name";s:7:"MNU_ADD";s:4:"type";s:4:"link";s:5:"label";s:3:"New";s:7:"pmLabel";s:3:"New";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";s:3:"100";s:8:"colAlign";s:4:"left";s:10:"titleAlign";s:0:"";s:5:"align";s:0:"";s:11:"showInTable";s:0:"";s:7:"onclick";s:28:"dynaformAdd(); return false;";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:"PAGED_TABLE_ID";O:13:"XmlForm_Field":34:{s:4:"name";s:14:"PAGED_TABLE_ID";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:23:"PAGED_TABLE_FAST_SEARCH";O:24:"XmlForm_Field_FastSearch":50:{s:10:"onkeypress";s:101:"if (event.keyCode===13)@#PAGED_TABLE_ID.doFastSearch(this.value);if (event.keyCode===13)return false;";s:8:"colAlign";s:5:"right";s:8:"colWidth";s:3:"180";s:5:"label";s:30:"@G::LoadTranslation(ID_SEARCH)";s:4:"size";i:15;s:9:"maxLength";i:64;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:4:"name";s:23:"PAGED_TABLE_FAST_SEARCH";s:4:"type";s:10:"fastsearch";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: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: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:7:"PRO_UID";O:13:"XmlForm_Field":34:{s:4:"name";s:7:"PRO_UID";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:13:"dynaformsEdit";O:13:"XmlForm_Field":34:{s:4:"name";s:13:"dynaformsEdit";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_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: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:18:"dynaformsChoseType";O:13:"XmlForm_Field":34:{s:4:"name";s:18:"dynaformsChoseType";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:32:"../dynaforms/dynaforms_ChoseType";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:18:"dynaformsNewPlugin";O:13:"XmlForm_Field":34:{s:4:"name";s:18:"dynaformsNewPlugin";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:32:"../dynaforms/dynaforms_NewPlugin";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:15:"dynaformsEditor";O:13:"XmlForm_Field":34:{s:4:"name";s:15:"dynaformsEditor";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:29:"../dynaforms/dynaforms_Editor";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:19:"dynaformsFlatEditor";O:13:"XmlForm_Field":34:{s:4:"name";s:19:"dynaformsFlatEditor";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:33:"../dynaforms/dynaforms_FlatEditor";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:15:"dynaformsDelete";O:13:"XmlForm_Field":34:{s:4:"name";s:15:"dynaformsDelete";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:29:"../dynaforms/dynaforms_Delete";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:2:"js";O:24:"XmlForm_Field_JavaScript":35:{s:4:"code";s:4866:"
function dynaformAdd(){
popupWindow("@G::LoadTranslation(ID_NEW_DYNAFORM)", "@G::encryptlink(@#dynaformsChoseType)?PRO_UID=@%PRO_UID" , 500, 225);
//popupWindow(\'@G::LoadTranslation(ID_NEW_DYNAFORM)\', \'@G::encryptlink(@#dynaformsNewPlugin)?PRO_UID=@%PRO_UID\' , 500, 350);
}
function dynaformPluginAdd(){
popupWindow(\'@G::LoadTranslation(ID_NEW_DYNAFORM)\', \'@G::encryptlink(@#dynaformsEdit)?PRO_UID=@%PRO_UID\' , 500, 350);
}
function dynaformProperties( uid ){
popupWindow(\'@G::LoadTranslation(ID_EDIT_DYNAFORM)\', \'@G::encryptlink(@#dynaformsEdit)?DYN_UID=\'+ uid , 500, 400);
}
function dynaformEdit( uid ){
window.location.href = "@G::encryptlink(@#dynaformsEditor)?PRO_UID=@%PRO_UID&DYN_UID="+uid;
}
function dynaformFlatEdit( uid ){
var rr1;
var divEditor=document.getElementById(\'DynaformsEditorDiv\');
if (!divEditor) divEditor=createDivEditor(\'DynaformsEditorDiv\');
divEditor.innerHTML=ajax_function("@G::encryptlink(@#dynaformsFlatEditor)","","DYN_UID="+uid+"&PRO_UID="+"@#PRO_UID");
var myScripts = divEditor.getElementsByTagName(\'SCRIPT\');
var code=[];
for(rr1=0; rr1" : "") + "@G::LoadTranslation(ID_DYNAFORM_COPY_REQUIRED)";
swv = 0;
}
break;
default:
//normal
//pmtable
nameDynaForm = getField("DYN_TITLE").value;
break;
}
if (nameDynaForm == "") {
msgv = msgv + ((msgv != "")? "
" : "") + "@G::LoadTranslation(ID_REQUIRED_NAME_DYNAFORM)";
swv = 0;
}
if (swv == 0) {
msgBox(msgv, "alert");
return false;
}
var reqName = ajax_function(form.action, "lookforNameDynaform", "NAMEDYNAFORM=" + encodeURIComponent(nameDynaForm) + "&proUid=" + encodeURIComponent(getField("PRO_UID").value), "POST");
if (!reqName) {
msgBox("@G::LoadTranslation(ID_EXIST_DYNAFORM)", "alert");
} else {
if (!bOpen) {
ajax_post(form.action, form, "POST");
lastPopupWindow.remove();
@#PAGED_TABLE_ID.refresh();
} else {
ajax_post(form.action, form, "POST", openDynaform);
}
}
}
function dynaformSavePMBasedForm ( form, bOpen ) {
if (!bOpen) {
ajax_post( form.action, form, \'POST\' );
oPanel.remove();
@#PAGED_TABLE_ID.refresh();
//location.reload(true);
}
else {
ajax_post( form.action, form, \'POST\', openDynaform );
}
}
function openDynaform(sUID) {
dynaformEdit(sUID);
}
function dynaformDelete ( uid,proUid ){
isokDependent = ajax_function(\'@G::encryptlink(@#dynaformsDelete)\',\'getDynaformAssign\',\'DYN_UID=\'+uid+\'&PRO_UID=\'+proUid,\'POST\');
if(isokDependent){
msgBox(G_STRINGS.ID_DYNAFORM_ASSIGN,"alert");
return false;
}
result = ajax_function(\'@G::encryptlink(@#dynaformsDelete)\',\'getRelationInfDynaform\',\'DYN_UID=\'+uid,\'POST\');
labelToshow = (result)?\'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_IDOCUMENT)\':\'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_DYNAFORM)\';
new leimnud.module.app.confirm().make({
label:labelToshow,
action:function()
{
ajax_function(\'@G::encryptlink(@#dynaformsDelete)\',\'deleteDynaform\',\'DYN_UID=\'+uid,\'POST\');
@#PAGED_TABLE_ID.refresh();
}.extend(this)
});
}
function getStyle(oElm, strCssRule){
var strValue = "";
if(document.defaultView && document.defaultView.getComputedStyle){
strValue = document.defaultView.getComputedStyle(oElm, "").getPropertyValue(strCssRule);
}
else if(oElm.currentStyle){
strCssRule = strCssRule.replace(/-(w)/g, function (strMatch, p1){
return p1.toUpperCase();
});
strValue = oElm.currentStyle[strCssRule];
}
return strValue;
}
";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:"";}s:18:"SEARCH_FILTER_FORM";O:13:"XmlForm_Field":34:{s:4:"name";s:18:"SEARCH_FILTER_FORM";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:{}}}' );
$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:1:{s:4:"type";s:7:"xmlmenu";}s:8:"children";a:24:{i:0;O:8:"Xml_Node":5:{s:4:"name";s:7:"MNU_ADD";s:4:"type";s:4:"open";s:5:"value";s:3:"
";s:10:"attributes";a:6:{s:4:"type";s:4:"link";s:5:"value";s:0:"";s:4:"link";s:1:"#";s:7:"onclick";s:28:"dynaformAdd(); return false;";s:8:"colAlign";s:4:"left";s:8:"colWidth";s:3:"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:3:"New";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:14:"PAGED_TABLE_ID";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:1:"
";s:10:"attributes";a:0:{}s:8:"children";a:0:{}}i:4;O:8:"Xml_Node":5:{s:4:"name";s:23:"PAGED_TABLE_FAST_SEARCH";s:4:"type";s:8:"complete";s:5:"value";s:0:"";s:10:"attributes";a:2:{s:4:"type";s:10:"FastSearch";s:5:"label";s:30:"@G::LoadTranslation(ID_SEARCH)";}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:7:"PRO_UID";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:13:"dynaformsEdit";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_Edit";}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:18:"dynaformsChoseType";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:32:"../dynaforms/dynaforms_ChoseType";}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:18:"dynaformsNewPlugin";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:32:"../dynaforms/dynaforms_NewPlugin";}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:"dynaformsEditor";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:29:"../dynaforms/dynaforms_Editor";}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:19:"dynaformsFlatEditor";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:33:"../dynaforms/dynaforms_FlatEditor";}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:15:"dynaformsDelete";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:29:"../dynaforms/dynaforms_Delete";}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:4866:"
function dynaformAdd(){
popupWindow("@G::LoadTranslation(ID_NEW_DYNAFORM)", "@G::encryptlink(@#dynaformsChoseType)?PRO_UID=@%PRO_UID" , 500, 225);
//popupWindow(\'@G::LoadTranslation(ID_NEW_DYNAFORM)\', \'@G::encryptlink(@#dynaformsNewPlugin)?PRO_UID=@%PRO_UID\' , 500, 350);
}
function dynaformPluginAdd(){
popupWindow(\'@G::LoadTranslation(ID_NEW_DYNAFORM)\', \'@G::encryptlink(@#dynaformsEdit)?PRO_UID=@%PRO_UID\' , 500, 350);
}
function dynaformProperties( uid ){
popupWindow(\'@G::LoadTranslation(ID_EDIT_DYNAFORM)\', \'@G::encryptlink(@#dynaformsEdit)?DYN_UID=\'+ uid , 500, 400);
}
function dynaformEdit( uid ){
window.location.href = "@G::encryptlink(@#dynaformsEditor)?PRO_UID=@%PRO_UID&DYN_UID="+uid;
}
function dynaformFlatEdit( uid ){
var rr1;
var divEditor=document.getElementById(\'DynaformsEditorDiv\');
if (!divEditor) divEditor=createDivEditor(\'DynaformsEditorDiv\');
divEditor.innerHTML=ajax_function("@G::encryptlink(@#dynaformsFlatEditor)","","DYN_UID="+uid+"&PRO_UID="+"@#PRO_UID");
var myScripts = divEditor.getElementsByTagName(\'SCRIPT\');
var code=[];
for(rr1=0; rr1" : "") + "@G::LoadTranslation(ID_DYNAFORM_COPY_REQUIRED)";
swv = 0;
}
break;
default:
//normal
//pmtable
nameDynaForm = getField("DYN_TITLE").value;
break;
}
if (nameDynaForm == "") {
msgv = msgv + ((msgv != "")? "
" : "") + "@G::LoadTranslation(ID_REQUIRED_NAME_DYNAFORM)";
swv = 0;
}
if (swv == 0) {
msgBox(msgv, "alert");
return false;
}
var reqName = ajax_function(form.action, "lookforNameDynaform", "NAMEDYNAFORM=" + encodeURIComponent(nameDynaForm) + "&proUid=" + encodeURIComponent(getField("PRO_UID").value), "POST");
if (!reqName) {
msgBox("@G::LoadTranslation(ID_EXIST_DYNAFORM)", "alert");
} else {
if (!bOpen) {
ajax_post(form.action, form, "POST");
lastPopupWindow.remove();
@#PAGED_TABLE_ID.refresh();
} else {
ajax_post(form.action, form, "POST", openDynaform);
}
}
}
function dynaformSavePMBasedForm ( form, bOpen ) {
if (!bOpen) {
ajax_post( form.action, form, \'POST\' );
oPanel.remove();
@#PAGED_TABLE_ID.refresh();
//location.reload(true);
}
else {
ajax_post( form.action, form, \'POST\', openDynaform );
}
}
function openDynaform(sUID) {
dynaformEdit(sUID);
}
function dynaformDelete ( uid,proUid ){
isokDependent = ajax_function(\'@G::encryptlink(@#dynaformsDelete)\',\'getDynaformAssign\',\'DYN_UID=\'+uid+\'&PRO_UID=\'+proUid,\'POST\');
if(isokDependent){
msgBox(G_STRINGS.ID_DYNAFORM_ASSIGN,"alert");
return false;
}
result = ajax_function(\'@G::encryptlink(@#dynaformsDelete)\',\'getRelationInfDynaform\',\'DYN_UID=\'+uid,\'POST\');
labelToshow = (result)?\'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_IDOCUMENT)\':\'@G::LoadTranslation(ID_MSG_CONFIRM_DELETE_DYNAFORM)\';
new leimnud.module.app.confirm().make({
label:labelToshow,
action:function()
{
ajax_function(\'@G::encryptlink(@#dynaformsDelete)\',\'deleteDynaform\',\'DYN_UID=\'+uid,\'POST\');
@#PAGED_TABLE_ID.refresh();
}.extend(this)
});
}
function getStyle(oElm, strCssRule){
var strValue = "";
if(document.defaultView && document.defaultView.getComputedStyle){
strValue = document.defaultView.getComputedStyle(oElm, "").getPropertyValue(strCssRule);
}
else if(oElm.currentStyle){
strCssRule = strCssRule.replace(/-(w)/g, function (strMatch, p1){
return p1.toUpperCase();
});
strValue = oElm.currentStyle[strCssRule];
}
return strValue;
}
";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:{}}i:22;O:8:"Xml_Node":5:{s:4:"name";s:18:"SEARCH_FILTER_FORM";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:23;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='';
$this->language='en';
$this->version='0.3';
$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;
?>