Skip to content

Commit

Permalink
blog, fixed a missing parameter to a string
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed May 14, 2010
1 parent 7f7456e commit 5751328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blog/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ function blog_get_headers() {
$PAGE->navbar->add($strblogentries, $blogurl);
$PAGE->set_title("$site->shortname: " . get_string('blog', 'blog'));
$PAGE->set_heading("$site->shortname: " . get_string('blog', 'blog'));
$headers['heading'] = get_string('siteblog', 'blog');
$headers['heading'] = get_string('siteblog', 'blog', $site->shortname);
// $headers['strview'] = get_string('viewsiteentries', 'blog');
}

Expand Down Expand Up @@ -726,7 +726,7 @@ function blog_get_headers() {
$PAGE->navbar->add($strblogentries, $blogurl);
$PAGE->set_title("$site->shortname: " . get_string('blog', 'blog'));
$PAGE->set_heading("$site->shortname: " . get_string('blog', 'blog'));
$headers['heading'] = get_string('siteblog', 'blog');
$headers['heading'] = get_string('siteblog', 'blog', $site->shortname);
} else

// Case 5: Blog entries associated with an activity by a specific user (courseid ignored)
Expand Down

0 comments on commit 5751328

Please sign in to comment.