diff --git a/filter/algebra/algebradebug.php b/filter/algebra/algebradebug.php index 047bf873ce8..afb060b954c 100644 --- a/filter/algebra/algebradebug.php +++ b/filter/algebra/algebradebug.php @@ -60,14 +60,10 @@ $output = algebra2tex($algebra); $output = refineTeX($output); } - if ($action == 'ShowImage'|| $action == 'SlashArguments') { + if ($action == 'ShowImage') { $output = algebra2tex($algebra); $output = refineTeX($output); - if ($action == 'ShowImage') { - tex2image($output, $md5); - } else { - slasharguments($output, $md5); - } + tex2image($output, $md5); } else { outputText($output); } @@ -252,23 +248,6 @@ function tex2image($texexp, $md5, $return=false) { } } -function slasharguments($texexp, $md5) { - global $CFG; - $admin = $CFG->wwwroot.'/'.$CFG->admin.'/settings.php?section=http'; - $image = tex2image($texexp,$md5,true); - echo "
If the following image displays correctly, set your ";
- echo "Administration->Server->HTTP ";
- echo "setting for slasharguments to file.php/1/pic.jpg: ";
- echo "
Otherwise set it to file.php?file=/1/pic.jpg ";
- echo "It should display correctly as ";
- echo "
If neither equation image displays correctly, please seek "; - echo "further help at moodle.org at the "; - echo ""; - echo "Mathematics Tools Forum
"; -} - ?> @@ -294,8 +273,6 @@ function slasharguments($texexp, $md5) { A more refined translation into TeX will appear in the box below.