From be6368980299b0c79d2231c7eaedfa967e7f7463 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 26 Apr 2007 08:49:21 +0000 Subject: [PATCH] Merge XHTML fixes for MDL-9589 --- course/category.php | 22 +++++++++++----------- theme/standard/styles_layout.css | 5 +++++ 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/course/category.php b/course/category.php index ce7cdff9ab..4a47f4071b 100644 --- a/course/category.php +++ b/course/category.php @@ -113,7 +113,7 @@ /// Print link to roles if (has_capability('moodle/role:assign', $context)) { - echo ''; } /// Print the category selector @@ -278,17 +278,17 @@ $strrequireskey = get_string("requireskey"); - echo '
'; + echo '
'; echo ''; - echo ''; - echo ''; + echo '
'.$strcourses.'
'; + echo ''; if ($creatorediting) { - echo ''; + echo ''; if ($adminediting) { - echo ''; + echo ''; } } else { - echo ''; + echo ''; } echo ''; @@ -422,7 +422,7 @@ } echo '
'.$strcourses.''.$stredit.''.$stredit.''.$strselect.''.$strselect.'  
'; - echo ''; + echo '
'; echo '
'; } @@ -443,13 +443,13 @@ if (has_capability('moodle/category:update', $context)) { /// Print form to rename the category $strrename= get_string('rename'); - echo '
'; + echo '
'; echo ''; echo ''; echo ''; echo ''; - echo ""; - echo "
"; + echo '
'; + echo '
'; } print_course_search(); diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 7a3a01392b..301396627b 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1766,6 +1766,11 @@ body#course-index .courseboxes { padding:20px; } +body#course-category .rolelink { + text-align:right; + padding:10px; +} + body#course-index #middle-column .editcourse { margin-left:auto; margin-right:auto; -- 2.39.5