$string['gradeexceptionshelp'] = 'Grade Exceptions Help';
$string['gradehelp'] = 'Grade Help';
$string['gradeitem'] = 'Grade item';
-$string['gradeitemislocked'] = 'This activity is locked in the gradebook. If you regrade it, the grades held internally by this activity will be different from the ones in the gradebook, the latter which will remain unchanged. Are you sure you want to proceed with the regrading?';
+$string['gradeitemislocked'] = 'This activity is locked in the gradebook. Changes that are made to grades in this activity will not be copied to the gradebook until it is unlocked.';
$string['gradeitemlocked'] = 'Grading locked';
$string['gradeitemsinc'] = 'Grade items to be included';
$string['gradeitemaddusers'] = 'Exclude from Grading';
} else {
if ($grade_item->is_locked()) {
- $confirm_regrade = optional_param('confirm_regrade', 0, PARAM_INT);
- if (!$confirm_regrade) {
- $message = get_string('gradeitemislocked', 'grades', $grade_item->itemname);
- $back_link = '';
- $regrade_link = qualified_me() . '&confirm_regrade=1';
- notice_yesno($message, $regrade_link, $back_link);
- return GRADE_UPDATE_ITEM_LOCKED;
- }
+ $message = get_string('gradeitemislocked', 'grades', $grade_item->itemname);
+ notice($message);
+ return GRADE_UPDATE_ITEM_LOCKED;
}
if ($itemdetails) {