Return to examupload.problem CVS log | Up to [LON-CAPA] / loncom / homework / templates |
Bug #1887: grammatical fix for 1 point awarded.
<problem> <displaytitle /> <script type="loncapa/perl"> $weight=&EXT('resource.0.weight'); if ((!defined($weight)) || ($weight eq '')) { $weight=0; } $awarded=&EXT('user.resource.resource.0.awarded'); if (!defined($awarded)) { $awarded=0; } </script> <startouttext /> You have <display>$awarded*$weight</display> out of $weight possible points. <endouttext /> <notsolved><numericalresponse id='score' /></notsolved> </problem>