From c5794c0efef55f36a4a0d1a8f235aedebe3c9601 Mon Sep 17 00:00:00 2001 From: harris wong Date: Mon, 29 Aug 2011 16:49:36 +0000 Subject: [PATCH] 4835: Inlcude http and https links in the manifest iff it is accessforall export. --- docs/mods/_core/imscc/include/ims_template.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/mods/_core/imscc/include/ims_template.inc.php b/docs/mods/_core/imscc/include/ims_template.inc.php index 9f73d3a1a..a34d4a625 100644 --- a/docs/mods/_core/imscc/include/ims_template.inc.php +++ b/docs/mods/_core/imscc/include/ims_template.inc.php @@ -367,7 +367,9 @@ function print_organizations($parent_id, $content_files .= str_replace('{FILE}', $file, $ims_template_xml['file']); } else { if (preg_match('/^http[s]?\:/', $file) == 1){ - $content_files .= str_replace('{FILE}', $file, $ims_template_xml['xml']); + if ($use_a4a) { + $content_files .= str_replace('{FILE}', $file, $ims_template_xml['xml']); + } } elseif (file_exists($file_path) && is_file($file_path)) { //http://www.atutor.ca/atutor/mantis/view.php?id=4313 //relative link that goes beyond get.php shouldn't be added -- 2.17.1