From e0738d301b4de6e6c85bfcd30f5dca94cc095c57 Mon Sep 17 00:00:00 2001 From: iliajie Date: Sat, 25 Mar 2023 19:43:40 +0200 Subject: [PATCH] Fix to use alert when printing a warning --- fsdump/index.cgi | 3 +-- fsdump/lang/en | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fsdump/index.cgi b/fsdump/index.cgi index 37263bc0c..6c1d871c1 100755 --- a/fsdump/index.cgi +++ b/fsdump/index.cgi @@ -70,8 +70,7 @@ else { print "$text{'index_none2'}

\n"; } if ($using_strftime && !$config{'date_subs'}) { - print "$text{'index_nostrftime'}", - "

\n"; + print &ui_alert_box($text{'index_nostrftime'}, 'warn'); } # Form to add diff --git a/fsdump/lang/en b/fsdump/lang/en index 1a28a84f6..a615cf67f 100644 --- a/fsdump/lang/en +++ b/fsdump/lang/en @@ -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