From eaefbb8fe067ed5bb9d775d6fe13b6a2b72b240a Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 21 Oct 2023 15:54:10 +0700 Subject: [PATCH] Update functions_admin_cron.php --- library/includes/functions_admin_cron.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/library/includes/functions_admin_cron.php b/library/includes/functions_admin_cron.php index b1464f19..a210be47 100644 --- a/library/includes/functions_admin_cron.php +++ b/library/includes/functions_admin_cron.php @@ -70,7 +70,9 @@ function validate_cron_post($cron_arr) { $errnum++; } if ($errnum > 0){ - $result = $errors . ' total ' . $errnum . ' errors
Back'; + global $lang; + + $result = $errors . ' total ' . $errnum . ' errors ' . "

" . sprintf($lang['CLICK_RETURN_JOBS_ADDED'], "", "") . "

" . sprintf($lang['CLICK_RETURN_JOBS'], "", "") . "

" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "", ""); } else { $result = 1; @@ -154,4 +156,4 @@ function update_cron_job($cron_arr) run_counter = '$run_counter' WHERE cron_id = $cron_id "); -} \ No newline at end of file +}