MDL-22524 Fixed a bad layout (should be general, not standard)
authorMartin Dougiamas <martin@moodle.com>
Fri, 9 Jul 2010 04:20:12 +0000 (04:20 +0000)
committerMartin Dougiamas <martin@moodle.com>
Fri, 9 Jul 2010 04:20:12 +0000 (04:20 +0000)
blog/external_blog_edit.php
blog/external_blogs.php
blog/lib.php
blog/preferences.php

index 517dde2..e51cb03 100644 (file)
@@ -44,7 +44,7 @@ if ($id !== null) {
 }
 $PAGE->set_url($url);
 $PAGE->set_context($context);
-$PAGE->set_pagelayout('standard');
+$PAGE->set_pagelayout('general');
 
 $returnurl = new moodle_url('/blog/external_blogs.php');
 
index 988a046..c196840 100644 (file)
@@ -53,7 +53,7 @@ $blogs = $DB->get_records('blog_external', array('userid' => $USER->id));
 
 $PAGE->set_heading("$SITE->shortname: $strblogs: $strexternalblogs", $SITE->fullname);
 $PAGE->set_title("$SITE->shortname: $strblogs: $strexternalblogs");
-$PAGE->set_pagelayout('standard');
+$PAGE->set_pagelayout('general');
 
 echo $OUTPUT->header();
 echo $OUTPUT->heading($strexternalblogs, 2);
index b952491..4e1e2fc 100755 (executable)
@@ -648,7 +648,7 @@ function blog_get_headers() {
         $course = $DB->get_record('course', array('id' => $group->courseid));
     }
 
-    $PAGE->set_pagelayout('standard');
+    $PAGE->set_pagelayout('general');
 
     if (!empty($modid) && $CFG->useblogassociations && has_capability('moodle/blog:associatemodule', $sitecontext)) { // modid always overrides courseid, so the $course object may be reset here
         $headers['filters']['module'] = $modid;
index 366beda..4cd7760 100755 (executable)
@@ -53,7 +53,7 @@ if ($groupid !== null) {
 }
 
 $PAGE->set_url($url);
-$PAGE->set_pagelayout('standard');
+$PAGE->set_pagelayout('general');
 
 if ($courseid == SITEID) {
     require_login();