]> git.mjollnir.org Git - moodle.git/commitdiff
DEBUGGED
authorkaipe <kaipe>
Tue, 3 Aug 2004 12:16:55 +0000 (12:16 +0000)
committerkaipe <kaipe>
Tue, 3 Aug 2004 12:16:55 +0000 (12:16 +0000)
Icon images did not have any closing " for attribute SRC

mod/quiz/questiontypes/datasetdependent/abstractqtype.php

index b63b90ae8287ddcd9d164695728e2d1a88d7b8af..d3b4449dcbed38c35832460bacb0d5c983cfd417 100644 (file)
@@ -340,7 +340,7 @@ class quiz_dataset_dependent_questiontype extends quiz_default_questiontype {
 
             } else {
                 $icon = '<IMG SRC="../../files/pix/'
-                        . mimeinfo('icon', $item->value) . '/>';
+                        . mimeinfo('icon', $item->value) . '/>';
                 if (substr(strtolower($item->value), 0, 7)=='http://') {
                     $link = $item->value;
                         
@@ -381,7 +381,6 @@ class quiz_dataset_dependent_questiontype extends quiz_default_questiontype {
         $virtualqtype = $this->get_virtual_qtype();
         return $nameprefix . $regs[1] . $virtualqtype->name();
     }
-        // Default implementation that sometimes can overridden
 
     function extract_response($rawresponse, $nameprefix) {
         if (!ereg('^dataset([;:0-9A-Za-z+/=]+)-(.*)$',