mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +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
|
@ -24,16 +24,12 @@
|
|||
}
|
||||
|
||||
$showscales = ($template->name != 'ciqname');
|
||||
|
||||
if ($course->category) {
|
||||
$navigation = "<A HREF=\"../../course/view.php?id=$course->id\">$course->shortname</A> ->";
|
||||
}
|
||||
|
||||
$strsurveys = get_string("modulenameplural", "survey");
|
||||
$strsurvey = get_string("modulename", "survey");
|
||||
|
||||
print_header("$course->shortname: $survey->name", "$course->fullname",
|
||||
"$navigation <A HREF=index.php?id=$course->id>$strsurveys</A> -> $survey->name", "", "", true,
|
||||
print_header_simple("$survey->name", "",
|
||||
"<A HREF=index.php?id=$course->id>$strsurveys</A> -> $survey->name", "", "", true,
|
||||
update_module_button($cm->id, $course->id, $strsurvey), navmenu($course, $cm));
|
||||
|
||||
/// Check to see if groups are being used in this survey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue