Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../var/softacul.../presta14
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 Folder
[17] Fix | Delete
if($('admin_folder').value == 'admin'){
[18] Fix | Delete
alert('{{err_admin_folder}}');
[19] Fix | Delete
return false;
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
//Check the Admin pass
[23] Fix | Delete
if($('admin_pass').value.length < 8){
[24] Fix | Delete
alert('{{err_pass}}');
[25] Fix | Delete
return false;
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
//Check the Admin Email
[29] Fix | Delete
if(window.check_punycode){
[30] Fix | Delete
if(!check_punycode($('admin_email').value)){
[31] Fix | Delete
alert('{{err_ademail}}');
[32] Fix | Delete
return false;
[33] Fix | Delete
}
[34] Fix | Delete
return true;
[35] Fix | Delete
}
[36] Fix | Delete
[37] Fix | Delete
return true;
[38] Fix | Delete
};
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function