moodle_page: MDL-12212 improve comments and add some work-in-progress warnings

This commit is contained in:
tjhunt
2009-05-06 09:29:05 +00:00
parent cb6402296c
commit b7b2d0f37d
8 changed files with 42 additions and 16 deletions
+3
View File
@@ -92,6 +92,9 @@
$PAGE->set_url('course/view.php', array('id' => $course->id));
$PAGE->set_pagetype('course-view-' . $course->format);
$PAGE->set_other_editing_capability('moodle/course:manageactivities');
// Note: MDL-19010 there will be further changes to printing header and blocks.
// The code will be much nicer than this eventually.
$pageblocks = blocks_setup($PAGE, BLOCKS_PINNED_BOTH);
if ($reset_user_allowed_editing) {