mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-19792 Applied Sam's patch
This commit is contained in:
parent
84f797db5d
commit
e640790eb6
5 changed files with 14 additions and 32 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue