Er.. aligned center works better ;-)

This commit is contained in:
moodler
2002-11-20 09:41:02 +00:00
parent 68e1b65291
commit bd4707bf29
+2 -2
View File
@@ -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>";