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

raeburn raeburn@source.lon-capa.org
Thu, 11 Dec 2008 04:43:35 -0000


raeburn		Thu Dec 11 04:43:35 2008 EDT

  Modified files:              
    /loncom/homework	structuretags.pm 
  Log:
  Restoring some of the changes in 1.433 which were replaced in 1.434.
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.436 loncom/homework/structuretags.pm:1.437
--- loncom/homework/structuretags.pm:1.436	Fri Nov 28 14:37:01 2008
+++ loncom/homework/structuretags.pm	Thu Dec 11 04:43:34 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.436 2008/11/28 14:37:01 raeburn Exp $
+# $Id: structuretags.pm,v 1.437 2008/12/11 04:43:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1942,11 +1942,10 @@
     if ($target eq 'edit') {
 	my $areaid = 'homework_edit_'.$Apache::lonxml::curdepth;
 	$text=&Apache::lonxml::get_all_text("endouttext",$parser,$style);
-
-	$result.=&Apache::edit::start_table($token)."<tr><td>".&mt('Text Block')."</td>
-<td>".&mt('Delete:').
-                 &Apache::edit::deletelist($target,$token)
-		 ."</td>";
+	$result.=&Apache::edit::start_table($token)."<tr><td>".&mt('Text Block')."</td>"
+                 .'<td><span clas="LC_nobreak">'.&mt('Delete?').' '
+                 .&Apache::edit::deletelist($target,$token)
+                 .'</span></td>';
         unless ($env{'environment.wysiwygeditor'} eq 'on') {
 	    $result .= '<td align="left">'
 		.&Apache::lonhtmlcommon::dragmath_button($areaid,1)