Updated to accomodate new "social" format

This commit is contained in:
martin 2002-02-26 06:34:29 +00:00
parent e9ebf2e698
commit 4567fb7145
2 changed files with 7 additions and 5 deletions

View File

@ -3,8 +3,8 @@
$MAXNEWSDISPLAY = 4;
$FORMATS = array (
"0" => "Non-weekly layout",
"1" => "Weekly layout"
"1" => "Weekly layout",
"2" => "Social layout"
);

View File

@ -50,12 +50,14 @@
}
switch ($course->format) {
case 0:
include("noweeks.php");
break;
case 1:
include("weeks.php");
break;
case 2:
include("social.php");
break;
default:
error("Course format not defined yet!");
}
print_footer($course);