mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamCloudSchedule
synced 2025-04-29 08:06:33 +00:00
更新考试配置表单,添加考场号输入字段
This commit is contained in:
parent
432ffb8e5b
commit
a1a7c2ef63
@ -12,7 +12,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
$newConfig = [
|
||||
'examName' => $_POST['examName'],
|
||||
'message' => $_POST['message'],
|
||||
'room' => ' ',
|
||||
'room' => $_POST['room'],
|
||||
'examInfos' => []
|
||||
];
|
||||
|
||||
@ -136,6 +136,10 @@ if (!empty($id) && file_exists("../configs/{$id}.json")) {
|
||||
<label>考试提示语:</label>
|
||||
<input type="text" name="message" value="<?= htmlspecialchars($config['message']) ?>">
|
||||
</div>
|
||||
<div>
|
||||
<label>考场号:</label>
|
||||
<input type="text" name="room" value="<?= htmlspecialchars($config['room'] ?? '') ?>" required>
|
||||
</div>
|
||||
|
||||
<h3>考试科目安排</h3>
|
||||
<div id="subjects">
|
||||
|
Loading…
x
Reference in New Issue
Block a user