--- loncom/imspackages/imsimport.pm 2013/06/04 22:20:28 1.39 +++ loncom/imspackages/imsimport.pm 2013/07/15 14:32:51 1.41 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: imsimport.pm,v 1.39 2013/06/04 22:20:28 raeburn Exp $ +# $Id: imsimport.pm,v 1.41 2013/07/15 14:32:51 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -100,7 +100,7 @@ function createWin() { newWindow.document.write("") newWindow.document.write("") newWindow.document.write("$fullpath") - newWindow.document.write("") + newWindow.document.write("") newWindow.document.write("\\n") newWindow.document.write("") newWindow.document.write('$end_page') @@ -298,11 +298,11 @@ sub display_one {
'."\n". &Apache::lonhtmlcommon::topic_bar(2,&mt('Create a directory where you will unpack your IMS package'))."\n". - &mt('Create a destination LON-CAPA directory in which to store the contents of the IMS package file.').'  

+ &mt('Create a destination LON-CAPA directory in which to store the contents of the IMS package file.').'  

-      - +      + '); } @@ -409,7 +409,7 @@ sub display_two { $r->print(&Apache::loncommon::start_data_table_row()."\n". 'print('onClick="javascript:setOptions('."'$area','$counter'".');" '); + $r->print('onclick="javascript:setOptions('."'$area','$counter'".');" '); } $r->print('/>'. '  '.$$areaname{$area}.'   - '. @@ -459,8 +459,8 @@ sub display_two { if ($count{users} == 0) { $r->print(''."\n"); } - $r->print('    - '); + $r->print('    + '); } else { $r->print($lt{'unpa'}); } @@ -751,7 +751,7 @@ END_JS &display_three($r,$uname,$udom,\@areas,\%areaname,\%cmsmap,$destdir,$dirpath); } } else { - &Apache::lonupload::phaseone($r,$fn,'imsimport'); + &Apache::lonupload::phaseone($r,$fn,'imsimport',$uname,$udom); } $r->print(&Apache::loncommon::end_page()); return OK;