Skip to content

Commit

Permalink
MDL-13148 - adding help popup for course module idnumber
Browse files Browse the repository at this point in the history
merged from MOODLE_19_STABLE
  • Loading branch information
poltawski committed Jan 24, 2008
1 parent 5c225af commit cea55a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions course/moodleform_mod.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ function standard_coursemodule_elements($features=null){

$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);
Expand Down
5 changes: 5 additions & 0 deletions lang/en_utf8/help/cmidnumber.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h1>ID number</h1>
<p>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.</p>
<p> 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.</p>

0 comments on commit cea55a1

Please sign in to comment.