Added a better string as per MDL-6379

This commit is contained in:
moodler
2006-08-28 07:12:10 +00:00
parent b2174cc86b
commit 9250203ff5
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -48,7 +48,7 @@
$strpotentialusers = get_string('potentialusers', 'role');
$strexistingusers = get_string('existingusers', 'role');
$straction = get_string('assignroles', 'role');
$strcurrentrole = get_string('currentrole', 'role');
$strroletoassign = get_string('roletoassign', 'role');
$strcurrentcontext = get_string('currentcontext', 'role');
$strsearch = get_string('search');
$strshowall = get_string('showall');
@@ -169,7 +169,7 @@
if ($courseid) {
print ('<input type="hidden" name="courseid" value="'.$courseid.'" />');
}
print ('<input type="hidden" name="contextid" value="'.$context->id.'" />'.$strcurrentrole.': ');
print ('<input type="hidden" name="contextid" value="'.$context->id.'" />'.$strroletoassign.': ');
choose_from_menu ($assignableroles, 'roleid', $roleid, 'choose', $script='rolesform.submit()');
print ('</div></form>');
+1
View File
@@ -12,6 +12,7 @@ $string['overrideroles'] = 'Override roles';
$string['potentialusers'] = '$a potential users';
$string['prevent'] = 'Prevent';
$string['prohibit'] = 'Prohibit';
$string['roletoassign'] = 'Role to assign';
$string['site:doanything'] = 'Allowed to do everything';
$string['legacy:guest'] = 'LEGACY ROLE: Guest';