mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Minor formatting of timelimit stuff
This commit is contained in:
parent
ea41a457ec
commit
19ebd1557a
2 changed files with 4 additions and 8 deletions
|
@ -140,12 +140,10 @@
|
|||
print_table($table);
|
||||
}
|
||||
|
||||
// BEGIN EDIT
|
||||
if($available and $quiz->timelimit) {
|
||||
echo "<p align=\"center\">".get_string("quiztimelimit","quiz", format_time($quiz->timelimit * 60))."</p>";
|
||||
}
|
||||
// END EDIT
|
||||
if ($available) {
|
||||
if ($quiz->timelimit) {
|
||||
echo "<p align=\"center\">".get_string("quiztimelimit","quiz", format_time($quiz->timelimit * 60))."</p>";
|
||||
}
|
||||
echo "<p align=\"center\">".get_string("quizavailable", "quiz", userdate($quiz->timeclose));
|
||||
} else if ($timenow < $quiz->timeopen) {
|
||||
echo "<p align=\"center\">".get_string("quiznotavailable", "quiz", userdate($quiz->timeopen));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue