]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some hard-coded strings http://moodle.org/bugs/bug.php?op=show&bugid=1011
authormoodler <moodler>
Sat, 31 Jan 2004 05:55:11 +0000 (05:55 +0000)
committermoodler <moodler>
Sat, 31 Jan 2004 05:55:11 +0000 (05:55 +0000)
mod/journal/report.php

index ebe18eb0e2040797eb84a127b6d48631116b40d5..e6f88e9f842d5c413ae2ad26210d805b225080c3 100644 (file)
         $entrybyentry = array () ;
     }
 
-    print_header("$course->shortname: Journals", "$course->fullname",
-                 "<A HREF=../../course/view.php?id=$course->id>$course->shortname</A> ->
-                  <A HREF=index.php?id=$course->id>Journals</A> ->
-                  <A HREF=view.php?id=$cm->id>$journal->name</A> -> Responses", "",
-                  "", true);
+    $strentries = get_string("entries", "journal");
+    $strjournals = get_string("modulenameplural", "journal");
+
+    print_header("$course->shortname: $strjournals", "$course->fullname",
+                 "<a href=\"../../course/view.php?id=$course->id\">$course->shortname</a> ->
+                  <a href=\"index.php?id=$course->id\">$strjournals</a> ->
+                  <a href=\"view.php?id=$cm->id\">$journal->name</a> -> $strentries", "", "", true);
 
     if ($data = data_submitted()) {