MDL-19792 Applied Sam's patch

This commit is contained in:
nicolasconnault 2009-09-07 10:01:26 +00:00
parent 84f797db5d
commit e640790eb6
5 changed files with 14 additions and 32 deletions

View file

@ -67,15 +67,14 @@ $site = get_site();
$strpreferences = get_string('preferences');
$strblogs = get_string('blogs', 'blog');
$navlinks = array(array('name' => $strblogs, 'link' => "$CFG->wwwroot/blog/", 'type' => 'misc'));
$navlinks[] = array('name' => $strpreferences, 'link' => null, 'type' => 'misc');
$navigation = build_navigation($navlinks);
$title = "$site->shortname: $strblogs : $strpreferences";
$PAGE->set_title($title);
$PAGE->set_heading($title);
$PAGE->navbar->add($strblogs, new moodle_url($CFG->wwwroot.'/blog/'));
$PAGE->navbar->add($strpreferences);
echo $OUTPUT->header($navigation);
echo $OUTPUT->header();
echo $OUTPUT->heading("$strblogs : $strpreferences", 2);