Replace a few odd tabs with spaces.
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
<?php $this->print_question_grading_details($question, $state, $cmoptions, $options); ?>
|
||||
</div>
|
||||
<?php if ($comment) { ?>
|
||||
<div class="comment">
|
||||
<?php
|
||||
<div class="comment">
|
||||
<?php
|
||||
echo get_string('comment', 'quiz').': ';
|
||||
echo $comment;
|
||||
?>
|
||||
@@ -31,11 +31,11 @@
|
||||
<?php }
|
||||
echo $commentlink;
|
||||
if ($history) { ?>
|
||||
<div class="history">
|
||||
<?php
|
||||
<div class="history">
|
||||
<?php
|
||||
print_string('history', 'quiz');
|
||||
echo $history;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</div>
|
||||
|
||||
<?php if ($correctanswer) { ?>
|
||||
<div class="correctness correct">
|
||||
<div class="correctness correct">
|
||||
<?php echo get_string('correctanswer', 'quiz').': '. $correctanswer; ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
@@ -19,10 +19,10 @@
|
||||
<?php echo $radiofalse ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php if ($feedback) { ?>
|
||||
<div class="feedback">
|
||||
<?php echo $feedback ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
|
||||
<?php if ($feedback) { ?>
|
||||
<div class="feedback">
|
||||
<?php echo $feedback ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
|
||||
</div>
|
||||
@@ -121,7 +121,7 @@ class question_truefalse_qtype extends default_questiontype {
|
||||
}
|
||||
|
||||
function get_correct_responses(&$question, &$state) {
|
||||
// The correct answer is the one which gives full marks
|
||||
// The correct answer is the one which gives full marks
|
||||
foreach ($question->options->answers as $answer) {
|
||||
if (((int) $answer->fraction) === 1) {
|
||||
return array('' => $answer->id);
|
||||
|
||||
Reference in New Issue
Block a user