From 9deaeaa174a49c5c8031bb68a1b228b05b79e509 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 23 Feb 2007 08:21:38 +0000 Subject: [PATCH] Merged changes from stable to tidy course cats --- course/lib.php | 4 ++-- theme/standard/styles_layout.css | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/course/lib.php b/course/lib.php index d023cf7ceaa..c05b7fd87fd 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1676,7 +1676,7 @@ function print_category_info($category, $depth, $files = false) { echo ''; } - echo ''.$catimage.''; + echo ''.$catimage.''; echo ''; echo ''.$category->name.''; echo ''; @@ -2571,4 +2571,4 @@ function can_delete_course($courseid) { -?> \ No newline at end of file +?> diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index 8494a7e9465..54b821b5911 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -1618,7 +1618,13 @@ body#course-index .addcategory { } .categorylist { - width:100%; + width:90%; + margin-left:auto; + margin-right:auto; +} + +.categorylist .category.image { + width:20px; } .categoryboxcontent {