Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../maian
File: install.js
//////////////////////////////////////////////////////////////
[0] Fix | Delete
// install.js
[1] Fix | Delete
// Checks the installation form of the software being
[2] Fix | Delete
// installed by SOFTACULOUS
[3] Fix | Delete
// NOTE: 1) Only formcheck() function will be called.
[4] Fix | Delete
// 2) A software Vendor can use the same name for every
[5] Fix | Delete
// field to be checked as in install.xml . It can be
[6] Fix | Delete
// called using $('fieldname').value or any property
[7] Fix | Delete
// 3) Must Return true or false
[8] Fix | Delete
// ----------------------------------------------------------
[9] Fix | Delete
// Please Read the Terms of use at http://www.softaculous.com
[10] Fix | Delete
// ----------------------------------------------------------
[11] Fix | Delete
// (c)Softaculous Inc.
[12] Fix | Delete
//////////////////////////////////////////////////////////////
[13] Fix | Delete
[14] Fix | Delete
function formcheck(){
[15] Fix | Delete
[16] Fix | Delete
//Check the Admin Email
[17] Fix | Delete
if(window.check_punycode){
[18] Fix | Delete
if(!check_punycode($('admin_email').value)){
[19] Fix | Delete
alert('{{err_ademail}}');
[20] Fix | Delete
return false;
[21] Fix | Delete
}
[22] Fix | Delete
return true;
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
return true;
[26] Fix | Delete
};
[27] Fix | Delete
[28] Fix | Delete
jQuery(document).ready(function(){
[29] Fix | Delete
[30] Fix | Delete
var domain = jQuery("#softdomain").val();
[31] Fix | Delete
jQuery("#smtp").val("smtp."+domain);
[32] Fix | Delete
[33] Fix | Delete
jQuery("#softdomain").change(function(){
[34] Fix | Delete
var domain = jQuery(this).val();
[35] Fix | Delete
jQuery("#smtp").val("smtp."+domain);
[36] Fix | Delete
});
[37] Fix | Delete
[38] Fix | Delete
//alert("smtp."+domain);
[39] Fix | Delete
[40] Fix | Delete
[41] Fix | Delete
});
[42] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function