--- loncom/homework/edit.pm 2001/08/13 21:43:48 1.21
+++ loncom/homework/edit.pm 2001/10/09 20:45:13 1.22
@@ -21,7 +21,10 @@ sub tag_start {
my $result='';
if ($target eq "edit") {
my $tag=$token->[1];
- if (!$description) { $description="<$tag>"; }
+ if (!$description) {
+ $description=&Apache::lonxml::description($token);
+ if (!$description) { $description="<$tag>"; }
+ }
$result.= &start_table($token)."
$description |
Delete".
&deletelist($target,$token)
@@ -30,6 +33,9 @@ sub tag_start {
&insertlist($target,$token).
" |
\n";
+# | ".
+# &movebuttons($target,$token).
+# " |
\n";
}
return $result;
}
@@ -74,6 +80,15 @@ sub end_table {
return $result;
}
+sub movebuttons {
+ my ($target,$token) = @_;
+ my $result='';
+ $result.='';
+ return $result;
+}
+
sub deletelist {
my ($target,$token) = @_;
my $result = " |