Skip to content

Commit

Permalink
MDL-22524 Fixed a bad layout (should be general, not standard)
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jul 9, 2010
1 parent 3d00d6a commit 74fd6b1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blog/external_blog_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
$PAGE->set_url($url);
$PAGE->set_context($context);
$PAGE->set_pagelayout('standard');
$PAGE->set_pagelayout('general');

$returnurl = new moodle_url('/blog/external_blogs.php');

Expand Down
2 changes: 1 addition & 1 deletion blog/external_blogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

$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);
Expand Down
2 changes: 1 addition & 1 deletion blog/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion blog/preferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}

$PAGE->set_url($url);
$PAGE->set_pagelayout('standard');
$PAGE->set_pagelayout('general');

if ($courseid == SITEID) {
require_login();
Expand Down

0 comments on commit 74fd6b1

Please sign in to comment.