[LON-CAPA-cvs] cvs: loncom /homework insertlist.xml

albertel lon-capa-cvs-allow@mail.lon-capa.org
Tue, 11 Sep 2007 19:46:05 -0000


This is a MIME encoded message

--albertel1189539965
Content-Type: text/plain

albertel		Tue Sep 11 15:46:05 2007 EDT

  Modified files:              
    /loncom/homework	insertlist.xml 
  Log:
  - BUG#5419
     - adding edit interface to externalresponse
     - adding extrenal response to insertable list, but as hidden       
  
  
--albertel1189539965
Content-Type: text/plain
Content-Disposition: attachment; filename="albertel-20070911154605.txt"

Index: loncom/homework/insertlist.xml
diff -u loncom/homework/insertlist.xml:1.8 loncom/homework/insertlist.xml:1.9
--- loncom/homework/insertlist.xml:1.8	Tue Jul 17 15:05:14 2007
+++ loncom/homework/insertlist.xml	Tue Sep 11 15:46:03 2007
@@ -50,6 +50,13 @@
 		<insert_sub>insert_essayresponse</insert_sub>
 		<allow>hintgroup,responseparam,textfield,textline</allow>
 	</tag>
+	<tag name="externalresponse">
+		<description>Response: External</description>
+		<color>#22cc22</color>
+		<insert_sub>insert_externalresponse</insert_sub>
+		<allow>hintgroup,textline,textfield</allow>
+		<show>no</show>
+	</tag>
 	<tag name="hintgroup">
 		<description>Hint</description>
 		<color>#accacc</color>
@@ -416,25 +423,25 @@
 		<description>Conditional Block</description>
 		<color>#FF3311</color>
 		<insert_sub>default</insert_sub>
-		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,part,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,web,while,window</allow>
+		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,part,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,web,while,window</allow>
 	</tag>
 	<tag name="library">
 		<description>Start of Library</description>
 		<color>#FFFFFF</color>
 		<insert_sub>default</insert_sub>
-		<allow>customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,part,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,web,while,window</allow>
+		<allow>customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,part,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,web,while,window</allow>
 	</tag>
 	<tag name="notsolved">
 		<description>Block For When Not Solved</description>
 		<color>#FFFFFF</color>
 		<insert_sub>default</insert_sub>
-		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,startouttext,stringresponse,tex,web,while,window</allow>
+		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,startouttext,stringresponse,tex,web,while,window</allow>
 	</tag>
 	<tag name="part">
 		<description>Problem Part</description>
 		<color>#F0F0F0</color>
 		<insert_sub>default</insert_sub>
-		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parameter,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,while,window</allow>
+		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parameter,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,while,window</allow>
 	</tag>
 	<tag name="postanswerdate">
 		<description>After Answer Date Block</description>
@@ -446,13 +453,13 @@
 		<description>Before Due Date Block</description>
 		<color>#FFaaaa</color>
 		<insert_sub>default</insert_sub>
-		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,while,window</allow>
+		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,while,window</allow>
 	</tag>
 	<tag name="problem">
 		<description>Start of Homework</description>
 		<color>#FFFFFF</color>
 		<insert_sub>default</insert_sub>
-		<allow>allow,block,customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,meta,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parameter,parserlib,part,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,while,window</allow>
+		<allow>allow,block,customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,meta,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parameter,parserlib,part,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,while,window</allow>
 	</tag>
         <tag name="allow">
                 <description>File Dependencies</dscription>
@@ -463,7 +470,7 @@
 		<description>Problem Type Block</description>
 		<color>#EE9955</color>
 		<insert_sub>default</insert_sub>
-		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,web,while,window</allow>
+		<allow>block,customresponse,display,displayduedate,displaytitle,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlabel,randomlist,rankresponse,reactionresponse,script,scriptlib,solved,startouttext,stringresponse,tex,web,while,window</allow>
 	</tag>
 	<tag name="randomlabel">
 		<description>Randomly labeled image</description>
@@ -492,7 +499,7 @@
 		<description>Randomly Parsed Block</description>
 		<color>#FFFFFF</color>
 		<insert_sub>default</insert_sub>
-		<allow>block,customresponse,display,essayresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlist,rankresponse::foilgroup,reactionresponse,script,scriptlib,solved,stringresponse,tex,while,window</allow>
+		<allow>block,customresponse,display,essayresponse,externalresponse,formularesponse,gnuplot,imageresponse,img,import,matchresponse,mathresponse,notsolved,numericalresponse,optionresponse,organicresponse,organicstructure,parserlib,postanswerdate,preduedate,problemtype,radiobuttonresponse,randomlist,rankresponse::foilgroup,reactionresponse,script,scriptlib,solved,stringresponse,tex,while,window</allow>
 	</tag>
 	<tag name="solved">
 		<description>Block For After Solved</description>

--albertel1189539965--