MDL-32504 course: Add coursedisplay setting to course table

This will replace the course_display database table
This commit is contained in:
Dan Poltawski
2012-05-04 10:49:52 +08:00
parent 4d6206ce67
commit 1156d38d94
6 changed files with 33 additions and 4 deletions
+3
View File
@@ -46,6 +46,9 @@ define('FIRSTUSEDEXCELROW', 3);
define('MOD_CLASS_ACTIVITY', 0);
define('MOD_CLASS_RESOURCE', 1);
define('COURSE_DISPLAY_SINGLEPAGE', 0); // display all sections on one page
define('COURSE_DISPLAY_MULTIPAGE', 1); // split pages into a page per section
function make_log_url($module, $url) {
switch ($module) {
case 'course':