taking out unwanted/broken strings from mod_form to make form xhtml strict MDL-7861

This commit is contained in:
toyomoyo
2006-12-22 04:23:43 +00:00
parent ce926cb8d8
commit 6221541139
+1 -1
View File
@@ -37,7 +37,7 @@ class glossary_mod_form extends moodleform_mod {
$mform->setHelpButton('mainglossary', array('mainglossary', get_string('mainglossary', 'glossary'), 'glossary'));
$mform->setDefault('mainglossary', 0);
$mform->addElement('selectyesno', 'allowduplicatedentries', get_string('allowduplicatedentries', 'glossary'), $options);
$mform->addElement('selectyesno', 'allowduplicatedentries', get_string('allowduplicatedentries', 'glossary'));
$mform->setDefault('allowduplicatedentries', $CFG->glossary_dupentries);
$mform->setHelpButton('allowduplicatedentries', array('allowduplicatedentries', get_string('allowduplicatedentries', 'glossary'), 'glossary'));