Fix to use alert when printing a warning

This commit is contained in:
iliajie
2023-03-25 19:43:40 +02:00
parent c7393d6e17
commit e0738d301b
2 changed files with 2 additions and 3 deletions

View File

@ -70,8 +70,7 @@ else {
print "<b>$text{'index_none2'}</b><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');
}
# Form to add

View File

@ -22,7 +22,7 @@ index_now=Backup..
index_follow=After $1
index_forcetar=In TAR format
index_delete=Delete Selected 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.
dump_dir=Directory to backup
dump_dirs=Directories to backup