Skip to content

Commit

Permalink
rating MDL-23908 reformated the rating role hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Davis committed Aug 25, 2010
1 parent 2396a41 commit 52eac75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion course/moodleform_mod.php
Expand Up @@ -366,7 +366,7 @@ function standard_coursemodule_elements(){
}
}

$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->addElement('select', 'assessed', get_string('aggregatetype', 'rating') , $rm->get_aggregate_types());
Expand Down
3 changes: 1 addition & 2 deletions lang/en/rating.php
Expand Up @@ -36,7 +36,6 @@
If "No ratings" is selected, then the forum activity will not appear in the gradebook.';
$string['allowratings'] = 'Allow items to be rated?';
$string['canrate'] = 'Roles with permission to rate: {$a}';
$string['norate'] = 'Rating of items not allowed!';
$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';
Expand All @@ -45,5 +44,5 @@
$string['rating'] = 'Rating';
$string['ratingtime'] = 'Restrict ratings to items with dates in this range:';
$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.';

0 comments on commit 52eac75

Please sign in to comment.