[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 13 Jan 2007 06:19:00 -0000


albertel		Sat Jan 13 01:19:00 2007 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - got them backwards
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.219 loncom/homework/bridgetask.pm:1.220
--- loncom/homework/bridgetask.pm:1.219	Sat Jan 13 01:11:17 2007
+++ loncom/homework/bridgetask.pm	Sat Jan 13 01:19:00 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.219 2007/01/13 06:11:17 albertel Exp $
+# $Id: bridgetask.pm,v 1.220 2007/01/13 06:19:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2486,13 +2486,13 @@
     $status .= '.';
     if ($counts->{'opt'}) {
 	$status .= ' You were required to pass '.$counts->{'opt_req'}.
-	    'optional ';
+	    ' optional ';
 	if ($counts->{'opt_dim'} + $counts->{'man_dim'} < 1) {
 	    $status .=
-		' component'.($counts->{'opt_req'} == 1?'':'s');
+		($counts->{'opt_req'} == 1?'criterion':'criteria');
 	} else {
 	    $status .=
-		($counts->{'opt_req'} == 1?'criterion':'criteria');
+		'component'.($counts->{'opt_req'} == 1?'':'s');
 	}
 	$status .= '.';
     }