]> git.mjollnir.org Git - moodle.git/commitdiff
Added course module in call to navmenu() so that we have the < (prev) and >
authorvyshane <vyshane>
Wed, 8 Mar 2006 03:53:54 +0000 (03:53 +0000)
committervyshane <vyshane>
Wed, 8 Mar 2006 03:53:54 +0000 (03:53 +0000)
<next> buttons in all the views for the data module. To keep things
consistent.

mod/data/add.php
mod/data/fields.php
mod/data/templates.php

index f181d7c25c68170d50e4bd6bded6411c1a4ec0bb..e49393ae371100f7ec5ca021038b81573b585c6c 100755 (executable)
@@ -79,7 +79,7 @@
 
     $strdata = get_string('modulenameplural','data');
 
-    print_header_simple($data->name, "", "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name", "", "", true, "", navmenu($course));
+    print_header_simple($data->name, "", "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name", "", "", true, "", navmenu($course, $cm));
 
     print_heading(format_string($data->name));
 
index 25f201f3bfb9d7295df725e2f2dbc782afe136b0..7bc0057b0af63813fdb54f0d45f28e6676b1bee4 100755 (executable)
@@ -67,7 +67,7 @@
 
     $strdata = get_string('modulenameplural','data');
 
-    print_header_simple($data->name, "", "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name", "", "", true, "", navmenu($course));
+    print_header_simple($data->name, "", "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name", "", "", true, "", navmenu($course, $cm));
 
     print_heading(format_string($data->name));
     
index 46a7338a2135927e87363836bd3e5adeb414b4da..8f4e0fce43f3fc547e5dc63d5d39a3e90c453d61 100755 (executable)
@@ -72,7 +72,7 @@
 
     $strdata = get_string('modulenameplural','data');
 
-    print_header_simple($data->name, "", "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name", "", "", true, "", navmenu($course));
+    print_header_simple($data->name, "", "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name", "", "", true, "", navmenu($course, $cm));
 
     print_heading(format_string($data->name));