Fix reinfo contest resubmit links

This commit is contained in:
jieer
2026-07-23 10:54:37 +08:00
parent 4b420d25e9
commit 99157526a8
2 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -358,13 +358,13 @@ i.icon.spinning {
<?php echo isset($MSG_QUICK_ACTIONS) ? $MSG_QUICK_ACTIONS : '快捷操作'; ?>
</div>
<div class="ui buttons">
<a class="ui blue button" href="submitpage.php?id=<?php echo intval($row['problem_id']) ?>">
<a class="ui blue button" href="<?php echo htmlspecialchars($view_resubmit_url, ENT_QUOTES, 'UTF-8') ?>">
<i class="edit icon"></i> <?php echo isset($MSG_RESUBMIT) ? $MSG_RESUBMIT : '重新提交'; ?>
</a>
<a class="ui button" href="showsource.php?id=<?php echo intval($id) ?>">
<i class="code icon"></i> <?php echo isset($MSG_VIEW_SOURCE) ? $MSG_VIEW_SOURCE : '查看我的代码'; ?>
</a>
<a class="ui button" href="problem.php?id=<?php echo intval($row['problem_id']) ?>">
<a class="ui button" href="<?php echo htmlspecialchars($view_problem_url, ENT_QUOTES, 'UTF-8') ?>">
<i class="info circle icon"></i> <?php echo isset($MSG_VIEW_PROBLEM) ? $MSG_VIEW_PROBLEM : '查看题目'; ?>
</a>