projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
285b8f7
)
Allow A. B. C. in addition to A) B) C)
author
moodler
<moodler>
Mon, 1 Dec 2003 12:21:49 +0000
(12:21 +0000)
committer
moodler
<moodler>
Mon, 1 Dec 2003 12:21:49 +0000
(12:21 +0000)
mod/quiz/format/aiken.php
patch
|
blob
|
history
diff --git
a/mod/quiz/format/aiken.php
b/mod/quiz/format/aiken.php
index cc173e00d0bcb822a562e78a8690003ea63ca248..47817dd6487057d125c7d8b35caa1c3e3454290d 100644
(file)
--- a/
mod/quiz/format/aiken.php
+++ b/
mod/quiz/format/aiken.php
@@
-50,7
+50,7
@@
class quiz_file_format extends quiz_default_format {
// This will show everyline when file is being processed
// print("$nowline<br>");
$leader = substr(ltrim($nowline),0,2);
- if (strpos("
,A),B),C),D),E),F),G),H),I),J)
",$leader)>0){
+ if (strpos("
.A)B)C)D)E)F)G)H)I)J)A.B.C.D.E.F.G.H.I.J.
",$leader)>0){
//trim off the label and space
$question->answer[] = substr($nowline,3);
$question->fraction[] = 0;