From: jamiesensei Date: Sun, 29 Oct 2006 10:19:48 +0000 (+0000) Subject: added help button for format drop down X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cd9f129f8162ffd28c49d7e58209ec5f36dd234d;p=moodle.git added help button for format drop down --- diff --git a/mod/glossary/comment_form.php b/mod/glossary/comment_form.php index 5a6e6c6420..ba69f51176 100644 --- a/mod/glossary/comment_form.php +++ b/mod/glossary/comment_form.php @@ -1,6 +1,5 @@ libdir.'/formslib.php'; class glossary_comment_form extends moodleform { @@ -13,6 +12,7 @@ class glossary_comment_form extends moodleform { $mform->setType('entrycomment', PARAM_RAW); // processed by trusttext or cleaned before the display $mform->addElement('format', 'format', get_string('format')); + $mform->setHelpButton('format', array("textformat", get_string("helpformatting"))); // hidden optional params $mform->addElement('hidden', 'cid', 0);