From: moodler Date: Tue, 30 Dec 2003 06:54:19 +0000 (+0000) Subject: Improved navigation info in header X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0d71d164b88fbf0252d36a04f1c6d36ad0f77ca9;p=moodle.git Improved navigation info in header --- diff --git a/mod/resource/details.php b/mod/resource/details.php index 6be3670200..31088a20e4 100644 --- a/mod/resource/details.php +++ b/mod/resource/details.php @@ -19,11 +19,16 @@ error("You can't modify this course!"); } + $stredit = get_string("edit"); $strediting = get_string("editingaresource", "resource"); $strname = get_string("name"); + $strtypename = $RESOURCE_TYPE["$form->type"]; + $strexample = get_string("example", "resource"); + $strresources = get_string("modulenameplural", "resource"); print_header("$course->shortname: $strediting", "$course->shortname: $strediting", - "wwwroot/course/view.php?id=$course->id\">$course->shortname -> $strediting"); + "wwwroot/course/view.php?id=$course->id\">$course->shortname -> + id\">$strresources -> $form->name ($stredit)"); if (!$form->name or !$form->type or !$form->summary) { error(get_string("filloutallfields"), $_SERVER["HTTP_REFERER"]); @@ -40,8 +45,6 @@ echo ""; echo ""; - $strtypename = $RESOURCE_TYPE["$form->type"]; - $strexample = get_string("example", "resource"); switch ($form->type) { case REFERENCE: @@ -62,7 +65,7 @@ - +

$strname:

$form->name