aboutsummaryrefslogtreecommitdiff
path: root/settings.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2018-02-02 16:53:59 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2018-02-02 16:53:59 +0100
commit8ad4a477c15f928323da24aff4188bd7f0dca1d9 (patch)
tree0f0e488eaacefc304154d6e68e1e2a41cb148cb5 /settings.php
parentec3cabf60551be0c589b11fa5db8de302645988e (diff)
Ajax dynamic formula display
Diffstat (limited to 'settings.php')
-rw-r--r--settings.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/settings.php b/settings.php
index 525324a..1c6fa30 100644
--- a/settings.php
+++ b/settings.php
@@ -54,4 +54,11 @@ if ($ADMIN->fulltree) {
array('times' => new lang_string('times', 'qtype_algebra'),
'cdot' => new lang_string('cdot', 'qtype_algebra')
)));
+ // Method to diplay TeX formatted answer formula.
+ $settings->add(new admin_setting_configselect('qtype_algebra/formuladisplay',
+ new lang_string('formuladisplay', 'qtype_algebra'),
+ '', 'times',
+ array('iframe' => new lang_string('iframe', 'qtype_algebra'),
+ 'dynamic' => new lang_string('dynamic', 'qtype_algebra')
+ )));
}