[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 30 Jan 2006 21:01:46 -0000
albertel Mon Jan 30 16:01:46 2006 EDT
Modified files:
/loncom/homework bridgetask.pm
Log:
- getting the pass message correct.
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.98 loncom/homework/bridgetask.pm:1.99
--- loncom/homework/bridgetask.pm:1.98 Thu Jan 26 02:12:38 2006
+++ loncom/homework/bridgetask.pm Mon Jan 30 16:01:46 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: bridgetask.pm,v 1.98 2006/01/26 07:12:38 albertel Exp $
+# $Id: bridgetask.pm,v 1.99 2006/01/30 21:01:46 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -777,7 +777,7 @@
my $opt_req=&Apache::lonxml::get_param('OptionalRequired',
$parstack,$safeeval);
if ($opt_req !~ /\S/) { $opt_req='0'; }
- $status.="\n<p>".&mt('You needed to pass all of the [_1] mandatory components and [_2] of the [_3] optional components, of which you were required to pass [_4] on the bridge task.',$man_count,$opt_passed,$opt_count,$opt_req)."</p></div>\n";
+ $status.="\n<p>".&mt('You needed to pass all of the [_1] mandatory components and [_2] of the [_3] optional components, of which you passed [_4].',$man_count,$opt_req,$opt_count,$opt_passed)."</p></div>\n";
my $internal_location=&internal_location();
$result=~s/\Q$internal_location\E/$status/;