Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Er.. aligned center works better ;-)

  • Loading branch information...
commit bd4707bf292f7a747332d63a541dba735341b7c7 1 parent 68e1b65
moodler authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/lib.php
View
4 course/lib.php
@@ -600,7 +600,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
if ($selected == "index") { // Print comprehensive index of categories with courses
if ($courses = get_records_sql("SELECT * FROM course WHERE category > 0 ORDER BY shortname")) {
if (isset($USER->id) and !isadmin()) {
- print_simple_box_start("LEFT", "100%");
+ print_simple_box_start("CENTER", "100%");
print_heading("<A HREF=\"course/index.php?category=my\">".get_string("mycourses")."</A>", "LEFT");
$some = false;
echo "<UL>";
@@ -618,7 +618,7 @@ function print_course_categories($categories, $selected="none", $width=180) {
print_spacer(8,1);
}
foreach ($categories as $category) {
- print_simple_box_start("LEFT", "100%");
+ print_simple_box_start("CENTER", "100%");
print_heading("<A HREF=\"course/index.php?category=$category->id\">$category->name</A>", "LEFT");
$some = false;
echo "<UL>";

0 comments on commit bd4707b

Please sign in to comment.
Something went wrong with that request. Please try again.