* added error message for setHelpButton method not existing

* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
This commit is contained in:
jamiesensei
2006-09-26 09:42:42 +00:00
parent 51d59bbb08
commit 80f962df90
6 changed files with 40 additions and 18 deletions
+1 -1
View File
@@ -213,7 +213,7 @@
}else {
$mform->addElement('hidden', 'restrictmodules', $default->restrictmodules);
}
$mform->add_help_buttons(array('category'=>array("coursecategory", get_string("category")),
$mform->addHelpButtons(array('category'=>array("coursecategory", get_string("category")),
'fullname'=>array("coursefullname", get_string("fullname")),
'shortname'=>array("courseshortname", get_string("shortname")),
'idnumber'=>array("courseidnumber", get_string("idnumbercourse")),