--- loncom/homework/edit.pm	2010/10/09 22:31:49	1.130
+++ loncom/homework/edit.pm	2010/11/07 01:57:50	1.132
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.130 2010/10/09 22:31:49 www Exp $
+# $Id: edit.pm,v 1.132 2010/11/07 01:57:50 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -401,10 +401,27 @@ sub insert_functionplotresponse {
     return '
 <functionplotresponse>
 <spline />
-<splinerule />
+<functionplotrule />
 </functionplotresponse>';
 }
 
+sub insert_spline {
+    return '
+<spline />';
+}
+
+sub insert_backgroundplot {
+    return '
+<backgroundplot />';
+}
+
+sub insert_functionplotrule {
+    return '
+<functionplotrule />';
+}
+
+
+
 sub insert_numericalresponse {
     return '
 <numericalresponse answer="">