libdir.'/formslib.php'); class mod_sqlbox_form extends moodleform { public function definition() { $mform = $this->_form; $mform->addElement('header', 'general', 'SQLBox'); $mform->addElement('text', 'query', 'Query', 'size="50"'); $mform->addElement('editor', 'query2', 'Query2'); $mform->addElement('submit', 'button', 'Submit'); } } ?>