[LON-CAPA-cvs] cvs: loncom /homework edit.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 24 Nov 2003 21:54:39 -0000


albertel		Mon Nov 24 16:54:39 2003 EDT

  Modified files:              
    /loncom/homework	edit.pm 
  Log:
  - insert routines
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.71 loncom/homework/edit.pm:1.72
--- loncom/homework/edit.pm:1.71	Wed Nov  5 16:53:48 2003
+++ loncom/homework/edit.pm	Mon Nov 24 16:54:39 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.71 2003/11/05 21:53:48 www Exp $
+# $Id: edit.pm,v 1.72 2003/11/24 21:54:39 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -348,6 +348,23 @@
 </optionresponse>';
 }
 
+sub insert_organicresponse {
+    return '
+<organicresponse>
+    <textline />
+    <hintgroup>
+    <startouttext/>
+    <endouttext />
+    </hintgroup>
+</organicresponse>';
+}
+
+sub insert_organicstructure {
+    return '
+<organicstructure />
+';
+}
+
 sub insert_radiobuttonresponse {
     return '
 <radiobuttonresponse max="10">
@@ -358,6 +375,17 @@
     <endouttext />
     </hintgroup>
 </radiobuttonresponse>';
+}
+
+sub insert_reactionresponse {
+    return '
+<reactionresponse>
+    <textline />
+    <hintgroup>
+    <startouttext/>
+    <endouttext />
+    </hintgroup>
+</reactionresponse>';
 }
 
 sub insert_rankresponse {