File:  [LON-CAPA] / loncom / homework / templates / examupload.problem
Revision 1.2: download - view: text, annotated - select for diffs
Tue Jul 15 18:23:56 2003 UTC (20 years, 10 months ago) by www
Branches: MAIN
CVS tags: HEAD
Bug #1887: grammatical fix for 1 point awarded.

    1: <problem>
    2: <displaytitle />
    3: <script type="loncapa/perl">
    4: $weight=&EXT('resource.0.weight');
    5: if ((!defined($weight)) || ($weight eq '')) { $weight=0; }
    6: $awarded=&EXT('user.resource.resource.0.awarded');
    7: if (!defined($awarded)) { $awarded=0; }
    8: </script>
    9: <startouttext />
   10: You have <display>$awarded*$weight</display> out of $weight possible points.
   11: <endouttext />
   12: <notsolved><numericalresponse id='score' /></notsolved>
   13: </problem>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>