From 6098c67748524e62d9bf3876987521a7b0761fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Tue, 3 Jan 2023 10:56:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E5=99=A8=E4=BF=AE=E6=94=B9=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/makehtml_archives_action.php | 2 +- src/admin/sys_data_done.php | 4 ++-- src/admin/templets/sys_data.htm | 2 +- src/admin/templets/sys_data_revert.htm | 2 +- src/system/common.func.php | 14 ++++++-------- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/admin/makehtml_archives_action.php b/src/admin/makehtml_archives_action.php index a546a166..650c7dfb 100644 --- a/src/admin/makehtml_archives_action.php +++ b/src/admin/makehtml_archives_action.php @@ -79,7 +79,7 @@ $ttime = time() - $sstime; $ttime = number_format(($ttime / 60), 2); //返回提示信息 $tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100; -$tjsta = "
"; +$tjsta = "
"; $tjsta .= "到达位置".($startdd + $pagesize).",用时{$ttime}分钟,完成更新文档总数$tjlen%"; //速度测试 if ($tjnum < $totalnum) { diff --git a/src/admin/sys_data_done.php b/src/admin/sys_data_done.php index c83124dc..1187ee21 100644 --- a/src/admin/sys_data_done.php +++ b/src/admin/sys_data_done.php @@ -257,8 +257,8 @@ else if ($dopost == 'redat') { function PutInfo($msg1, $msg2) { global $cfg_soft_lang; - $msginfo = "提示信息

提示信息

{$msg1}{$msg2}
"; - echo $msginfo."
"; + $msginfo = "提示信息

提示信息

{$msg1}{$msg2}
"; + echo $msginfo.""; } function RpLine($str) { diff --git a/src/admin/templets/sys_data.htm b/src/admin/templets/sys_data.htm index 54292e5d..f2c66183 100644 --- a/src/admin/templets/sys_data.htm +++ b/src/admin/templets/sys_data.htm @@ -184,7 +184,7 @@ } ?> - + 分卷大小: K diff --git a/src/admin/templets/sys_data_revert.htm b/src/admin/templets/sys_data_revert.htm index 9f2391fc..ec9d692b 100644 --- a/src/admin/templets/sys_data_revert.htm +++ b/src/admin/templets/sys_data_revert.htm @@ -91,7 +91,7 @@ } ?> - + diff --git a/src/system/common.func.php b/src/system/common.func.php index ee919382..fb7dc807 100755 --- a/src/system/common.func.php +++ b/src/system/common.func.php @@ -332,9 +332,8 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) return; } if (empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; - $htmlhead = "提示信息"; - $htmlhead .= "
"; + $htmlhead = "提示信息"; $litime = ($limittime == 0 ? 1000 : $limittime); $func = ''; if ($gourl == '-1') { @@ -352,10 +351,9 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) } $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; $rmsg = $func; - $rmsg .= "document.write(\"\");"; - $rmsg .= "document.write(\"
"; - $rmsg .= "

提示信息

\");"; - $rmsg .= "document.write(\"
\");"; + $rmsg .= "document.write(\"\");"; + $rmsg .= "document.write(\"

提示信息

\");"; + $rmsg .= "document.write(\"
\");"; $rmsg .= "document.write(\"".str_replace("\"", "“", $msg)."\");"; $rmsg .= "document.write(\""; if ($onlymsg == 0) { @@ -366,7 +364,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) $rmsg .= "
\");"; } } else { - $rmsg .= "
\");"; + $rmsg .= "
\");"; } $msg = $htmlhead.$rmsg.$htmlfoot; }