diff --git a/grade/edit/outcome/import_outcomes_form.php b/grade/edit/outcome/import_outcomes_form.php index 019addc2a63..18ceceef4d8 100644 --- a/grade/edit/outcome/import_outcomes_form.php +++ b/grade/edit/outcome/import_outcomes_form.php @@ -42,7 +42,7 @@ class import_outcomes_form extends moodleform { } $mform->addElement('file', 'userfile', get_string('importoutcomes', 'grades')); - $mform->setHelpButton('userfile', array('importoutcomes', get_string('importoutcomes', 'grades'), 'grade')); + $mform->addHelpButton('userfile', 'importoutcomes', 'grades'); $mform->addElement('submit', 'save', get_string('uploadthisfile')); diff --git a/lang/en/help/grade/importoutcomes.html b/lang/en/help/grade/importoutcomes.html deleted file mode 100644 index da41d677ae5..00000000000 --- a/lang/en/help/grade/importoutcomes.html +++ /dev/null @@ -1,15 +0,0 @@ -
You can import outcomes in the form of .csv files. The format must be as follows:
-| Field name | Description | Required | Format |
|---|---|---|---|
| outcome_name | The full name of the outcome | Yes | String |
| outcome_shortname | The short name of the outcome | Yes | String |
| outcome_description | The description of the outcome | No | String |
| scale_name | The name of the scale used | Yes | String |
| scale_items | A comma-separated list of scale items | Yes | String |
| scale_description | The description of the scale | No | String |
Here is an example:
-outcome_name;outcome_shortname;outcome_description;scale_name;scale_items;scale_description -Participation;participation;;Participation scale;"Little or no participation, Satisfactory participation, Full participation";\ No newline at end of file