From eb1f8f1dd2d5246e2b0672678bb599f17a34777a Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 1 Mar 2007 04:42:41 +0000 Subject: [PATCH] MDL-8697 Moved inline text-align:right to stylesheet, and removed table and td text-align: center --- course/search.php | 6 +++--- theme/standard/styles_layout.css | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/course/search.php b/course/search.php index 416dab59181..18ce9c27554 100644 --- a/course/search.php +++ b/course/search.php @@ -192,7 +192,7 @@ foreach ($courses as $course) { $course->fullname = highlight("$search", $course->fullname); $course->summary = highlight("$search", $course->summary); - $course->summary .= "

"; + $course->summary .= "

"; $course->summary .= "$strcategory: category\">"; $course->summary .= $displaylist[$course->category]; $course->summary .= "

"; @@ -206,7 +206,7 @@ echo ""; echo ""; echo ""; - echo ""; + echo "
"; echo ""; echo ""; echo ""; @@ -234,7 +234,7 @@ echo ""; echo ""; echo ""; - echo "
$strcourses$strcategory$strselect
id\">" . format_string($course->fullname) . "".$displaylist[$course->category].""; + echo ""; // this is ok since this will get inherited from course category context // if it is set diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index e2a0dd6895d..e1c50bbf137 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1726,6 +1726,9 @@ body#course-index .addcategory { margin:10px; } +#content .coursebox .summary .category { + text-align:right; +} /*** *** Group