From 56b2077a5a1ca3660dcbd88749a0a3fc9f05cb8e Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 6 Dec 2022 16:39:12 +0800 Subject: [PATCH] feat(web/problems): add link to is_hidden, my tag --- web/app/controllers/problem_set.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/controllers/problem_set.php b/web/app/controllers/problem_set.php index 84ef7a0..0edda88 100644 --- a/web/app/controllers/problem_set.php +++ b/web/app/controllers/problem_set.php @@ -90,10 +90,10 @@ function getProblemTR($info) { $html .= HTML::tag_begin('td', ['class' => 'text-start']); $html .= $problem->getLink(['with' => 'none']); if ($problem->isUserOwnProblem(Auth::user())) { - $html .= ' ' . UOJLocale::get('problems::my problem') . ' '; + $html .= ' ' . UOJLocale::get('problems::my problem') . ' '; } if ($info['is_hidden']) { - $html .= ' ' . UOJLocale::get('hidden') . ' '; + $html .= ' ' . UOJLocale::get('hidden') . ' '; } if (isset($_COOKIE['show_tags_mode'])) { foreach ($problem->queryTags() as $tag) {