[LON-CAPA-cvs] cvs: loncom /homework outputtags.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 22 Nov 2002 20:06:21 -0000
albertel Fri Nov 22 15:06:21 2002 EDT
Modified files:
/loncom/homework outputtags.pm
Log:
- show the weight all the time
Index: loncom/homework/outputtags.pm
diff -u loncom/homework/outputtags.pm:1.23 loncom/homework/outputtags.pm:1.24
--- loncom/homework/outputtags.pm:1.23 Thu Nov 21 17:35:32 2002
+++ loncom/homework/outputtags.pm Fri Nov 22 15:06:21 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# tags that create controlled output
#
-# $Id: outputtags.pm,v 1.23 2002/11/21 22:35:32 albertel Exp $
+# $Id: outputtags.pm,v 1.24 2002/11/22 20:06:21 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -118,7 +118,7 @@
$Apache::outputtags::showonce{'displayweight'}=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 $weight = &Apache::lonnet::EXT("resource.$id.weight");
&Apache::lonxml::debug("duedatebox found $weight for $id");