From e6d9384cfa1af9c69636b4bc6bf1108327ea3085 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 21 Nov 2012 13:06:06 +0100 Subject: sqlbox: Add prefixes to form Or it clashes with moodle search box. --- sqlbox/sqlbox_form.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sqlbox/sqlbox_form.php') 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'); } } -- cgit