mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:48:41 +00:00
chore(web/super_manage): users filter update
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
48e4c56782
commit
85820d5b2c
@ -1304,6 +1304,7 @@ EOD);
|
|||||||
$usergroups = [
|
$usergroups = [
|
||||||
'' => '*: 所有用户',
|
'' => '*: 所有用户',
|
||||||
'B' => 'B: 封禁用户',
|
'B' => 'B: 封禁用户',
|
||||||
|
'T' => 'T: 临时用户',
|
||||||
'U' => 'U: 普通用户',
|
'U' => 'U: 普通用户',
|
||||||
'S' => 'S: 超级用户',
|
'S' => 'S: 超级用户',
|
||||||
];
|
];
|
||||||
@ -1328,8 +1329,8 @@ EOD);
|
|||||||
<th>用户名</th>
|
<th>用户名</th>
|
||||||
<th>学校</th>
|
<th>学校</th>
|
||||||
<th>用户类别</th>
|
<th>用户类别</th>
|
||||||
<th>权限</th>
|
|
||||||
<th>注册时间</th>
|
<th>注册时间</th>
|
||||||
|
<th>过期时间</th>
|
||||||
<th>操作</th>
|
<th>操作</th>
|
||||||
</tr>
|
</tr>
|
||||||
EOD,
|
EOD,
|
||||||
@ -1352,11 +1353,10 @@ EOD);
|
|||||||
echo UOJLocale::get('user::normal user');
|
echo UOJLocale::get('user::normal user');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo '</td>';
|
echo ', ', HTML::tag('small', ['class' => 'text-muted'], UOJLocale::get('user::' . $row['usertype']) ?: HTML::escape($row['usertype']));
|
||||||
echo '<td>';
|
|
||||||
echo UOJLocale::get('user::' . $row['usertype']) ?: HTML::escape($row['usertype']);
|
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '<td>', $row['register_time'], '</td>';
|
echo '<td>', $row['register_time'], '</td>';
|
||||||
|
echo '<td>', $row['expiration_time'], '</td>';
|
||||||
echo '<td>', '<a class="text-decoration-none d-inline-block align-middle" href="/user/', $row['username'], '/edit">编辑</a>', '</td>';
|
echo '<td>', '<a class="text-decoration-none d-inline-block align-middle" href="/user/', $row['username'], '/edit">编辑</a>', '</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user