mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-45496 core Added space to logged in as line
This commit is contained in:
parent
4f6e4f8d86
commit
72fcbcd444
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ class core_renderer extends renderer_base {
|
|||
$loggedinas = get_string('loggedinas', 'moodle', $username).$rolename;
|
||||
if ($withlinks) {
|
||||
$url = new moodle_url('/course/switchrole.php', array('id'=>$course->id,'sesskey'=>sesskey(), 'switchrole'=>0, 'returnurl'=>$this->page->url->out_as_local_url(false)));
|
||||
$loggedinas .= '('.html_writer::tag('a', get_string('switchrolereturn'), array('href'=>$url)).')';
|
||||
$loggedinas .= ' ('.html_writer::tag('a', get_string('switchrolereturn'), array('href' => $url)).')';
|
||||
}
|
||||
} else {
|
||||
$loggedinas = $realuserinfo.get_string('loggedinas', 'moodle', $username);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue