From: harris wong Date: Mon, 29 Aug 2011 16:49:36 +0000 (-0000) Subject: 4835: Inlcude http and https links in the manifest iff it is accessforall export. X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=atutor.git;a=commitdiff_plain;h=c5794c0efef55f36a4a0d1a8f235aedebe3c9601 4835: Inlcude http and https links in the manifest iff it is accessforall export. --- 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