mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Updated to accomodate new "social" format
This commit is contained in:
parent
e9ebf2e698
commit
4567fb7145
@ -3,8 +3,8 @@
|
||||
$MAXNEWSDISPLAY = 4;
|
||||
|
||||
$FORMATS = array (
|
||||
"0" => "Non-weekly layout",
|
||||
"1" => "Weekly layout"
|
||||
"1" => "Weekly layout",
|
||||
"2" => "Social layout"
|
||||
);
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user