mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Some small robustness things, and a new style for quiz feedback text
This commit is contained in:
parent
1079c8a872
commit
c897eac5e4
11 changed files with 25 additions and 3 deletions
|
@ -15,6 +15,8 @@
|
|||
|
||||
if ($course->category) {
|
||||
$navigation = "<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->";
|
||||
} else {
|
||||
$navigation = "";
|
||||
}
|
||||
|
||||
$strchoice = get_string("modulename", "choice");
|
||||
|
|
|
@ -57,6 +57,8 @@
|
|||
|
||||
if ($course->category) {
|
||||
$navigation = "<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->";
|
||||
} else {
|
||||
$navigation = "";
|
||||
}
|
||||
print_header("$course->shortname: $choice->name", "$course->fullname",
|
||||
"$navigation <A HREF=index.php?id=$course->id>$strchoices</A> -> $choice->name", "", "", true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue