diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-21 13:06:06 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-21 13:10:03 +0100 |
commit | e6d9384cfa1af9c69636b4bc6bf1108327ea3085 (patch) | |
tree | e2c5a4df00ed80148f9dd861348204a171843dcb /sqlbox/sqlbox_form.php | |
parent | 199d95ae1f065a3a252af3d4aad9bc3d778aedd3 (diff) | |
download | sqltutor-plugin-e6d9384cfa1af9c69636b4bc6bf1108327ea3085.tar.gz sqltutor-plugin-e6d9384cfa1af9c69636b4bc6bf1108327ea3085.tar.bz2 sqltutor-plugin-e6d9384cfa1af9c69636b4bc6bf1108327ea3085.zip |
sqlbox: Add prefixes to form
Or it clashes with moodle search box.
Diffstat (limited to 'sqlbox/sqlbox_form.php')
-rw-r--r-- | sqlbox/sqlbox_form.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlbox/sqlbox_form.php b/sqlbox/sqlbox_form.php index c91888c..946fad4 100644 --- a/sqlbox/sqlbox_form.php +++ b/sqlbox/sqlbox_form.php @@ -8,9 +8,9 @@ class mod_sqlbox_form extends moodleform { public function definition() { $mform = &$this->_form; - $mform->addElement('header', 'general', 'SQLBox'); - $mform->addElement('text', 'query', 'SQL Query', 'size="50"'); - $mform->addElement('submit', 'button', 'Submit'); + $mform->addElement('header', 'sqlbox_general', 'SQLBox'); + $mform->addElement('text', 'sqlbox_query', 'SQL Query', 'size="50"'); + $mform->addElement('submit', 'sqlbox_button', 'Submit'); } } |