mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-47576-master' of git://github.com/jethac/moodle
Conflicts: theme/bootstrapbase/style/moodle.css
This commit is contained in:
commit
529e38d141
3 changed files with 266 additions and 133 deletions
|
@ -3040,10 +3040,9 @@ EOD;
|
|||
|
||||
$am = new action_menu();
|
||||
$am->initialise_js($this->page);
|
||||
$am->set_menu_trigger(html_writer::span(
|
||||
get_string('usermenu', 'moodle'),
|
||||
"accesshide"
|
||||
));
|
||||
$am->set_menu_trigger(
|
||||
$returnstr
|
||||
);
|
||||
$am->set_alignment(action_menu::TR, action_menu::BR);
|
||||
if ($withlinks) {
|
||||
$navitemcount = count($opts->navitems);
|
||||
|
@ -3072,10 +3071,6 @@ EOD;
|
|||
}
|
||||
|
||||
return html_writer::div(
|
||||
html_writer::div(
|
||||
$returnstr,
|
||||
'userinfo'
|
||||
) .
|
||||
$this->render($am),
|
||||
$usermenuclasses
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue