diff --git a/course/lib.php b/course/lib.php index 9adf446a596..59b6d95100b 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 ' '.
- $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 ''; + $course->fullname.' | ';
+ echo ' ';
$options = NULL;
$options->noclean = true;
$options->para = false;
echo format_text($course->summary, FORMAT_MOODLE, $options, $course->id);
- echo " |