PHP 8.2.31
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-05-27 02:32:32
Edit Download
php53 DIR
- drwxr-xr-x 2026-05-27 02:32:32
Edit Download
php56 DIR
- drwxr-xr-x 2026-05-27 02:32:32
Edit Download
php71 DIR
- drwxr-xr-x 2026-05-27 02:32:32
Edit Download
php81 DIR
- drwxr-xr-x 2026-05-27 02:32:32
Edit Download
php82 DIR
- drwxr-xr-x 2026-05-27 02:32:32
Edit Download
1.97 KB lrw-r--r-- 2026-05-26 12:31:16
Edit Download
3.41 KB lrw-r--r-- 2026-05-26 12:46:04
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.29 KB lrw-r--r-- 2026-05-26 12:46:04
Edit Download
2.94 KB lrw-r--r-- 2026-05-26 12:31:16
Edit Download
1.25 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
6.57 KB lrw-r--r-- 2026-05-26 12:46:04
Edit Download
3.73 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
1021 B lrw-r--r-- 2026-05-26 12:46:04
Edit Download
1.23 KB lrw-r--r-- 2023-07-03 10:47:16
Edit Download
3.12 KB lrw-r--r-- 2026-05-26 12:46:04
Edit Download
14.88 KB lrw-r--r-- 2026-05-26 12:31:16
Edit Download
11.38 MB lrw-r--r-- 2026-05-26 12:31:16
Edit Download
7.06 KB lrw-r--r-- 2026-05-26 12:46:04
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).