diff --git a/web/edit/backup/exclusions/index.php b/web/edit/backup/exclusions/index.php index a40f8d558..a9c09929e 100644 --- a/web/edit/backup/exclusions/index.php +++ b/web/edit/backup/exclusions/index.php @@ -89,6 +89,11 @@ if (empty($_SESSION['error_msg'])) { $v_db_tmp = rtrim($v_db_tmp, ","); $v_db_tmp = "DB=" . escapeshellarg($v_db_tmp); + $v_cron = $_POST['v_cron']; + $v_cron_tmp = str_replace("\r\n", ",", $_POST['v_cron']); + $v_cron_tmp = rtrim($v_cron_tmp, ","); + $v_cron_tmp = "CRON=" . escapeshellarg($v_cron_tmp); + $v_userdir = $_POST['v_userdir']; $v_userdir_tmp = str_replace("\r\n", ",", $_POST['v_userdir']); $v_userdir_tmp = rtrim($v_userdir_tmp, ","); diff --git a/web/inc/i18n/en.php b/web/inc/i18n/en.php index 9377690f9..cca297864 100644 --- a/web/inc/i18n/en.php +++ b/web/inc/i18n/en.php @@ -103,6 +103,7 @@ $LANG['en'] = array( 'Editing Package' => 'Editing Package', 'Adding IP address' => 'Adding IP address', 'Editing IP Address' => 'Editing IP Address', + 'Editing Backup Exclusions' => 'Editing Backup Exclusions', 'Generating CSR' => 'Generating CSR', 'Listing' => 'Listing', 'Search Results' => 'Search Results', @@ -404,6 +405,7 @@ $LANG['en'] = array( 'DNS_EXCLUSIONS' => "Type domain name, one per line. To exlude all domains use *", 'MAIL_EXCLUSIONS' => "Type domain name, one per line. To exlude all domains use *. To exclude specific accounts use following format: domain.com:info:support:postmaster", 'DB_EXCLUSIONS' => "Type full database name, one per line. To exlude all databases use *", + 'CRON_EXCLUSIONS' => "To exlude all jobs use *", 'USER_EXCLUSIONS' => "Type directory name, one per line. Directories should not include leading or trailing slashes. To exlude all dirs use *", 'Welcome to Vesta Control Panel' => 'Welcome to Vesta Control Panel', diff --git a/web/templates/admin/edit_backup_exclusions.html b/web/templates/admin/edit_backup_exclusions.html index a22af47a0..25a872d4d 100644 --- a/web/templates/admin/edit_backup_exclusions.html +++ b/web/templates/admin/edit_backup_exclusions.html @@ -77,6 +77,16 @@ +