--- loncom/interface/londocs.pm 2005/08/01 17:24:18 1.200 +++ loncom/interface/londocs.pm 2005/08/30 14:36:46 1.202 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.200 2005/08/01 17:24:18 raeburn Exp $ +# $Id: londocs.pm,v 1.202 2005/08/30 14:36:46 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -155,7 +155,9 @@ sub dumpcourse { my ($ca,$cd)=split(/\@/,$env{'form.authorspace'}); $r->print('

'.&mt('Copying Files').'

'); my $title=$env{'form.authorfolder'}; + my ($ext)=($title=~s/\.(\w+)$//); $title=&clean($title); + $title.='.'.$ext; my %replacehash=(); foreach (keys %env) { if ($_=~/^form\.namefor\_(.+)/) { @@ -251,8 +253,8 @@ sub dumpcourse { sub exportbutton { return ''. ''. - &Apache::loncommon::help_open_topic('Docs_Export_Course_Docs'); + &mt('Export Course to IMS').'" />'; + #&Apache::loncommon::help_open_topic('Docs_Export_Course_Docs'); } sub exportcourse {