Improvements to error handling in question bank import/export.
This commit is contained in:
thepurpleblob
2007-03-14 12:53:13 +00:00
parent ffe67636f7
commit 2bab640cd6
3 changed files with 18 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<h1>Stop on error</h1>
<p>Questions are imported in two passes. First the
imput file is 'parsed' and checked for validity. Then
it is written to the database. If this option is
selected (default) and an error is detected in the
parsing pass then no attempt will be made to write
to the database.</p>
<p>If it is not checked, an attempt will be made to
write any valid questions to the database.</p>
+2
View File
@@ -330,6 +330,7 @@ $string['overdue'] = 'Overdue';
$string['pagesize'] = 'Attempts shown per page:';
$string['paragraphquestion'] = 'Paragraph Question not supported at line $a. The question will be ignored';
$string['parent'] = 'Parent';
$string['parsingquestions'] = 'Parsing questions from import file.';
$string['partiallycorrect'] = 'Partially correct';
$string['passworderror'] = 'The password entered was incorrect';
$string['penalty'] = 'Penalty';
@@ -481,6 +482,7 @@ $string['sortsubmit'] = 'Sort questions';
$string['sorttypealpha'] = 'Sort by type, name';
$string['startagain'] = 'Start again';
$string['startedon'] = 'Started on';
$string['stoponerror'] = 'Stop on error';
$string['subneterror'] = 'Sorry, this quiz has been locked so that it is only accessible from certain locations. Currently your computer is not one of those allowed to use this quiz.';
$string['subnetnotice'] = 'This quiz has been locked so that it is only accessible from certain locations. Your computer is not on an allowed subnet. As teacher you are allowed to preview anyway.';
$string['substitutedby'] = 'will be substituted by';
+5
View File
@@ -2180,6 +2180,11 @@ body#message-messages {
width: 88%;
}
.importerror {
margin-top: 10px;
border-bottom: 1px solid #555;
}
/***
*** Logs
***/