//////////////////////////////////////////////////////////////
// install.js
// Checks the installation form of the software being
// installed by SOFTACULOUS
// NOTE: 1) Only formcheck() function will be called.
// 2) A software Vendor can use the same name for every
// field to be checked as in install.xml . It can be
// called using $('fieldname').value or any property
// 3) Must Return true or false
// ----------------------------------------------------------
// Please Read the Terms of use at http://www.softaculous.com
// ----------------------------------------------------------
// (c)Softaculous Inc.
//////////////////////////////////////////////////////////////
// Check if there is a hyphen - in prefixed or random generated username ?
function update_username(){
if(typeof jQuery('#admin_username').val() == "undefined"){
setTimeout('update_username();', 500);
return;
}
var admin_username = jQuery('#admin_username').val();
var has_dash = admin_username.includes("-");
if(has_dash){
admin_username = admin_username.replace("-", "");
jQuery('#admin_username').val(admin_username);
}
}
update_username();
function formcheck(){
//Check the Admin Email
if(window.check_punycode){
if(!check_punycode($('admin_email').value)){
alert('{{err_ademail}}');
return false;
}
return true;
}
return true;
};| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| images | Folder | 0755 |
|
|
| php53 | Folder | 0755 |
|
|
| php56 | Folder | 0755 |
|
|
| php71 | Folder | 0755 |
|
|
| php81 | Folder | 0755 |
|
|
| php82 | Folder | 0755 |
|
|
| upgrade | Folder | 0755 |
|
|
| Notes.txt | File | 1.42 KB | 0644 |
|
| changelog.txt | File | 6.42 KB | 0644 |
|
| clone.php | File | 3.14 KB | 0644 |
|
| cmssimple.sql | File | 439.16 KB | 0644 |
|
| cmssimple.zip | File | 10.28 MB | 0644 |
|
| config.php | File | 411 B | 0644 |
|
| edit.php | File | 4.74 KB | 0644 |
|
| edit.xml | File | 433 B | 0644 |
|
| fileindex.php | File | 138 B | 0644 |
|
| import.php | File | 3.22 KB | 0644 |
|
| info.xml | File | 2.59 KB | 0644 |
|
| install.js | File | 1.36 KB | 0644 |
|
| install.php | File | 4.7 KB | 0644 |
|
| install.xml | File | 2.89 KB | 0644 |
|
| md5 | File | 1.12 KB | 0644 |
|
| upgrade.php | File | 4.86 KB | 0644 |
|
| upgrade.xml | File | 285 B | 0644 |
|