mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-21119 lang menu and login info now handled by themes
This commit is contained in:
parent
684b988c94
commit
244a32c617
26 changed files with 155 additions and 187 deletions
|
@ -95,7 +95,6 @@ $PAGE->navbar->add($strcalendar, $viewcalendarurl);
|
|||
$PAGE->navbar->add($title);
|
||||
$PAGE->set_title($site->shortname.': '.$strcalendar.': '.$title);
|
||||
$PAGE->set_heading($strcalendar);
|
||||
$PAGE->set_headingmenu(user_login_string($site));
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->box_start('eventlist');
|
||||
|
|
|
@ -207,7 +207,6 @@ $PAGE->navbar->add($strcalendar, $link);
|
|||
$PAGE->navbar->add($title);
|
||||
$PAGE->set_title($site->shortname.': '.$strcalendar.': '.$title);
|
||||
$PAGE->set_heading($strcalendar);
|
||||
$PAGE->set_headingmenu(user_login_string($site));
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
|
|
|
@ -133,7 +133,6 @@ $PAGE->navbar->add($pagetitle);
|
|||
|
||||
$PAGE->set_title($site->shortname.': '.$strcalendar.': '.$pagetitle);
|
||||
$PAGE->set_heading($strcalendar);
|
||||
$PAGE->set_headingmenu(user_login_string($site));
|
||||
$PAGE->set_button($prefsbutton);
|
||||
$PAGE->set_focuscontrol('eventform.name');
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@ $PAGE->navbar->add($strpreferences, new moodle_url($CFG->wwwroot.'/calendar/view
|
|||
|
||||
$PAGE->set_title("$site->shortname: $strcalendar: $strpreferences");
|
||||
$PAGE->set_heading($strcalendar);
|
||||
$PAGE->set_headingmenu(user_login_string($site));
|
||||
|
||||
echo $OUTPUT->header();
|
||||
|
||||
|
|
|
@ -152,7 +152,6 @@ $prefsbutton = calendar_preferences_button();
|
|||
// Print title and header
|
||||
$PAGE->set_title("$site->shortname: $strcalendar: $pagetitle");
|
||||
$PAGE->set_heading($strcalendar);
|
||||
$PAGE->set_headingmenu(user_login_string($site));
|
||||
$PAGE->set_button($prefsbutton);
|
||||
|
||||
$PAGE->requires->yui2_lib('animation');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue