Fix to use better warning

This commit is contained in:
iliajie
2023-03-24 19:58:01 +02:00
parent 0b8611b4fd
commit a2adf19b80
2 changed files with 2 additions and 3 deletions

View File

@ -53,8 +53,7 @@ else {
print &ui_link("edit.cgi?new=1", $text{'index_add'});
print "<p>\n";
if ($using_strftime && !$config{'date_subs'}) {
print "<font color=#ff0000><b>$text{'index_nostrftime'}",
"</b></font><p>\n";
print &ui_alert_box($text{'index_nostrftime'}, 'warn'),"\n";
}
print &ui_tabs_end_tab();

View File

@ -16,7 +16,7 @@ index_now2=Restore Now
index_apply=Apply configurations?
index_test=Just show what will be restored?
index_jobs=Scheduled Backups
index_nostrftime=Warning - some backup jobs use % in their filenames, but strftime substitution is not enabled on the Module Config page.
index_nostrftime=Some backup jobs use % in their filenames, but strftime substitution is not enabled on the Module Config page.
index_tabsched=Scheduled backups
index_tabbackup=Backup now
index_tabrestore=Restore now