From bce8c8eee41cbaba760fd827e50ccf68df2a65c0 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 4 Feb 2023 18:44:12 +0800 Subject: [PATCH] chore: remove echoSubmissionsListOnlyOne --- web/app/libs/uoj-html-lib.php | 41 ----------------------------------- 1 file changed, 41 deletions(-) diff --git a/web/app/libs/uoj-html-lib.php b/web/app/libs/uoj-html-lib.php index c874368..48182db 100644 --- a/web/app/libs/uoj-html-lib.php +++ b/web/app/libs/uoj-html-lib.php @@ -229,47 +229,6 @@ function echoSubmission($submission, $config, $viewer) { $usubm->echoStatusTableRow($config, $viewer); } -function echoSubmissionsListOnlyOne($submission, $config, $user) { - echo '
'; - echo ''; - echo ''; - echo ''; - if (!isset($config['id_hidden'])) { - echo ''; - } - if (!isset($config['problem_hidden'])) { - echo ''; - } - if (!isset($config['submitter_hidden'])) { - echo ''; - } - if (!isset($config['result_hidden'])) { - echo ''; - } - if (!isset($config['used_time_hidden'])) { - echo ''; - } - if (!isset($config['used_memory_hidden'])) { - echo ''; - } - echo ''; - echo ''; - if (!isset($config['submit_time_hidden'])) { - echo ''; - } - if (!isset($config['judge_time_hidden'])) { - echo ''; - } - echo ''; - echo ''; - echo ''; - echoSubmission($submission, $config, $user); - echo ''; - echo '
ID' . UOJLocale::get('problems::problem') . '' . UOJLocale::get('problems::submitter') . '' . UOJLocale::get('problems::result') . '' . UOJLocale::get('problems::used time') . '' . UOJLocale::get('problems::used memory') . '' . UOJLocale::get('problems::language') . '' . UOJLocale::get('problems::file size') . '' . UOJLocale::get('problems::submit time') . '' . UOJLocale::get('problems::judge time') . '
'; - echo '
'; -} - - function echoSubmissionsList($cond, $tail, $config, $user) { $header_row = ''; $col_names = [