[LON-CAPA-cvs] cvs: loncom /homework/templates sampleexternal.pl

kruse kruse at source.lon-capa.org
Wed Sep 11 06:29:58 EDT 2013


kruse		Wed Sep 11 10:29:58 2013 EDT

  Modified files:              
    /loncom/homework/templates	sampleexternal.pl 
  Log:
  WORK IN PROGRESS: Added xml-tag and placeholder-variable according to changes in externalresponse.pm for offering handbackfiles
  
  
Index: loncom/homework/templates/sampleexternal.pl
diff -u loncom/homework/templates/sampleexternal.pl:1.3 loncom/homework/templates/sampleexternal.pl:1.4
--- loncom/homework/templates/sampleexternal.pl:1.3	Sat Feb  4 15:12:40 2012
+++ loncom/homework/templates/sampleexternal.pl	Wed Sep 11 10:29:58 2013
@@ -65,6 +65,7 @@
    }   
 }
 
+my $handbackurl = "Here will be the URL of the handbackfile";
 #
 # ==== The remainder is sending results $award and $message back to LON-CAPA
 #
@@ -99,6 +100,7 @@
 <loncapagrade>
     <awarddetail>$award</awarddetail>
     <message><![CDATA[$message]]></message>
+    <handbackurl>$handbackurl</handbackurl>
     <awarded></awarded>
 </loncapagrade>
 ENDOUT




More information about the LON-CAPA-cvs mailing list