mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_admin_cron.php
This commit is contained in:
parent
32f7d85f51
commit
eaefbb8fe0
@ -70,7 +70,9 @@ function validate_cron_post($cron_arr) {
|
||||
$errnum++;
|
||||
}
|
||||
if ($errnum > 0){
|
||||
$result = $errors . ' total ' . $errnum . ' errors <br/> <a href="javascript:history.back(-1)">Back</a>';
|
||||
global $lang;
|
||||
|
||||
$result = $errors . ' total ' . $errnum . ' errors ' . "<br /><br />" . sprintf($lang['CLICK_RETURN_JOBS_ADDED'], "<a href=\"javascript:history.back(-1)\">", "</a>") . "<br /><br />" . sprintf($lang['CLICK_RETURN_JOBS'], "<a href=\"admin_cron.php?mode=list\">", "</a>") . "<br /><br />" . sprintf($lang['CLICK_RETURN_ADMIN_INDEX'], "<a href=\"index.php?pane=right\">", "</a>");
|
||||
}
|
||||
else {
|
||||
$result = 1;
|
||||
@ -154,4 +156,4 @@ function update_cron_job($cron_arr)
|
||||
run_counter = '$run_counter'
|
||||
WHERE cron_id = $cron_id
|
||||
");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user