mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-9742 - changed tabs to spaces in a few places where there are one
or two
This commit is contained in:
parent
3ef1be377b
commit
a044c05ddb
24 changed files with 85 additions and 85 deletions
|
@ -488,7 +488,7 @@ class qformat_hotpot extends qformat_default {
|
|||
return $this->hotpot_prepare_str($str);
|
||||
}
|
||||
function hotpot_prepare_str($str) {
|
||||
// convert html entities to unicode and add slashes
|
||||
// convert html entities to unicode and add slashes
|
||||
$str = preg_replace('/&#[x0-9A-F]+;/ie', "html_entity_decode('\\0',ENT_NOQUOTES,'UTF-8')", $str);
|
||||
return addslashes($str);
|
||||
}
|
||||
|
|
|
@ -517,11 +517,11 @@ class qformat_webct extends qformat_default {
|
|||
qformat_webct_convert_formula($webct_options[1]);
|
||||
|
||||
// Default settings:
|
||||
$question->fraction[$currentchoice] = 1.0;
|
||||
$question->tolerance[$currentchoice] = 0.0;
|
||||
$question->tolerancetype[$currentchoice] = 2; // nominal (units in webct)
|
||||
$question->feedback[$currentchoice] = '';
|
||||
$question->correctanswerlength[$currentchoice] = 4;
|
||||
$question->fraction[$currentchoice] = 1.0;
|
||||
$question->tolerance[$currentchoice] = 0.0;
|
||||
$question->tolerancetype[$currentchoice] = 2; // nominal (units in webct)
|
||||
$question->feedback[$currentchoice] = '';
|
||||
$question->correctanswerlength[$currentchoice] = 4;
|
||||
|
||||
$datasetnames = $QTYPES[CALCULATED]->find_dataset_names($webct_options[1]);
|
||||
foreach ($datasetnames as $datasetname) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue