From 85820d5b2c7a7dfb29138248acfc429a541bfdfb Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sun, 13 Nov 2022 08:02:41 +0800 Subject: [PATCH] chore(web/super_manage): users filter update --- web/app/controllers/super_manage.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/controllers/super_manage.php b/web/app/controllers/super_manage.php index 1bf0b47..9ce3c57 100644 --- a/web/app/controllers/super_manage.php +++ b/web/app/controllers/super_manage.php @@ -1304,6 +1304,7 @@ EOD); $usergroups = [ '' => '*: 所有用户', 'B' => 'B: 封禁用户', + 'T' => 'T: 临时用户', 'U' => 'U: 普通用户', 'S' => 'S: 超级用户', ]; @@ -1328,8 +1329,8 @@ EOD); 用户名 学校 用户类别 - 权限 注册时间 + 过期时间 操作 EOD, @@ -1352,11 +1353,10 @@ EOD); echo UOJLocale::get('user::normal user'); break; } - echo ''; - echo ''; - echo UOJLocale::get('user::' . $row['usertype']) ?: HTML::escape($row['usertype']); + echo ', ', HTML::tag('small', ['class' => 'text-muted'], UOJLocale::get('user::' . $row['usertype']) ?: HTML::escape($row['usertype'])); echo ''; echo '', $row['register_time'], ''; + echo '', $row['expiration_time'], ''; echo '', '编辑', ''; echo ''; },