projects
/
atutor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7d761cc
)
4835: Inlcude http and https links in the manifest iff it is accessforall export.
author
harris wong
<hwong@ocad.ca>
Mon, 29 Aug 2011 16:49:36 +0000
(16:49 -0000)
committer
harris wong
<hwong@ocad.ca>
Mon, 29 Aug 2011 16:49:36 +0000
(16:49 -0000)
docs/mods/_core/imscc/include/ims_template.inc.php
patch
|
blob
|
history
diff --git
a/docs/mods/_core/imscc/include/ims_template.inc.php
b/docs/mods/_core/imscc/include/ims_template.inc.php
index
9f73d3a
..
a34d4a6
100644
(file)
--- 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