Permalink
Browse files

Merge branch 'MDL-28338_21' of git://github.com/timhunt/moodle into M…

…OODLE_21_STABLE
  • Loading branch information...
2 parents 97247fd + 0152807 commit e4e3b12325fc7b50efce83c4730ca54e91efdb4f @skodak skodak committed Aug 2, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 mod/quiz/renderer.php
View
@@ -610,7 +610,7 @@ public function view_page_guest($course, $quiz, $cm, $context, $messages) {
$output .= $this->view_information($course, $quiz, $cm, $context, $messages);
$guestno = html_writer::tag('p', get_string('guestsno', 'quiz'));
$liketologin = html_writer::tag('p', get_string('liketologin'));
- $output .= $this->confirm($guestno.'\n\n'.$liketologin.'\n', get_login_url(),
+ $output .= $this->confirm($guestno."\n\n".$liketologin."\n", get_login_url(),
get_referer(false));
return $output;
}
@@ -631,7 +631,7 @@ public function view_page_notenrolled($course, $quiz, $cm, $context, $messages)
$youneedtoenrol = html_writer::tag('p', get_string('youneedtoenrol', 'quiz'));
$button = html_writer::tag('p',
$this->continue_button($CFG->wwwroot . '/course/view.php?id=' . $course->id));
- $output .= $this->box($youneedtoenrol.'\n\n'.$button.'\n', 'generalbox', 'notice');
+ $output .= $this->box($youneedtoenrol."\n\n".$button."\n", 'generalbox', 'notice');
return $output;
}
@@ -867,7 +867,7 @@ public function view_result_info($quiz, $context, $cm, $viewobj) {
if ($viewobj->mygradeoverridden) {
$resultinfo .= html_writer::tag('p', get_string('overriddennotice', 'grades'),
- array('class' => 'overriddennotice')).'\n';
+ array('class' => 'overriddennotice'))."\n";
}
if ($viewobj->gradebookfeedback) {
$resultinfo .= $this->heading(get_string('comment', 'quiz'), 3, 'main');
@@ -878,7 +878,7 @@ public function view_result_info($quiz, $context, $cm, $viewobj) {
$resultinfo .= $this->heading(get_string('overallfeedback', 'quiz'), 3, 'main');
$resultinfo .= html_writer::tag('p',
quiz_feedback_for_grade($viewobj->mygrade, $quiz, $context),
- array('class' => 'quizgradefeedback')).'\n';
+ array('class' => 'quizgradefeedback'))."\n";
}
if ($resultinfo) {

0 comments on commit e4e3b12

Please sign in to comment.