diff --git a/course/index.php b/course/index.php index 30e30927cac..24f877f7fcd 100644 --- a/course/index.php +++ b/course/index.php @@ -32,7 +32,7 @@ $strcourses = get_string("courses"); print_header($strcourses, $strcourses, $strcourses, "", "", true, update_categories_button()); print_heading(get_string("categories")); - print_simple_box_start("center", "50%"); + print_simple_box_start("center", "50%", "#FFFFFF", 5, "categorybox"); print_whole_category_list(); print_simple_box_end(); print_course_search(); diff --git a/course/lib.php b/course/lib.php index 0ecc806aa46..520d32e9bcf 100644 --- a/course/lib.php +++ b/course/lib.php @@ -6,15 +6,15 @@ if (defined('COURSE_MAX_LOG_DISPLAY')) { // Being included again - should never return; } -define('COURSE_MAX_SUMMARIES_PER_PAGE', 8); // records - define('COURSE_MAX_LOG_DISPLAY', 150); // days define('COURSE_MAX_LOGS_PER_PAGE', 1000); // records define('COURSE_LIVELOG_REFRESH', 60); // Seconds -define('COURSE_MAX_RECENT_PERIOD', 604800); // A week, in seconds +define('COURSE_MAX_RECENT_PERIOD', 604800); // A week, in seconds + +define('COURSE_MAX_SUMMARIES_PER_PAGE', 10); // courses define("FRONTPAGENEWS", 0); define("FRONTPAGECOURSELIST", 1); @@ -973,19 +973,19 @@ function print_category_info($category, $depth) { } echo "