")
+ newWindow.document.write("")
+ newWindow.document.write('$end_page')
newWindow.document.close()
newWindow.focus()
}
@@ -291,11 +302,11 @@ sub display_one {
Please choose the CMS used to create your IMS content package.
@@ -318,7 +329,7 @@ Please choose the CMS used to create you
-Please choose a destination LON-CAPA directory in which to store the contents of the IMS package file.
+Please choose a destination LON-CAPA directory in which to store the contents of the IMS package file.
@@ -330,9 +341,9 @@ Please choose a destination LON-CAPA dir
-
-
-
+
+
+
@@ -343,10 +354,10 @@ Please choose a destination LON-CAPA dir
-
+
-
+
@@ -402,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} ++;
@@ -481,13 +492,13 @@ ENDBLOCK
if ($area eq 'board') {
$r->print("
");
} elsif ($area eq 'users') {
$r->print("
");
@@ -534,7 +545,7 @@ ENDBLOCKTWO
Choose course:
@@ -578,10 +589,10 @@ ENDBLOCK
-
+
-
+
@@ -860,10 +871,13 @@ sub handler {
} elsif ($env{'form.phase'} eq 'four') {
&jscript_three(\$javascript);
}
- $r->print("LON-CAPA Construction Space\n");
-
- $r->print(&Apache::loncommon::bodytag('Upload IMS package to Construction Space',undef,$loadentries));
-
+ $javascript = "\n";
+
+ my $title = 'Upload IMS package to Construction Space';
+ $r->print(&Apache::loncommon::start_page($title, $javascript,
+ {'add_entries' =>
+ $loadentries,}));
+
if (($uname ne $env{'user.name'}) || ($udom ne $env{'user.domain'})) {
$r->print('
'.&mt('Co-Author').': '.$uname.
&mt(' at ').$udom.'