Skip to content

Commit

Permalink
Fixed some missing language strings
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Aug 17, 2002
1 parent ae96913 commit 76e73fe
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions mod/assignment/index.php
Expand Up @@ -18,6 +18,12 @@

$strassignments = get_string("modulenameplural", "assignment");
$strassignment = get_string("modulename", "assignment");
$strweek = get_string("week");
$strtopic = get_string("topic");
$strname = get_string("name");
$strduedate = get_string("duedate", "assignment");
$strsubmitted = get_string("submitted", "assignment");


print_header("$course->shortname: $strassignments", "$course->fullname", "$navigation $strassignments", "");

Expand All @@ -29,13 +35,13 @@
$timenow = time();

if ($course->format == "weeks") {
$table->head = array ("Week", "Name", "Due", "Submitted");
$table->head = array ($strweek, $strname, $strduedate, $strsubmitted);
$table->align = array ("CENTER", "LEFT", "LEFT", "LEFT");
} else if ($course->format == "topics") {
$table->head = array ("Topic", "Name", "Due", "Submitted");
$table->head = array ($strtopic, $strname, $strduedate, $strsubmitted);
$table->align = array ("CENTER", "LEFT", "LEFT", "LEFT");
} else {
$table->head = array ("Name", "Due", "Submitted");
$table->head = array ($strname, $strduedate, $strsubmitted);
$table->align = array ("LEFT", "LEFT", "LEFT");
}

Expand Down

0 comments on commit 76e73fe

Please sign in to comment.