mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Removed notices by introducing new function print_header_simple() which works on site as well as in courses without extra logic.
This commit is contained in:
parent
64c3e85374
commit
90fcc576ea
49 changed files with 1530 additions and 1709 deletions
|
@ -45,17 +45,13 @@
|
|||
|
||||
/// Print the page header
|
||||
if (empty($noheader)) {
|
||||
|
||||
if ($course->category) {
|
||||
$navigation = "<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> ->";
|
||||
}
|
||||
|
||||
$strquizzes = get_string("modulenameplural", "quiz");
|
||||
$strquiz = get_string("modulename", "quiz");
|
||||
$strreport = get_string("report", "quiz");
|
||||
|
||||
print_header("$course->shortname: $quiz->name", "$course->fullname",
|
||||
"$navigation <A HREF=index.php?id=$course->id>$strquizzes</A>
|
||||
print_header_simple("$quiz->name", "",
|
||||
"<A HREF=index.php?id=$course->id>$strquizzes</A>
|
||||
-> <a href=\"view.php?id=$cm->id\">$quiz->name</a> -> $strreport",
|
||||
"", "", true, update_module_button($cm->id, $course->id, $strquiz), navmenu($course, $cm));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue