From: poltawski Date: Thu, 24 Jan 2008 16:11:14 +0000 (+0000) Subject: MDL-13148 - adding help popup for course module idnumber X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cea55a1c7fd5c54ec88d67b30a899eb696d616e6;p=moodle.git MDL-13148 - adding help popup for course module idnumber merged from MOODLE_19_STABLE --- diff --git a/course/moodleform_mod.php b/course/moodleform_mod.php index 9553bc0179..0cf20079b6 100644 --- a/course/moodleform_mod.php +++ b/course/moodleform_mod.php @@ -255,6 +255,7 @@ class moodleform_mod extends moodleform { $mform->addElement('modvisible', 'visible', get_string('visible')); $mform->addElement('text', 'cmidnumber', get_string('idnumber')); + $mform->setHelpButton('cmidnumber', array('cmidnumber', get_string('idnumber')), true); if ($this->_features->gradecat) { $categories = grade_get_categories_menu($COURSE->id, $outcomesused); diff --git a/lang/en_utf8/help/cmidnumber.html b/lang/en_utf8/help/cmidnumber.html new file mode 100644 index 0000000000..ae87d6d3a3 --- /dev/null +++ b/lang/en_utf8/help/cmidnumber.html @@ -0,0 +1,5 @@ +

ID number

+

Setting an ID number provides a way of identifying the activity for grade calculation purposes. +If the activity is not included in any grade calculation then the ID number field can be left blank.

+

The ID number can also be set on the edit grade calculation page in the gradebook, though it can +only be edited on the update activity page.