mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +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
|
@ -35,15 +35,11 @@
|
|||
|
||||
add_to_log($course->id, "assignment", "view", "view.php?id=$cm->id", $assignment->id, $cm->id);
|
||||
|
||||
if ($course->category) {
|
||||
$navigation = "<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->";
|
||||
}
|
||||
|
||||
$strassignments = get_string("modulenameplural", "assignment");
|
||||
$strassignment = get_string("modulename", "assignment");
|
||||
|
||||
print_header("$course->shortname: $assignment->name", "$course->fullname",
|
||||
"$navigation <A HREF=index.php?id=$course->id>$strassignments</A> -> $assignment->name",
|
||||
print_header_simple($assignment->name, "",
|
||||
"<A HREF=index.php?id=$course->id>$strassignments</A> -> $assignment->name",
|
||||
"", "", true, update_module_button($cm->id, $course->id, $strassignment), navmenu($course, $cm));
|
||||
|
||||
if (isteacher($course->id)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue