summaryrefslogtreecommitdiff
path: root/sqlbox/sqlbox_form.php
blob: 946fad4f6769f10f7faa1288a288fe7c090dad5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

defined('MOODLE_INTERNAL') || die();

require_once($CFG->libdir.'/formslib.php');

class mod_sqlbox_form extends moodleform {

    public function definition() {
        $mform = &$this->_form;
	$mform->addElement('header', 'sqlbox_general', 'SQLBox');
	$mform->addElement('text', 'sqlbox_query', 'SQL Query', 'size="50"');
	$mform->addElement('submit', 'sqlbox_button', 'Submit');
    }
}

?>