--- loncom/interface/londocs.pm 2009/12/20 02:09:00 1.411.2.3 +++ loncom/interface/londocs.pm 2010/01/21 23:19:17 1.416 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.411.2.3 2009/12/20 02:09:00 raeburn Exp $ +# $Id: londocs.pm,v 1.416 2010/01/21 23:19:17 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -41,7 +41,6 @@ use Apache::lonratedt(); use Apache::lonxml; use Apache::lonclonecourse; use Apache::lonnavmaps; -use Apache::londocsgci; use HTML::Entities; use GDBM_File; use Apache::lonlocal; @@ -342,20 +341,20 @@ sub exportcourse { open(OUTPUT, "zip -r $imszip * 2> /dev/null |"); close(OUTPUT); chdir $cwd; + $outcome .= '
' + .&mt('[_1]Your IMS package[_2] is ready for download.' + ,'','') + .'
'; if ($copyresult) { $outcome .= '' .&mt('The following errors occurred during export - [_1]' ,$copyresult) .'
'; } - $outcome .= '' - .&mt('[_1]Your IMS package[_2] is ready for download.' - ,'','') - .'
'; } else { $outcome = '' .&mt('Unfortunately you will not be able to retrieve' - .' an IMS archive of this posts at this time,' + .' an IMS archive of your course at this time,' .' because there was a problem creating a' .' manifest file.') .'
' @@ -369,24 +368,26 @@ sub exportcourse { $r->print($outcome); $r->print(&Apache::loncommon::end_page()); } else { - my $display; - $display = '