summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 11:48:17 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-21 11:48:17 +0100
commit854159ddbf2c284118a83495e215a178f2bf39e9 (patch)
treeb0428e3db3975a48f2b9cc0cc5f965c89d0c4b19 /sqlbox
parent93269a59dcc12a69969fdee366cc491fd8c4c35c (diff)
downloadsqltutor-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.php2
-rw-r--r--sqlbox/view.php2
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)