PHP 8.2.30
Preview: install.js Size: 1.25 KB
//var/softaculous/roundcube/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: 6 × Files: 16

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2026-03-20 21:02:55
Edit Download
php53 DIR
- drwxr-xr-x 2026-03-20 21:02:55
Edit Download
php56 DIR
- drwxr-xr-x 2026-03-20 21:02:55
Edit Download
php71 DIR
- drwxr-xr-x 2026-03-20 21:02:55
Edit Download
php81 DIR
- drwxr-xr-x 2026-03-20 21:02:55
Edit Download
php82 DIR
- drwxr-xr-x 2026-03-20 21:02:55
Edit Download
3.80 KB lrw-r--r-- 2026-03-20 06:29:00
Edit Download
3.39 KB lrw-r--r-- 2026-03-20 08:06:52
Edit Download
3.90 KB lrw-r--r-- 2025-02-10 09:28:38
Edit Download
203 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.27 KB lrw-r--r-- 2026-03-20 08:06:52
Edit Download
2.94 KB lrw-r--r-- 2026-03-20 06:29:00
Edit Download
1.25 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
6.55 KB lrw-r--r-- 2026-03-20 08:06:52
Edit Download
3.73 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
1.58 KB lrw-r--r-- 2026-03-20 08:06:52
Edit Download
1.23 KB lrw-r--r-- 2023-07-03 10:47:16
Edit Download
3.11 KB lrw-r--r-- 2026-03-20 08:06:52
Edit Download
14.88 KB lrw-r--r-- 2026-03-20 06:29:00
Edit Download
11.05 MB lrw-r--r-- 2026-03-20 06:29:00
Edit Download
7.11 KB lrw-r--r-- 2026-03-20 08:06:52
Edit Download
341 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

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