From 854159ddbf2c284118a83495e215a178f2bf39e9 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 21 Nov 2012 11:48:17 +0100 Subject: sqlbox: s/Query/SQL Query/ --- sqlbox/sqlbox_form.php | 2 +- 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) -- cgit