From f41a57874f8583c3b360947819839b524d63468e Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 24 Sep 2020 17:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/oplog/index.html | 17 ++++++----------- config/lang.php | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/app/admin/view/oplog/index.html b/app/admin/view/oplog/index.html index 7c453a05e..a20374aa2 100644 --- a/app/admin/view/oplog/index.html +++ b/app/admin/view/oplog/index.html @@ -33,7 +33,7 @@ {foreach $list as $key=>$vo} - + @@ -42,7 +42,7 @@ 操作节点:{$vo.node|default='-'} -
+

{$vo.action|default='-'}

{$vo.content|default='-'}
@@ -51,22 +51,17 @@

{$vo.geoip|default='-'}

{$vo.isp|default='-'}

+ 日期:{$vo.create_at|format_datetime|str_replace=' ','
时间:',###|raw} - 日期:{$vo.create_at|format_datetime|str_replace=' ','
时间:',###|raw} - - - {if auth("remove")} - 删 除 - {/if} + + 删 除 + {/foreach} {/notempty} - {empty name='list'}没有记录哦{else}{$pagehtml|raw|default=''}{/empty} -
- {/block} diff --git a/config/lang.php b/config/lang.php index 95346d369..0276e8d59 100644 --- a/config/lang.php +++ b/config/lang.php @@ -17,7 +17,7 @@ return [ // 默认语言 'default_lang' => 'zh-cn', // 允许的语言列表 - 'allow_lang_list' => [], + 'allow_lang_list' => ['zh-cn'], // 多语言自动侦测变量名 'detect_var' => 'lang', // 是否使用 Cookie 记录