MDL-20636 Massively reduce the number of references to quiz in the question code.

This mostly involves moving lang strings around, but I don't have time to do an AMOS script now.
This commit is contained in:
Tim Hunt
2011-02-23 18:53:50 +00:00
parent 88f0eb1546
commit 5e8a85aa64
57 changed files with 247 additions and 267 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ function writequestion($question) {
// selection depends on question type
switch($question->qtype) {
case TRUEFALSE:
$st_true = get_string( 'true','quiz' );
$st_false = get_string( 'false','quiz' );
$st_true = get_string('true', 'qtype_truefalse');
$st_false = get_string('false', 'qtype_truefalse');
$expout .= "<ul class=\"truefalse\">\n";
$expout .= " <li><input name=\"quest_$id\" type=\"radio\" value=\"$st_true\" />$st_true</li>\n";
$expout .= " <li><input name=\"quest_$id\" type=\"radio\" value=\"$st_false\" />$st_false</li>\n";