version 1.23, 2002/11/21 22:35:32
|
version 1.24, 2002/11/22 20:06:21
|
Line 118 sub start_displayweight {
|
Line 118 sub start_displayweight {
|
$Apache::outputtags::showonce{'displayweight'}=1; |
$Apache::outputtags::showonce{'displayweight'}=1; |
} |
} |
my $status=$Apache::inputtags::status['-1']; |
my $status=$Apache::inputtags::status['-1']; |
if (($status =~ /CAN.*_ANSWER/) && ($target eq 'web' || $target eq 'tex')) { |
if ($target eq 'web' || $target eq 'tex') { |
my $id = $Apache::inputtags::part; |
my $id = $Apache::inputtags::part; |
my $weight = &Apache::lonnet::EXT("resource.$id.weight"); |
my $weight = &Apache::lonnet::EXT("resource.$id.weight"); |
&Apache::lonxml::debug("duedatebox found $weight for $id"); |
&Apache::lonxml::debug("duedatebox found $weight for $id"); |