mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 11:26:41 +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
|
@ -55,17 +55,13 @@
|
|||
|
||||
require_login($course->id);
|
||||
|
||||
if ($course->category) {
|
||||
$navigation = "<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->";
|
||||
}
|
||||
|
||||
$strworkshops = get_string("modulenameplural", "workshop");
|
||||
$strworkshop = get_string("modulename", "workshop");
|
||||
$strsubmissions = get_string("submissions", "workshop");
|
||||
|
||||
// ... print the header and...
|
||||
print_header("$course->shortname: $workshop->name", "$course->fullname",
|
||||
"$navigation <A HREF=index.php?id=$course->id>$strworkshops</A> ->
|
||||
print_header_simple("$workshop->name", "",
|
||||
"<A HREF=index.php?id=$course->id>$strworkshops</A> ->
|
||||
<A HREF=\"view.php?a=$workshop->id\">$workshop->name</A> -> $strsubmissions",
|
||||
"", "", true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue