--- loncom/homework/edit.pm 2004/08/19 21:03:23 1.84.2.1
+++ loncom/homework/edit.pm 2004/09/30 21:47:21 1.87
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.84.2.1 2004/08/19 21:03:23 albertel Exp $
+# $Id: edit.pm,v 1.87 2004/09/30 21:47:21 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -282,6 +282,11 @@ sub insert_responseparam {
';
}
+sub insert_parameter {
+ return '
+ ';
+}
+
sub insert_formularesponse {
return '
@@ -505,7 +510,9 @@ sub editfield {
'" cols="'.$cols.'" name="homework_edit_'.
$Apache::lonxml::curdepth.'" id="homework_edit_'.
$Apache::lonxml::curdepth.'">'.
- &HTML::Entities::encode($data,'<>&"').''."\n";
+ &HTML::Entities::encode($data,'<>&"').''.
+ ($usehtmlarea?&Apache::lonhtmlcommon::spelllink('lonhomework',
+ 'homework_edit_'.$Apache::lonxml::curdepth):'')."\n";
}
sub modifiedfield {