Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../webmail
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
[29] Fix | Delete
jQuery(document).ready(function(){
[30] Fix | Delete
[31] Fix | Delete
var domain = jQuery("#softdomain").val();
[32] Fix | Delete
jQuery("#in_host_server").val("imap."+domain);
[33] Fix | Delete
jQuery("#out_host_server").val("smtp."+domain);
[34] Fix | Delete
[35] Fix | Delete
jQuery("#softdomain").change(function(){
[36] Fix | Delete
var domain = jQuery(this).val();
[37] Fix | Delete
jQuery("#in_host_server").val("imap."+domain);
[38] Fix | Delete
jQuery("#out_host_server").val("smtp."+domain);
[39] Fix | Delete
});
[40] Fix | Delete
[41] Fix | Delete
//alert("imap."+domain);
[42] Fix | Delete
[43] Fix | Delete
[44] Fix | Delete
});
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function