MDL-58461 filter_mathjaxloader: Update defaults
Also included a version bump for Moodle in order to trigger a filter upgrade.
This commit is contained in:
@@ -33,14 +33,14 @@ if ($ADMIN->fulltree) {
|
||||
$item = new admin_setting_configtext('filter_mathjaxloader/httpurl',
|
||||
new lang_string('httpurl', 'filter_mathjaxloader'),
|
||||
new lang_string('httpurl_help', 'filter_mathjaxloader'),
|
||||
'http://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js',
|
||||
'http://cdnjs.cloudflare.com/ajax/libs/mathjax/2.6.1/MathJax.js',
|
||||
PARAM_RAW);
|
||||
$settings->add($item);
|
||||
|
||||
$item = new admin_setting_configtext('filter_mathjaxloader/httpsurl',
|
||||
new lang_string('httpsurl', 'filter_mathjaxloader'),
|
||||
new lang_string('httpsurl_help', 'filter_mathjaxloader'),
|
||||
'https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js',
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.6.1/MathJax.js',
|
||||
PARAM_RAW);
|
||||
$settings->add($item);
|
||||
|
||||
@@ -51,6 +51,7 @@ if ($ADMIN->fulltree) {
|
||||
$settings->add($item);
|
||||
|
||||
$default = '
|
||||
MathJax.Ajax.config.path["Contrib"] = "{wwwroot}/filter/mathjaxloader/contrib";
|
||||
MathJax.Hub.Config({
|
||||
config: ["Accessible.js", "Safe.js"],
|
||||
errorSettings: { message: ["!"] },
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2016052305.01; // 20160523 = branching date YYYYMMDD - do not modify!
|
||||
$version = 2016052305.02; // 20160523 = branching date YYYYMMDD - do not modify!
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user