MDL-16378 Changes to lang strings,
remoteappuser should be output as somthing like 'Remote Moodle User' or 'Remote Mahara User' or 'Remote <application name goes here> User'
This commit is contained in:
@@ -444,6 +444,7 @@ $string['editorhelptopics'] = 'Editor Help Topics.';
|
||||
$string['editorresettodefaults'] = 'Reset to default values';
|
||||
$string['editorsettings'] = 'Editor settings';
|
||||
$string['editorshortcutkeys'] = 'Editor shortcut keys';
|
||||
$string['editremoteprofile'] = 'Edit remote profile';
|
||||
$string['editsummary'] = 'Edit summary';
|
||||
$string['editthisactivity'] = 'Edit this activity';
|
||||
$string['editthiscategory'] = 'Edit this category';
|
||||
@@ -1243,7 +1244,7 @@ $string['registrationsend'] = 'Send registration information to moodle.org';
|
||||
$string['registrationyes'] = 'Yes, please notify me about important issues';
|
||||
$string['reject'] = 'Reject';
|
||||
$string['reload'] = 'Reload';
|
||||
$string['remotemaharauser'] = 'Remote Mahara User';
|
||||
$string['remoteappuser'] = 'Remote $a User';
|
||||
$string['remove'] = 'Remove';
|
||||
$string['removeadmin'] = 'Remove admin';
|
||||
$string['removecreator'] = 'Remove course creator';
|
||||
|
||||
+1
-1
@@ -189,7 +189,7 @@
|
||||
|
||||
$remotehost = $DB->get_record_sql($sql, array($user->mnethostid));
|
||||
|
||||
echo '<p class="errorboxcontent">'.get_string('remote'.$remotehost->application.'user')." <br />\n";
|
||||
echo '<p class="errorboxcontent">'.get_string('remoteappuser', $remotehost->application)." <br />\n";
|
||||
if ($USER->id == $user->id) {
|
||||
if ($remotehost->application =='moodle') {
|
||||
echo "Remote {$remotehost->display_name}: <a href=\"{$remotehost->wwwroot}/user/edit.php\">{$remotehost->name}</a> ".get_string('editremoteprofile')." </p>\n";
|
||||
|
||||
Reference in New Issue
Block a user