--- loncom/interface/londocs.pm 2023/05/22 21:10:55 1.699 +++ loncom/interface/londocs.pm 2023/07/11 12:44:18 1.700 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.699 2023/05/22 21:10:55 raeburn Exp $ +# $Id: londocs.pm,v 1.700 2023/07/11 12:44:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -45,7 +45,6 @@ use Apache::lontemplate(); use Apache::lonsimplepage(); use Apache::lonhomework(); use Apache::lonpublisher(); -use Apache::lonparmset(); use Apache::loncourserespicker(); use HTML::Entities; use HTML::TokeParser; @@ -2657,7 +2656,7 @@ sub url_paste_fixups { if ($is_exttool) { $exttoolchg = 1; } - } elsif (($rem =~ m{\d+/ext\.tool$}) && + } elsif (($is_exttool) && ($env{'form.docs.markedcopy_options'} ne 'move')) { $dbcopies->{$oldurl}{$id}{'src'} = $ressrc; $dbcopies->{$oldurl}{$id}{'cdom'} = $srcdom; @@ -3754,7 +3753,7 @@ sub multiple_check_form { return unless (ref($listsref) eq 'HASH'); my $disabled; unless ($canedit) { - $disabled = 'disabled="disabled"'; + $disabled = ' disabled="disabled"'; } my $output = '
'. @@ -3792,7 +3791,7 @@ sub multiple_check_form { ''."\n". ''. ''. - ''. ''."\n"; } @@ -6896,6 +6895,7 @@ unless ($container eq 'page') { $pathitem +
SUPDOCFORM