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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 20 Feb 2002 22:17:18 -0000


albertel		Wed Feb 20 17:17:18 2002 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  - recommiting matthew's changes that were backed out by alex
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.81 loncom/homework/structuretags.pm:1.82
--- loncom/homework/structuretags.pm:1.81	Fri Feb  8 15:58:39 2002
+++ loncom/homework/structuretags.pm	Wed Feb 20 17:17:18 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.81 2002/02/08 20:58:39 albertel Exp $
+# $Id: structuretags.pm,v 1.82 2002/02/20 22:17:18 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -608,12 +608,11 @@
     $result.=&Apache::edit::start_table($token)."<tr><td>Text Block</td>
 <td>Delete:".
   &Apache::edit::deletelist($target,$token)
-  ."</td>
+    ."</td>
 <td>".
   &Apache::edit::insertlist($target,$token).
-    "</td>
-</tr><tr><td colspan=\"3\">\n".
-	&Apache::edit::editfield($token->[1],$text,"",50,4);
+    &Apache::edit::end_row().&Apache::edit::start_spanning_row()."\n".
+      &Apache::edit::editfield($token->[1],$text,"",50,4);
   }
   if ($target eq 'modified') {
     $text=&Apache::lonxml::get_all_text("endouttext",$$parser['-1']);