[LON-CAPA-cvs] cvs: loncom /homework/templates DropBox.problem DropBox.problem.meta

www lon-capa-cvs@mail.lon-capa.org
Fri, 27 Jan 2006 02:26:47 -0000


www		Thu Jan 26 21:26:47 2006 EDT

  Modified files:              
    /loncom/homework/templates	DropBox.problem DropBox.problem.meta 
  Log:
  More file types
  
  
Index: loncom/homework/templates/DropBox.problem
diff -u loncom/homework/templates/DropBox.problem:1.2 loncom/homework/templates/DropBox.problem:1.3
--- loncom/homework/templates/DropBox.problem:1.2	Thu Jan 26 21:17:20 2006
+++ loncom/homework/templates/DropBox.problem	Thu Jan 26 21:26:46 2006
@@ -1,8 +1,9 @@
 <problem>
-<startouttext />
 <displaytitle />
-<endouttext />
+<instructorcomment><font color="red">To change the allowed file types for
+submissions, changed the "uploadedfiletypes" parameter in
+PPRM.</font></instructorcomment>
 <essayresponse id="upload">
-    <responseparam name="uploadedfiletypes" default="doc,xls,ppt,pdf,txt" type="string_fileext" description="Allowed File Extensions for Uploaded Files" />
+    <responseparam name="uploadedfiletypes" default="doc,xls,ppt,png,jpg,jpeg,gif,txt,pdf,htm,html" type="string_fileext" description="Allowed File Extensions for Uploaded Files" />
 </essayresponse>
 </problem>
Index: loncom/homework/templates/DropBox.problem.meta
diff -u loncom/homework/templates/DropBox.problem.meta:1.2 loncom/homework/templates/DropBox.problem.meta:1.3
--- loncom/homework/templates/DropBox.problem.meta:1.2	Thu Jan 26 21:17:20 2006
+++ loncom/homework/templates/DropBox.problem.meta	Thu Jan 26 21:26:46 2006
@@ -2,7 +2,7 @@
 <creationdate>1138327352</creationdate>
 <lastrevisiondate>1138327352</lastrevisiondate>
 <mime>problem</mime>
-<parameter part="0" id="upload" name="uploadedfiletypes" type="string_fileext" default="doc,xls,ppt,pdf,txt" display="Allowed File Extensions for Uploaded Files [Part: 0_upload]"></parameter>
+<parameter part="0" id="upload" name="uploadedfiletypes" type="string_fileext" default="doc,xls,ppt,png,jpg,jpeg,gif,txt,pdf,htm,html" display="Allowed File Extensions for Uploaded Files [Part: 0_upload]"></parameter>
 <parameter part="0" id="upload" package="essayresponse"></parameter>
 <parameter part="0" package="part"></parameter>
 <responseorder>upload</responseorder>