rating MDL-23908 reformated the rating role hints

This commit is contained in:
Andrew Davis 2010-08-25 09:00:56 +00:00
parent 2396a414e8
commit 52eac7506c
2 changed files with 2 additions and 3 deletions

View file

@ -366,7 +366,7 @@ abstract class moodleform_mod extends moodleform {
} }
} }
$mform->addElement('static', 'rolewarning', '', get_string('canrate','rating', implode(', ', $rolesthatcanrate))); $mform->addElement('static', 'rolewarning', get_string('rolewarning','rating'), implode(', ', $rolesthatcanrate));
$mform->addHelpButton('rolewarning', 'rolewarning', 'rating'); $mform->addHelpButton('rolewarning', 'rolewarning', 'rating');
$mform->addElement('select', 'assessed', get_string('aggregatetype', 'rating') , $rm->get_aggregate_types()); $mform->addElement('select', 'assessed', get_string('aggregatetype', 'rating') , $rm->get_aggregate_types());

View file

@ -36,7 +36,6 @@ There are 5 aggregate types:
If "No ratings" is selected, then the forum activity will not appear in the gradebook.'; If "No ratings" is selected, then the forum activity will not appear in the gradebook.';
$string['allowratings'] = 'Allow items to be rated?'; $string['allowratings'] = 'Allow items to be rated?';
$string['canrate'] = 'Roles with permission to rate: {$a}';
$string['norate'] = 'Rating of items not allowed!'; $string['norate'] = 'Rating of items not allowed!';
$string['noviewanyrate'] = 'You can only look at results for posts that you made'; $string['noviewanyrate'] = 'You can only look at results for posts that you made';
$string['noviewrate'] = 'You do not have the capability to view post ratings'; $string['noviewrate'] = 'You do not have the capability to view post ratings';
@ -45,5 +44,5 @@ $string['ratepermissiondenied'] = 'You do not have permission to rate this item'
$string['rating'] = 'Rating'; $string['rating'] = 'Rating';
$string['ratingtime'] = 'Restrict ratings to items with dates in this range:'; $string['ratingtime'] = 'Restrict ratings to items with dates in this range:';
$string['ratings'] = 'Ratings'; $string['ratings'] = 'Ratings';
$string['rolewarning'] = 'Ratings'; $string['rolewarning'] = 'Roles with permission to rate';
$string['rolewarning_help'] = 'Aggregated ratings appear in the gradebook. Click on Permissions under module administration to change who can submit ratings.'; $string['rolewarning_help'] = 'Aggregated ratings appear in the gradebook. Click on Permissions under module administration to change who can submit ratings.';