Commit 999e0bcd authored by Aaron Wells's avatar Aaron Wells
Browse files

Change MNet backnav link text to say "Return to <sitename>"

Bug 1413547

Change-Id: I8651c35de876ff4c5ddd686792d0a0ccf5195bcf
parent f6cafa68
......@@ -16,4 +16,4 @@ $string['description'] = 'Authenticate via SSO from an external application';
$string['notusable'] = 'Please install the XML-RPC, Curl and OpenSSL PHP extensions.';
$string['networkingdisabledonthissite'] = 'Networking is disabled on this site.';
$string['networkservers'] = 'Network servers';
$string['youhaveloggedinfrom'] = 'You have logged in from <a href="%s">%s</a>.';
$string['youhaveloggedinfrom1'] = 'Return to <a href="%s">%s</a>';
......@@ -2967,7 +2967,7 @@ function profile_sideblock() {
if ($authobj->authname == 'xmlrpc') {
$peer = get_peer($authobj->wwwroot);
if ($SESSION->get('mnetuser')) {
$data['mnetloggedinfrom'] = get_string('youhaveloggedinfrom', 'auth.xmlrpc', $authobj->wwwroot, institution_display_name($peer->institution));
$data['mnetloggedinfrom'] = get_string('youhaveloggedinfrom1', 'auth.xmlrpc', $authobj->wwwroot, $peer->name);
}
else {
$data['peer'] = array('name' => $peer->name, 'wwwroot' => $peer->wwwroot);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment