mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix to use alert when printing a warning
This commit is contained in:
@@ -70,8 +70,7 @@ else {
|
|||||||
print "<b>$text{'index_none2'}</b><p>\n";
|
print "<b>$text{'index_none2'}</b><p>\n";
|
||||||
}
|
}
|
||||||
if ($using_strftime && !$config{'date_subs'}) {
|
if ($using_strftime && !$config{'date_subs'}) {
|
||||||
print "<font color=#ff0000><b>$text{'index_nostrftime'}",
|
print &ui_alert_box($text{'index_nostrftime'}, 'warn');
|
||||||
"</b></font><p>\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Form to add
|
# Form to add
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ index_now=Backup..
|
|||||||
index_follow=After $1
|
index_follow=After $1
|
||||||
index_forcetar=In TAR format
|
index_forcetar=In TAR format
|
||||||
index_delete=Delete Selected Backups
|
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_dir=Directory to backup
|
||||||
dump_dirs=Directories to backup
|
dump_dirs=Directories to backup
|
||||||
|
|||||||
Reference in New Issue
Block a user