From: mark-nielsen Date: Sat, 9 Sep 2006 02:10:40 +0000 (+0000) Subject: Cleaned up output to user. Still needs a lot of work. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3466ae4f145f9c152ab833e598997a3bbbab8568;p=moodle.git Cleaned up output to user. Still needs a lot of work. --- diff --git a/mod/lesson/action/continue.html b/mod/lesson/action/continue.html index 0a3f50a62c..e1743b3a2e 100644 --- a/mod/lesson/action/continue.html +++ b/mod/lesson/action/continue.html @@ -25,7 +25,7 @@ if ($lesson->displayleft) { - '; + displayleft) { - "; +



timed) { @@ -66,6 +66,7 @@ if ($lesson->ongoing) { +
diff --git a/mod/lesson/action/continue.php b/mod/lesson/action/continue.php index 1ae0b1c2ee..35b7a24671 100644 --- a/mod/lesson/action/continue.php +++ b/mod/lesson/action/continue.php @@ -694,8 +694,8 @@ } $options = new stdClass; $options->noclean = true; - $options->para = false; - $feedback = format_text($page->contents, FORMAT_MOODLE, $options); + $options->para = true; + $feedback = print_simple_box(format_text($page->contents, FORMAT_MOODLE, $options), 'center', '', '', 5, 'generalbox', '', true); $feedback .= ''.get_string("youranswer", "lesson").' : '.format_text($studentanswer, FORMAT_MOODLE, $options). "
".format_text($response, FORMAT_MOODLE, $options).'
'; }