From 7ee144a1e91435cc1138453b046da7fc42641fdd Mon Sep 17 00:00:00 2001 From: LyLme Date: Sat, 5 Mar 2022 14:00:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/index.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/admin/index.php b/admin/index.php index 10e74d5..cec9c67 100644 --- a/admin/index.php +++ b/admin/index.php @@ -8,11 +8,12 @@ function tjsj($tjname){if($tjname==''){echo '0';}else{echo $tjname;}}
-

'.$update['title'].'

    ';} + getver($conf['version'])){echo '

    '.$update['title'].'

      ';} if($update['msg']!='') {echo $update['msg'];} -if($update['version']!=$conf['version']){echo $update['update_msg'];} -if($update['msg_switch'] == true ||$update['version']!=$conf['version']){echo '
    ';}}} ?> +if(getver($update['version']) > getver($conf['version'])){echo $update['update_msg'];} +if($update['msg_switch'] == true || getver($update['version']) > getver($conf['version'])){echo '
';}}} ?>
@@ -112,10 +113,10 @@ if($update['msg_switch'] == true ||$update['version']!=$conf['version']){echo '< 建站日期:
  • - 当前版本: + 当前版本: 检查更新
  • - 最新版本: 检查更新 + 最新版本: 查看更新说明
  • 项目作者:六零