From: nicolasconnault Date: Thu, 1 Mar 2007 04:42:41 +0000 (+0000) Subject: MDL-8697 Moved inline text-align:right to stylesheet, and removed table and td text... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=eb1f8f1dd2d5246e2b0672678bb599f17a34777a;p=moodle.git MDL-8697 Moved inline text-align:right to stylesheet, and removed table and td text-align: center --- diff --git a/course/search.php b/course/search.php index 416dab5918..18ce9c2755 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 e2a0dd6895..e1c50bbf13 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