PHP 8.2.30
Preview: install.js Size: 1.25 KB
//var/softaculous/squirrel/install.js

//////////////////////////////////////////////////////////////
// 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.
//////////////////////////////////////////////////////////////

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;
};


jQuery(document).ready(function(){
	
	var domain = jQuery("#softdomain").val();
	jQuery("#imap").val("imap."+domain);
	jQuery("#smtp").val("smtp."+domain);
	
	jQuery("#softdomain").change(function(){
		var domain = jQuery(this).val();
		jQuery("#imap").val("imap."+domain);
		jQuery("#smtp").val("smtp."+domain);
	});
	
	//alert("imap."+domain);
	
	
});

Directory Contents

Dirs: 5 × Files: 11

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2024-03-21 11:25:29
Edit Download
php53 DIR
- drwxr-xr-x 2024-03-21 11:25:29
Edit Download
php56 DIR
- drwxr-xr-x 2024-03-21 11:25:29
Edit Download
php71 DIR
- drwxr-xr-x 2024-03-21 11:25:29
Edit Download
php81 DIR
- drwxr-xr-x 2024-03-21 11:25:29
Edit Download
30.46 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
122 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
2.54 KB lrw-r--r-- 2022-09-21 08:59:22
Edit Download
2.06 KB lrw-r--r-- 2022-09-21 08:18:40
Edit Download
1.25 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.96 KB lrw-r--r-- 2022-09-21 08:59:22
Edit Download
1.07 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
11.98 KB lrw-r--r-- 2022-09-21 08:59:22
Edit Download
70 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
2.54 KB lrw-r--r-- 2022-09-21 08:59:22
Edit Download
413 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).