Do not support tags yet until the API stabilizes

The generated form uses deprecated calls at the moment.
This commit is contained in:
David Mudrak
2010-01-04 17:49:43 +00:00
parent 088e75ca19
commit 91e25af93b
+5 -4
View File
@@ -63,10 +63,11 @@ class workshop_edit_strategy_form extends moodleform {
$this->definition_inner($mform);
if (!empty($CFG->usetags)) {
$mform->addElement('header', 'tagsheader', get_string('tags'));
$mform->addElement('tags', 'tags', get_string('tags'));
}
// todo - tags support
//if (!empty($CFG->usetags)) {
// $mform->addElement('header', 'tagsheader', get_string('tags'));
// $mform->addElement('tags', 'tags', get_string('tags'));
//}
$buttonarray = array();
$buttonarray[] = &$mform->createElement('submit', 'saveandcontinue', get_string('saveandcontinue', 'workshop'));