From: vyshane Date: Wed, 8 Mar 2006 03:53:54 +0000 (+0000) Subject: Added course module in call to navmenu() so that we have the < (prev) and > X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a392a8b22dbbb9b9f2413234ecc37b1fa4137706;p=moodle.git Added course module in call to navmenu() so that we have the < (prev) and > buttons in all the views for the data module. To keep things consistent. --- diff --git a/mod/data/add.php b/mod/data/add.php index f181d7c25c..e49393ae37 100755 --- a/mod/data/add.php +++ b/mod/data/add.php @@ -79,7 +79,7 @@ $strdata = get_string('modulenameplural','data'); - print_header_simple($data->name, "", "$strdata -> $data->name", "", "", true, "", navmenu($course)); + print_header_simple($data->name, "", "$strdata -> $data->name", "", "", true, "", navmenu($course, $cm)); print_heading(format_string($data->name)); diff --git a/mod/data/fields.php b/mod/data/fields.php index 25f201f3bf..7bc0057b0a 100755 --- a/mod/data/fields.php +++ b/mod/data/fields.php @@ -67,7 +67,7 @@ $strdata = get_string('modulenameplural','data'); - print_header_simple($data->name, "", "$strdata -> $data->name", "", "", true, "", navmenu($course)); + print_header_simple($data->name, "", "$strdata -> $data->name", "", "", true, "", navmenu($course, $cm)); print_heading(format_string($data->name)); diff --git a/mod/data/templates.php b/mod/data/templates.php index 46a7338a21..8f4e0fce43 100755 --- a/mod/data/templates.php +++ b/mod/data/templates.php @@ -72,7 +72,7 @@ $strdata = get_string('modulenameplural','data'); - print_header_simple($data->name, "", "$strdata -> $data->name", "", "", true, "", navmenu($course)); + print_header_simple($data->name, "", "$strdata -> $data->name", "", "", true, "", navmenu($course, $cm)); print_heading(format_string($data->name));