mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 19:28:41 +00:00
fix(web/problem/manage/managers): 61aebec03e
This commit is contained in:
parent
018e435f31
commit
9d0c70151e
@ -37,7 +37,7 @@ if (isSuperUser($myUser)) {
|
|||||||
'new_uploader_username',
|
'new_uploader_username',
|
||||||
'text',
|
'text',
|
||||||
'用户名',
|
'用户名',
|
||||||
$problem['uploader'] ?: 'root',
|
UOJProblem::info('uploader') ?: 'root',
|
||||||
function ($username, &$vdata) {
|
function ($username, &$vdata) {
|
||||||
if (!UOJUser::query($username)) {
|
if (!UOJUser::query($username)) {
|
||||||
return '用户不存在';
|
return '用户不存在';
|
||||||
@ -62,7 +62,7 @@ if (isSuperUser($myUser)) {
|
|||||||
$update_uploader_form->runAtServer();
|
$update_uploader_form->runAtServer();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<?php echoUOJPageHeader('管理者 - ' . HTML::stripTags($problem['title'])) ?>
|
<?php echoUOJPageHeader('管理者 - ' . HTML::stripTags(UOJProblem::info('title'))) ?>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<!-- left col -->
|
<!-- left col -->
|
||||||
@ -159,7 +159,7 @@ if (isSuperUser($myUser)) {
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="card-footer bg-transparent">
|
<div class="card-footer bg-transparent">
|
||||||
评价:<?= ClickZans::getBlock('P', $problem['id'], $problem['zan']) ?>
|
评价:<?= ClickZans::getBlock('P', UOJProblem::info('id'), UOJProblem::info('zan')) ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user