blocks editing: MDL-19889 tidy up HTML form class.

This commit is contained in:
tjhunt
2009-07-21 09:20:44 +00:00
parent 0edd65352f
commit a60bdd8cfd
2 changed files with 2 additions and 24 deletions
+2 -2
View File
@@ -31,11 +31,11 @@
*/
class block_html_edit_form extends block_edit_form {
protected function specific_definition($mform) {
// Then show the fields about where this block appears.
// Fields for editing HTML block title and contents.
$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
$mform->addElement('text', 'config_title', get_string('configtitle', 'block_html'));
$mform->setType('configtitle', PARAM_MULTILANG);
$mform->setType('config_title', PARAM_MULTILANG);
// TODO MDL-19844 should use the new editor field type.
$mform->addElement('htmleditor', 'config_text', get_string('configcontent', 'block_html'));