diff options
Diffstat (limited to 'sqlbox')
-rw-r--r-- | sqlbox/sqlbox_form.php | 2 | ||||
-rw-r--r-- | sqlbox/view.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sqlbox/sqlbox_form.php b/sqlbox/sqlbox_form.php index eb88b6f..c91888c 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', 'general', 'SQLBox'); - $mform->addElement('text', 'query', 'Query', 'size="50"'); + $mform->addElement('text', 'query', 'SQL Query', 'size="50"'); $mform->addElement('submit', 'button', 'Submit'); } } diff --git a/sqlbox/view.php b/sqlbox/view.php index f15c5e4..e9e4ba6 100644 --- a/sqlbox/view.php +++ b/sqlbox/view.php @@ -78,7 +78,7 @@ $form = new mod_sqlbox_form($PAGE->url->out(false)); $form->display(); $data = $form->get_data(); -echo $OUTPUT->heading('Query: '.$data->query); +echo $OUTPUT->heading('SQL Query: '.$data->query); if (isset($data->query)) { $db = pg_connect("host=localhost dbname=sqlbox user=sqlbox password=foobar"); if (!db) |