From: nicolasconnault Date: Fri, 17 Oct 2008 14:56:06 +0000 (+0000) Subject: MDL-13702 Added language help file. Merging from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=376592d54a60b9bd1822e40429127f5aadb3d3e3;p=moodle.git MDL-13702 Added language help file. Merging from MOODLE_19_STABLE --- diff --git a/grade/edit/outcome/import_outcomes_form.php b/grade/edit/outcome/import_outcomes_form.php index d708f9c7de..259788108c 100644 --- a/grade/edit/outcome/import_outcomes_form.php +++ b/grade/edit/outcome/import_outcomes_form.php @@ -21,6 +21,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->addElement('submit', 'save', get_string('uploadthisfile')); diff --git a/lang/en_utf8/help/grade/importoutcomes.html b/lang/en_utf8/help/grade/importoutcomes.html new file mode 100644 index 0000000000..26bd3446f8 --- /dev/null +++ b/lang/en_utf8/help/grade/importoutcomes.html @@ -0,0 +1,16 @@ +

Import outcomes

+

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 YesString
outcome_shortnameThe short name of the outcome Yes String
outcome_descriptionThe description of the outcome No String
scale_nameThe name of the scale used Yes String
scale_itemsA comma-separated list of scale items Yes String
scale_descriptionThe description of the scale No String
+ +

Here is a sample:

+
outcome_name;outcome_shortname;outcome_description;scale_name;scale_items;scale_description
+Assiduity outcome;assiduity;;Assiduity scale;"Absent,Half-way there,Assiduous,Omnipresent";
+