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

albertel lon-capa-cvs@mail.lon-capa.org
Sun, 19 Jan 2003 08:13:55 -0000


albertel		Sun Jan 19 03:13:55 2003 EDT

  Modified files:              
    /loncom/homework	edit.pm 
  Log:
  -adding <rankresponse> insert
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.42 loncom/homework/edit.pm:1.43
--- loncom/homework/edit.pm:1.42	Thu Nov 14 11:47:41 2002
+++ loncom/homework/edit.pm	Sun Jan 19 03:13:54 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.42 2002/11/14 16:47:41 matthew Exp $
+# $Id: edit.pm,v 1.43 2003/01/19 08:13:54 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -325,6 +325,16 @@
     <hintgroup>
     </hintgroup>
 </radiobuttonresponse>';
+}
+
+sub insert_rankresponse {
+  return '
+<rankresponse max="10">
+    <foilgroup options="">
+    </foilgroup>
+    <hintgroup>
+    </hintgroup>
+</rankresponse>';
 }
 
 sub insert_displayduedate { return '<displayduedate />'; }