]> git.mjollnir.org Git - moodle.git/commitdiff
fixed breadcrumbs when mod.php is used on site page
authorgustav_delius <gustav_delius>
Sat, 21 Aug 2004 21:02:59 +0000 (21:02 +0000)
committergustav_delius <gustav_delius>
Sat, 21 Aug 2004 21:02:59 +0000 (21:02 +0000)
course/mod.php

index 527662c8f68028648ccf0815cf313faaa85266af..deb22cb1f97b12357316c5d951cde19ee527dcc1 100644 (file)
         $strdeletecheck = get_string("deletecheck", "", "$form->fullmodulename");
         $strdeletecheckfull = get_string("deletecheckfull", "", "$form->fullmodulename '$form->instancename'");
 
-        print_header("$course->shortname: $strdeletecheck", "$course->fullname",
-                     "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> -> 
-                      $strdeletecheck");
+        print_header_simple("$strdeletecheck", "$",
+                     "$strdeletecheck");
 
         print_simple_box_start("center", "60%", "#FFAAAA", 20, "noticebox");
         print_heading($strdeletecheckfull);