diff options
-rw-r--r-- | sqlbox/mod_form.php | 2 | ||||
-rw-r--r-- | sqlbox/sqlbox_form.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sqlbox/mod_form.php b/sqlbox/mod_form.php index c59fba7..bff0db3 100644 --- a/sqlbox/mod_form.php +++ b/sqlbox/mod_form.php @@ -61,7 +61,7 @@ class mod_sqlbox_mod_form extends moodleform_mod { // Adding the standard "intro" and "introformat" fields $this->add_intro_editor(); - $mform->addElement('text', 'query', 'SQL Query', 'size="50"'); + $mform->addElement('textarea', 'query', 'SQL Query', 'rows="15" cols="60"'); /* //------------------------------------------------------------------------------- // Adding the rest of sqlbox settings, spreeading all them into this fieldset diff --git a/sqlbox/sqlbox_form.php b/sqlbox/sqlbox_form.php index 19a5e93..e193c7a 100644 --- a/sqlbox/sqlbox_form.php +++ b/sqlbox/sqlbox_form.php @@ -9,7 +9,7 @@ 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('textarea', 'sqlbox_query', 'SQL Query', 'rows="15" cols="60"'); $mform->addElement('submit', 'sqlbox_button', 'Submit'); } |