diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-21 11:48:17 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-21 11:48:17 +0100 |
commit | 854159ddbf2c284118a83495e215a178f2bf39e9 (patch) | |
tree | b0428e3db3975a48f2b9cc0cc5f965c89d0c4b19 /sqlbox | |
parent | 93269a59dcc12a69969fdee366cc491fd8c4c35c (diff) | |
download | sqltutor-plugin-854159ddbf2c284118a83495e215a178f2bf39e9.tar.gz sqltutor-plugin-854159ddbf2c284118a83495e215a178f2bf39e9.tar.bz2 sqltutor-plugin-854159ddbf2c284118a83495e215a178f2bf39e9.zip |
sqlbox: s/Query/SQL Query/
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) |