mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
DEBUGGED
Icon images did not have any closing " for attribute SRC
This commit is contained in:
parent
09e9588ee1
commit
a753b153de
@ -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+/=]+)-(.*)$',
|
||||
|
Loading…
x
Reference in New Issue
Block a user