MDL-21695 Completion on grade help string + placeholder fix

AMOS BEGIN
 HLP completion/completionusegrade.html,[completionusegrade_help,core_completion]
AMOS END
This commit is contained in:
David Mudrak 2010-05-05 00:10:26 +00:00
parent c8dcb793c4
commit af455aa011
2 changed files with 4 additions and 3 deletions

View File

@ -531,6 +531,7 @@ abstract class moodleform_mod extends moodleform {
$mform->addElement('checkbox', 'completionusegrade', get_string('completionusegrade', 'completion'),
get_string('completionusegrade_desc', 'completion'));
$mform->disabledIf('completionusegrade', 'completion', 'ne', COMPLETION_TRACKING_AUTOMATIC);
$mform->addHelpButton('completionusegrade', 'completionusegrade', 'completion');
$gotcompletionoptions = true;
}

View File

@ -120,7 +120,7 @@ $string['inprogress']='In progress';
$string['manualcompletionby']='Manual completion by';
$string['manualselfcompletion']='Manual self completion';
$string['markcomplete']='Mark complete';
$string['markedcompleteby']='Marked complete by $a';
$string['markedcompleteby']='Marked complete by {$a}';
$string['markingyourselfcomplete']='Marking yourself complete';
$string['notenroled']='You are not enroled as a student in this course';
$string['notyetstarted']='Not yet started';
@ -145,5 +145,5 @@ $string['unenrolment']='Unenrolment';
$string['unlockcompletiondelete']='Unlock completion options and delete user completion data';
$string['usealternateselector']='Use the alternate course selector';
$string['viewcoursereport']='View course report';
$string['viewingactivity']='Viewing the $a';
$string['xdays']='$a days';
$string['viewingactivity']='Viewing the {$a}';
$string['xdays']='{$a} days';