--- loncom/interface/londocs.pm 2007/01/26 23:37:53 1.270 +++ loncom/interface/londocs.pm 2007/01/29 21:18:53 1.271 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.270 2007/01/26 23:37:53 albertel Exp $ +# $Id: londocs.pm,v 1.271 2007/01/29 21:18:53 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1448,7 +1448,7 @@ sub editor { foreach (@LONCAPA::map::order) { my ($name,$url)=split(/\:/,$LONCAPA::map::resources[$_]); $name=&LONCAPA::map::qtescape($name); - $url =&LONCAPA::map::qtescape($url); + $url=&LONCAPA::map::qtescape($url); unless ($name) { $name=(split(/\//,$url))[-1]; } unless ($name) { $idx++; next; } $r->print(&entryline($idx,$name,$url,$folder,$allowed,$_,$coursenum)); @@ -1574,34 +1574,42 @@ sub process_file_upload { } sub ask_for_embedded_content { - my ($actionurl,$state,$allfiles,$codebase)=@_; + my ($actionurl,$state,$allfiles,$codebase,$args)=@_; my $upload_output = '
';