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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 27 Jul 2006 20:47:10 -0000


albertel		Thu Jul 27 16:47:10 2006 EDT

  Modified files:              
    /loncom/homework	edit.pm structuretags.pm 
  Log:
  - trying to use less vertical space by text blocks
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.102 loncom/homework/edit.pm:1.103
--- loncom/homework/edit.pm:1.102	Tue May 30 08:45:36 2006
+++ loncom/homework/edit.pm	Thu Jul 27 16:47:02 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.102 2006/05/30 12:45:36 www Exp $
+# $Id: edit.pm,v 1.103 2006/07/27 20:47:02 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -583,7 +583,7 @@
 	&Apache::lonhtmlcommon::add_htmlareafields('homework_edit_'.
 						   $Apache::lonxml::curdepth);
     }
-    return $description."\n".'&nbsp;&nbsp;&nbsp;<textarea style="width:100%" rows="'.$rows.
+    return $description."\n".'<textarea style="width:100%" rows="'.$rows.
 	'" cols="'.$cols.'" name="homework_edit_'.
 	$Apache::lonxml::curdepth.'" id="homework_edit_'.
 	$Apache::lonxml::curdepth.'" '.&element_change_detection().'>'.
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.361 loncom/homework/structuretags.pm:1.362
--- loncom/homework/structuretags.pm:1.361	Fri Jul 14 13:45:05 2006
+++ loncom/homework/structuretags.pm	Thu Jul 27 16:47:03 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.361 2006/07/14 17:45:05 albertel Exp $
+# $Id: structuretags.pm,v 1.362 2006/07/27 20:47:03 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1598,9 +1598,10 @@
 		 ."</td>
 <td>".
                  &Apache::edit::insertlist($target,$token).
+		 '</td><td align="right" valign="top">' .
+		 &Apache::loncommon::helpLatexCheatsheet().
 		 &Apache::edit::end_row().
-                 &Apache::edit::start_spanning_row()."\n"
-		 . &Apache::loncommon::helpLatexCheatsheet () .
+                 &Apache::edit::start_spanning_row()."\n".
 		 &Apache::edit::editfield($token->[1],$text,"",80,8,1);
     }
     if ($target eq 'modified') {