Replace a few odd tabs with spaces.

This commit is contained in:
tjhunt
2006-07-21 08:01:34 +00:00
parent eede7619ef
commit d1c93d9605
4 changed files with 13 additions and 13 deletions
+5 -5
View File
@@ -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>
+1 -1
View File
@@ -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 } ?>
+6 -6
View File
@@ -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>
+1 -1
View File
@@ -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);