mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
exam add backgrond color
This commit is contained in:
@@ -2899,9 +2899,9 @@ if ($msgalert)
|
||||
|
||||
//show the exam info
|
||||
$exam = new \Nexus\Exam\Exam();
|
||||
$examHtml = $exam->render($CURUSER['id']);
|
||||
if (!empty($examHtml)) {
|
||||
msgalert("messages.php", $examHtml, "blue");
|
||||
$currentExam = $exam->getCurrent($CURUSER['id']);
|
||||
if (!empty($currentExam['html'])) {
|
||||
msgalert("messages.php", $currentExam['html'], $currentExam['exam']->background_color ?? 'blue');
|
||||
}
|
||||
}
|
||||
if ($offlinemsg)
|
||||
|
||||
Reference in New Issue
Block a user