--- loncom/homework/edit.pm 2001/10/09 20:45:13 1.22
+++ loncom/homework/edit.pm 2001/11/07 21:24:15 1.23
@@ -60,7 +60,7 @@ sub start_table {
my $tag = $token->[1];
my $tagnum;
foreach my $namespace (reverse @Apache::lonxml::namespace) {
- my $testtag=$Apache::lonxml::namespace['-1'].'::'.$tag;
+ my $testtag=$namespace.'::'.$tag;
$tagnum=$Apache::lonxml::insertlist{"$testtag.num"};
if (defined($tagnum)) { last; }
}
@@ -217,6 +217,16 @@ sub insert_optionresponse {
';
}
+sub insert_radiobuttonresponse {
+ return '
+
+
+
+
+
+';
+}
+
sub insert_displayduedate { return ''; }
sub insert_displaytitle { return ''; }
sub insert_hintpart {
@@ -233,6 +243,14 @@ sub insert_numericalhint {
';
}
+sub insert_startouttext {
+ return "\n";
+}
+
+sub insert_script {
+ return "\n";
+}
+
sub editfield {
my ($tag,$data,$description,$minwidth,$minheight)=@_;
@@ -270,14 +288,6 @@ sub modifiedfield {
return $result;
}
-sub insert_startouttext {
- return "\n";
-}
-
-sub insert_script {
- return "\n";
-}
-
# Returns a 1 if the token has been modified and you should rebuild the tag
# side-effects, will modify the $token if new values are found
sub get_new_args {