From: moodler Date: Thu, 4 Jan 2007 15:53:05 +0000 (+0000) Subject: Course box -> XHTML Strict X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=afba7be148c126ffec780b6143c631d0d40adf95;p=moodle.git Course box -> XHTML Strict --- diff --git a/course/lib.php b/course/lib.php index 9adf446a59..59b6d95100 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1776,16 +1776,13 @@ function print_course($course, $width="100%") { $context = get_context_instance(CONTEXT_COURSE, $course->id); - print_simple_box_start('center', $width, '', 5, 'coursebox'); - $linkcss = $course->visible ? '' : ' class="dimmed" '; - echo ''; - echo ''; - echo '"; - echo "
'; - echo ''; + echo '
'; + echo '
'. - $course->fullname.'
'; + $course->fullname.'
'; /// first find all roles that are supposed to be displayed if ($managerroles = get_config('', 'coursemanager')) { @@ -1812,15 +1809,14 @@ function print_course($course, $width="100%") { $enrol = enrolment_factory::factory($course->enrol); echo $enrol->get_access_icons($course); - echo '
'; + echo '
'; $options = NULL; $options->noclean = true; $options->para = false; echo format_text($course->summary, FORMAT_MOODLE, $options, $course->id); - echo "
"; - - print_simple_box_end(); + echo ''; + echo ''; + echo '
'; }