diff --git a/web/app/controllers/list_manage.php b/web/app/controllers/list_manage.php index 2fda1b4..0d308fd 100644 --- a/web/app/controllers/list_manage.php +++ b/web/app/controllers/list_manage.php @@ -282,7 +282,7 @@ if ($cur_tab == 'profile') { echo HTML::tag_end('tr'); }, [ - 'page_len' => 50, + 'echo_full' => true, 'div_classes' => ['table-responsive'], 'table_classes' => ['table', 'align-middle'], 'print_after_table' => function () use ($n_problems) { diff --git a/web/app/controllers/problem_permissions_manage.php b/web/app/controllers/problem_permissions_manage.php index 7c55321..ef2d18d 100644 --- a/web/app/controllers/problem_permissions_manage.php +++ b/web/app/controllers/problem_permissions_manage.php @@ -52,7 +52,6 @@ $managers_form = newAddDelCmdForm( 'help' => '命令格式:命令一行一个,+mike 表示把 mike 加入管理者,-mike 表示把 mike 从管理者中移除。', ] ); - $managers_form->runAtServer(); if (isSuperUser(Auth::user())) { diff --git a/web/app/libs/uoj-form-lib.php b/web/app/libs/uoj-form-lib.php index 333f4c9..c03555d 100644 --- a/web/app/libs/uoj-form-lib.php +++ b/web/app/libs/uoj-form-lib.php @@ -3,6 +3,7 @@ define('SCRIPT_REFRESH_AS_GET', '