mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
user/view: Bugfix for broken XHTML on non-local user view
Author: Donal McMullan <donal@catalyst.net.nz>
This commit is contained in:
parent
66ebd55b6b
commit
840c12f362
@ -172,7 +172,7 @@
|
||||
include('tabs.php');
|
||||
|
||||
if (is_mnet_remote_user($user)) {
|
||||
echo "<p class=\"errorboxcontent\">This profile is for a remote user from another Moodle system. <br>\n";
|
||||
echo "<p class=\"errorboxcontent\">This profile is for a remote user from another Moodle system. <br />\n";
|
||||
$remotehost = get_record('mnet_host', 'id', $user->mnethostid);
|
||||
echo "Remote Moodle: <a href=\"{$remotehost->wwwroot}/user/edit.php\">{$remotehost->name}</a> (click here to edit your profile on the remote server) </p>\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user