From 96e1285162311fec1aaf97906ca3494abfcbef93 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 3 May 2012 18:43:26 +0800 Subject: [PATCH] MDL-32508 course_format: fix up some minor style issues Noticed whilst reviewing again --- course/format/renderer.php | 6 +++--- theme/base/style/course.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/course/format/renderer.php b/course/format/renderer.php index 360d0504edd..bcbe2e08af8 100644 --- a/course/format/renderer.php +++ b/course/format/renderer.php @@ -56,8 +56,8 @@ abstract class format_renderer_base extends plugin_renderer_base { /** * Generate the content to displayed on the right part of a section - * * before course modules are included + * * @param stdClass $section The course_section entry from DB * @param stdClass $course The course entry from DB * @param bool $onsectionpage true if being printed on a section page @@ -78,8 +78,8 @@ abstract class format_renderer_base extends plugin_renderer_base { /** * Generate the content to displayed on the left part of a section - * * before course modules are included + * * @param stdClass $section The course_section entry from DB * @param stdClass $course The course entry from DB * @param bool $onsectionpage true if being printed on a section page @@ -115,7 +115,7 @@ abstract class format_renderer_base extends plugin_renderer_base { $sectionstyle = ''; $linktitle = false; - if ($section->section != 0 ) { + if ($section->section != 0) { // Only in the non-general sections. if (!$section->visible) { $sectionstyle = ' hidden'; diff --git a/theme/base/style/course.css b/theme/base/style/course.css index 18652c32c93..9dd7fc3d00e 100644 --- a/theme/base/style/course.css +++ b/theme/base/style/course.css @@ -11,7 +11,7 @@ .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; } .course-content .section-summary .section-title { margin: 2px 5px 2px 5px; } .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; } -.course-content .section-navigation { display: block; padding: 10px } +.course-content .section-navigation { display: block; padding: 10px; } .course-content .section-navigation .right { float: right; } #page-site-index .subscribelink {text-align:right;}