Return to bridgetask.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.65, 2005/10/03 21:30:58 | version 1.66, 2005/10/04 19:32:08 |
---|---|
Line 1421 sub get_instance { | Line 1421 sub get_instance { |
} | } |
} | } |
if ($man_passed eq $man_count) { $man_passed='all'; } | if ($man_passed eq $man_count) { $man_passed='all'; } |
my $opt_req=&Apache::lonxml::get_param('OptionalRequired', | my $opt_req=$dimension{$instance.'.optionalrequired'}; |
$parstack,$safeeval); | |
if ($opt_req !~ /\S/) { $opt_req='0'; } | if ($opt_req !~ /\S/) { $opt_req='0'; } |
$dim_info.="\n<p>".&mt('You passed [_1] of the [_2] mandatory components and [_3] of the [_4] optional components, of which you were required to pass [_5].',$man_passed,$man_count,$opt_passed,$opt_count,$opt_req)."</p>\n</div>"; | $dim_info.="\n<p>".&mt('You passed [_1] of the [_2] mandatory components and [_3] of the [_4] optional components, of which you were required to pass [_5].',$man_passed,$man_count,$opt_passed,$opt_count,$opt_req)."</p>\n</div>"; |