Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed layout with multiplem categories

  • Loading branch information...
commit 31313bfb985fad4b94fb0fcc9c0a1f28a68033f0 1 parent 2f99e65
moodler authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 course/index.php
View
8 course/index.php
@@ -32,10 +32,10 @@
$showcategories = (count($categories) > 1);
if ($showcategories) {
- echo "<TABLE WIDTH=\"100%\" CELLPADDING=10 BORDER=0>";
- echo "<TR><TD WIDTH=180 VALIGN=TOP>";
- print_course_categories($categories, $category, 180);
- echo "</TD><TD WIDTH=\"100%\" VALIGN=TOP>";
+ echo "<TABLE WIDTH=\"100%\" CELLPADDING=\"8\" BORDER=\"0\">";
+ echo "<TR><TD WIDTH=\"200\" VALIGN=\"TOP\">";
+ print_course_categories($categories, $category, 200);
+ echo "</TD><TD WIDTH=\"*\" VALIGN=\"TOP\">";
} else {
echo "<TABLE WIDTH=80% ALIGN=CENTER><TR><TD VALIGN=top>";
$category="all";
Please sign in to comment.
Something went wrong with that request. Please try again.