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:
peterbulmer
2008-09-10 03:21:04 +00:00
parent af66ad1fe1
commit 856bbd151c
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -441,6 +441,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';
@@ -1236,7 +1237,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
View File
@@ -199,7 +199,7 @@
$remotehost = get_record_sql($sql);
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";