| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Old Sites/moke/administrator/components/com_proforms/js/ |
Upload File : |
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// @license: Mad4Media Javascipt License - copyright Mad4Media - Fahrettin Kutyol - All rights reserved ++
// (re-) publishing or forking for any purpose of commercial or non-commercial use is not allowed. ++
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
var eAreas=new Array();function addEditArea(_1){eAreas.push(_1);};function m4j_submit(_2){var _3=eAreas.length;if(_3!=0){for(t=0;t<_3;t++){eAL.toggle(eAreas[t]);}}document.m4jForm.task.value=_2;var _4=true;var _5=document.m4jForm.getAttribute("onsubmit");if(_5){eval("document.m4jForm.onsubmit = function(e){"+_5+"};");_4=(document.m4jForm.onsubmit()===false)?false:true;}if(_4){document.m4jForm.submit();}};function m4j_element_submit(_6){var _7=dojo.byId("m4jExtraHTMLElement");if(_7){return m4j_submit(_6);}var _8=dojo.byId("question").value;var _9=dojo.byId("alias").value;if(!_8&&!_9){alert(mText.errorelement1);return false;}var _a=0;var _b=["/","\\","?","&","[","]","(",")","*","+","'","\""];var dl=_b.length;for(var t=0;t<dl;t++){if(_9.indexOf(_b[t])!==-1){_a=1;break;}}if((_9&&_9.length==1)||_a){alert(mText.errorelement2);return false;}return m4j_submit(_6);};function m4jConfirm(_c,_d){if(confirm(_c)){if(_d!=undefined){m4j_submit(_d);}else{return true;}}else{return false;}};function rowOut(_e,_f){dojo.removeClass(_e,"highlight");};function rowOver(_10){dojo.addClass(_10,"highlight");};function jump(_11,url){url=url+_11.value;window.location.href=url;};function trim(_12){return _12.replace(/^\s+/,"").replace(/\s+$/,"");};function append(id,_13){if(trim(document.getElementById(id).value)!=""){_13=",\n"+_13;}document.getElementById(id).value=trim(document.getElementById(id).value)+_13;};function M4JTab(_14){this.tabs=_14;this.tabsLength=_14.length;};M4JTab.prototype={set:function(_15,_16,_17,no){for(t=0;t<this.tabsLength;t++){dojo.byId(this.tabs[t]).style.left="-9999em";}dojo.byId(_15).style.left="auto";var _18=dojo.byId(_16);dojo.removeClass(_18,"m4jActiveTab");_18.id="";dojo.addClass(_17,"m4jActiveTab");_17.id=_16;if(no!==undefined){_("tabField").value=no;}},getMaxHeight:function(){var max=-1;for(t=0;t<this.tabsLength;t++){var dim=_Dimensions(this.tabs[t]);max=(dim.height>max)?dim.height:max;}if(max==-1){return null;}else{return max;}}};function yesNoColor(_19){if(_19.value=="1"){_19.style.color="green";_19.style.fontWeight="bold";_19.value="1";}else{if(!_19.value){_19.style.color="red";_19.style.fontWeight="bold";_19.value="0";}}return true;};function userMailCheck(_1a){if(_1a.id=="usermail"){_1a.id="";_("usermailContainer").value="0";_1a.infoTip=mText.no;_("mInfoTipContent").innerHTML=mText.no;}else{_1a.setAttribute("id","usermail");_("usermailContainer").value="1";_1a.infoTip=mText.yes;_("mInfoTipContent").innerHTML=mText.yes;}};var slotHideTimer=undefined;function showSlotSelect(){if(slotHideTimer){clearTimeout(slotHideTimer);slotHideTimer=undefined;}dojo.byId("slotItems").style.marginLeft="auto";};function hideSlotSelect(){slotHideTimer=setTimeout(function(){dojo.byId("slotItems").style.marginLeft="-9999em";},100);};function setSlot(_1b,_1c){var img=_1b.getElementsByTagName("IMG");dojo.byId("slotImage").src=img[0].src;dojo.byId("slotField").value=_1c;dojo.byId("slotItems").style.marginLeft="-9999em";dojo.byId("slotOff").id="";_1b.id="slotOff";};function addSlotURI(e){var _1d=dojo.byId("activeSlot").getAttribute("slot");this.href+="&slot="+_1d;return true;};var isShowExport=false;function m4jExportDropDown(){if(isShowExport){m4jExportClose();isShowExport=false;return;}else{isShowExport=true;}var _1e=dojo.byId("m4jExportWrap");_fx.animateDim(_1e,500,undefined,undefined,undefined,0,66,"px",undefined);};function m4jExportClose(){var _1f=dojo.byId("m4jExportWrap");isShowExport=false;_fx.animateDim(_1f,500,undefined,undefined,undefined,66,0,"px",undefined);};var m4jSTID=0;var storageRowURL=undefined;function m4jStorageCallback(){};function m4jChangeTD(_20,eid,_21){if(dojo.byId("td_"+_20+"_"+eid)){_("td_"+_20+"_"+eid).innerHTML=_21;}};function dataStorageColProcess(_22,_23,_24,ip,_25){var _26=M4J_STORAGE_TD;var _27=64;var _28=dojo.byId("m4jRecordTable");var _29=_22?"table-cell":"none";_27+=_22?32:0;var e=dojo.query(".col_optin",_28);e.forEach(dojo.hitch(this,function(el){el.style.display=_29;}));_29=_23?"table-cell":"none";_27+=_23?80:0;var e=dojo.query(".col_date",_28);e.forEach(dojo.hitch(this,function(el){el.style.display=_29;}));_29=_24?"table-cell":"none";_27+=_24?80:0;e=dojo.query(".col_user",_28);e.forEach(dojo.hitch(this,function(el){el.style.display=_29;}));_29=ip?"table-cell":"none";_27+=ip?90:0;e=dojo.query(".col_ip",_28);e.forEach(dojo.hitch(this,function(el){el.style.display=_29;}));for(t=0;t<_25.length;t++){var col=_25[t];if(col.display=="table-cell"){_27+=_26;}var _2a=dojo.query(".col_"+col.eid,_28);_2a.forEach(dojo.hitch(this,function(_2b){_2b.style.display=col.display;}));_28.width=_27+"px";}};function getArticle(_2c,_2d){var _2e=_2d?"&is_root=1":"";mWindow.iFrame("index.php?option=com_proforms§ion=xhr&xhr=articles&tmpl=component&field="+_2c+_2e,{width:500,height:400});};function setArticle(_2f,_30){dojo.byId(_2f).value=_30;mWindow.close();return false;};function getStorageSearch(){return {search:dojo.byId("searchBox").value,searchIn:dojo.byId("searchIn").value,optInFilter:dojo.byId("optInFilter").value};};function toggleInstallApp(){if(this.show===undefined){this.show=0;this.node=dojo.byId("dropDownAppInstall");}if(!this.show){this.show=1;_fx.animToHeight(this.node,300,50,null);}else{this.show=0;_fx.animToHeight(this.node,300,0,null);}};function askUninstall(_31,_32){var _33=0;for(var i=0;i<document.m4jForm.aid.length;i++){if(document.m4jForm.aid[i].checked){_33=1;break;}}if(!_33){alert(_32);return false;}if(confirm(_31)){dojo.byId("m4jTask").value="uninstall";dojo.byId("m4jForm").submit();return false;}else{return false;}};function workareaExpand(_34){if(_34.data===undefined){_34.data={};_34.data.workarea=dojo.byId("m4jMain");_34.data.rootWrap=_34.data.workarea.parentNode.parentNode;_34.data.state=parseInt(_34.getAttribute("state"));_34.data.normalWidth=parseInt(_34.getAttribute("workarea"));}if(_34.data.state){_34.data.state=0;setCookie("workarea",_34.data.state);dojo.removeClass(_34,"shrink");console.log("IS STATE");_fx.animateDim(_34.data.workarea,400,undefined,_34.data.normalWidth,"px",undefined,undefined,undefined,null);}else{console.log("NOSTATE 1");_34.data.state=1;setCookie("workarea",_34.data.state);console.log("NOSTATE 2");dojo.addClass(_34,"shrink");console.log("NOSTATE 3");var b=dojo.coords(_34.data.rootWrap);console.log("NOSTATE 4");var w=b.w-20;setCookie("workareawidth",w);console.log("IS NO STATE");_fx.animateDim(_34.data.workarea,400,undefined,w,"px",undefined,undefined,undefined,null);}};function m4jOnce(n){if(n.processing===undefined){n.processing=1;n.url=dojo.attr(n,"href");dojo.removeAttr(n,"href");n.resetProcessing=dojo.hitch(this,function(){delete n.processing;dojo.attr(n,"href",n.url);delete n.url;});setTimeout(n.resetProcessing,2000);window.location=n.url;return true;}else{return false;}};function appsOverviewAnim(_35){if(this.node===undefined){this.node=dojo.byId("appsOverview");}if(_35){dojo.anim(this.node,{marginTop:0,lineHeight:23},100).play();}else{dojo.anim(this.node,{marginTop:5,lineHeight:18},100).play();}};