Better string for teacher reports

This commit is contained in:
moodler 2003-07-24 06:21:21 +00:00
parent 29d5d0b40c
commit 779e79f438
2 changed files with 2 additions and 1 deletions

View File

@ -146,5 +146,6 @@ $string['true'] = "True";
$string['truefalse'] = "True/False"; $string['truefalse'] = "True/False";
$string['type'] = "Type"; $string['type'] = "Type";
$string['viewallanswers'] = "View \$a completed quizzes"; $string['viewallanswers'] = "View \$a completed quizzes";
$string['viewallreports'] = "View reports for \$a attempts";
$string['webct'] = "WebCT format"; $string['webct'] = "WebCT format";
$string['yourfinalgradeis'] = "Your final grade for this quiz is \$a"; $string['yourfinalgradeis'] = "Your final grade for this quiz is \$a";

View File

@ -59,7 +59,7 @@
} else { } else {
$answercount = 0; $answercount = 0;
} }
echo "<p align=right><a href=\"report.php?id=$cm->id\">".get_string("viewallanswers","quiz",$answercount)."</a></p>"; echo "<p align=right><a href=\"report.php?id=$cm->id\">".get_string("viewallreports","quiz",$answercount)."</a></p>";
} else if (!$cm->visible) { } else if (!$cm->visible) {
notice(get_string("activityiscurrentlyhidden")); notice(get_string("activityiscurrentlyhidden"));
} }