diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-23 10:15:28 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-11-23 10:38:38 +0100 |
commit | d1aaba539247b3602d8e7351ecdc694c5cdc33d1 (patch) | |
tree | 798cd2289245f8da3cafe5430693b90c64582d0d /sqlbox/mod_form.php | |
parent | e20a959086a9f1a9680c0a1cf89c8782a8f0cdb9 (diff) | |
download | sqltutor-plugin-d1aaba539247b3602d8e7351ecdc694c5cdc33d1.tar.gz sqltutor-plugin-d1aaba539247b3602d8e7351ecdc694c5cdc33d1.tar.bz2 sqltutor-plugin-d1aaba539247b3602d8e7351ecdc694c5cdc33d1.zip |
sqlbox: Compare user query results from a definable query
Diffstat (limited to 'sqlbox/mod_form.php')
-rw-r--r-- | sqlbox/mod_form.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sqlbox/mod_form.php b/sqlbox/mod_form.php index 41d1ad5..4f7c820 100644 --- a/sqlbox/mod_form.php +++ b/sqlbox/mod_form.php @@ -61,6 +61,8 @@ 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"'); + //------------------------------------------------------------------------------- // Adding the rest of sqlbox settings, spreeading all them into this fieldset // or adding more fieldsets ('header' elements) if needed for better logic |