--- loncom/imspackages/imsimport.pm 2006/03/23 23:17:46 1.15
+++ loncom/imspackages/imsimport.pm 2006/03/27 18:39:55 1.17
@@ -46,6 +46,8 @@ sub jscript_one {
'js_ready' => 1,});
my $end_page =
&Apache::loncommon::end_page({'js_ready' => 1,});
+ $start_page =~ s/\n/\\n/g;
+ $end_page =~ s/\n/\\n/g;
$$jsref = <<"END_OF_ONE";
function verify() {
@@ -304,7 +306,7 @@ Please choose the CMS used to create you
-
+
@@ -411,7 +413,7 @@ sub display_two {
$manifest_result = &Apache::imsprocessor::process_manifest($cms,$tempdir,\%resources,\%items,\%hrefs,\%resinfo,'choose',\%includedres,\%includeditems);
if ($manifest_result eq 'ok') {
foreach my $res (sort keys %resources) {
- if ($cms eq 'bb5' || $cms eq 'bb6' || $cms eq 'webct4') {
+ if ($cms eq 'bb5' || $cms eq 'bb6' || $cms eq 'webctce4') {
foreach my $area (keys %{$$cmsmap{$cms}}) {
if ($resources{$res}{type} eq $$cmsmap{$cms}{$area}) {
$count{$area} ++;