Er.. aligned center works better ;-)
This commit is contained in:
+2
-2
@@ -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>";
|
||||
|
||||
Reference in New Issue
Block a user