Skip to content

Commit

Permalink
Fixed layout with multiplem categories
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Dec 12, 2002
1 parent 2f99e65 commit 31313bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions course/index.php
Expand Up @@ -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";
Expand Down

0 comments on commit 31313bf

Please sign in to comment.