File:  [LON-CAPA] / loncom / homework / templates / examupload.problem
Revision 1.1: download - view: text, annotated - select for diffs
Sat Jul 5 10:07:11 2003 UTC (20 years, 10 months ago) by www
Branches: MAIN
CVS tags: HEAD
Have very limited connectivity, need to do big commit while online.
Will call this JULYone in Bugzilla. Fixes several small bugs.

<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> points out of $weight.
<endouttext />
<notsolved><numericalresponse id='score' /></notsolved>
</problem>

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