Merged from STABLE

This commit is contained in:
thepurpleblob
2005-09-16 09:46:59 +00:00
parent 3c6c0e2522
commit 3861020201
2 changed files with 1 additions and 8 deletions
+1
View File
@@ -181,6 +181,7 @@ $string['illegalformulasyntax'] = 'Illegal formula syntax starting with \'$a\'';
$string['imagedisplay'] = 'Image to display';
$string['imagemissing'] = 'Image not available at line $a. The filename will be ignored';
$string['importmax10error'] = 'There is an error in the question. You may not have more than ten answers';
$string['importmaxerror'] = 'There is an error in the question. There are too many answers.';
$string['importminerror'] = 'There is an error in the question. There are not enough answers for this question type';
$string['importquestions'] = 'Import questions from file';
$string['incorrect'] = 'Incorrect';
-8
View File
@@ -110,14 +110,6 @@ class quiz_format_gift extends quiz_default_format {
return false;
}
if ($countanswers>QUIZ_MAX_NUMBER_ANSWERS) {
if ($this->displayerrors) {
$errormessage = get_string( 'importmaxerror', 'quiz' );
echo "<p>$text</p>\n";
echo "<p>$errormessage</p>";
}
return false;
}
return true;
}