diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2012-09-09 16:54:35 +0200 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2012-09-09 16:54:35 +0200 |
commit | 96bee2b33467a1ce54f88c77b8a867ef1f7a9a97 (patch) | |
tree | 27fe7dd14fd3742ad3a9b0eed2b1adbcddd4c3a8 /settings.php |
First version of algebra question type initially written by Roger Moore for Moodle 2.3
Diffstat (limited to 'settings.php')
-rw-r--r-- | settings.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..a0f5423 --- /dev/null +++ b/settings.php @@ -0,0 +1,11 @@ +<?php
+defined('MOODLE_INTERNAL') || die;
+
+if ($ADMIN->fulltree) {
+ //host
+ $settings->add(new admin_setting_configtext('qtype_algebra_host', get_string('host', 'qtype_algebra'), '', 'localhost', PARAM_TEXT));
+ //port
+ $settings->add(new admin_setting_configtext('qtype_algebra_port', get_string('port', 'qtype_algebra'), '', 7777, PARAM_INT));
+ //host
+ $settings->add(new admin_setting_configtext('qtype_algebra_uri', get_string('uri', 'qtype_algebra'), '', '', PARAM_TEXT));
+}
|