/*
* Contains Main class and supporting functions for topic ajax course layout
*/
+
//hide content body until done loading (manipulation looks ugly elsewise)
document.getElementById('content').style.display='none';
<?php
/*
* $Id$
- *Provide RESTful interface for topics AJAX course formats
- */
+ *Provide RESTful interface for topics AJAX course formats
+ */
require_once('../../../config.php');
require_once('../../lib.php');
// format.
//
// The default blocks layout for this course format:
+
$format['defaultblocks'] = 'participants,activity_modules,search_forums,'.
'admin,course_list:news_items,calendar_upcoming,'.
'recent_activity';
// the dates aren't printed - it's just an aesthetic thing for
// courses that aren't so rigidly defined by time.
// Included from "view.php"
+
require_once($CFG->dirroot.'/mod/forum/lib.php');
require_once($CFG->libdir.'/ajax/ajaxlib.php');