[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 20 Sep 2007 21:39:15 -0000


albertel		Thu Sep 20 17:39:15 2007 EDT

  Modified files:              
    /loncom/xml	londefdef.pm 
  Log:
  - only show edit controls in CSTR
  
  
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.377 loncom/xml/londefdef.pm:1.378
--- loncom/xml/londefdef.pm:1.377	Mon Sep 10 16:09:13 2007
+++ loncom/xml/londefdef.pm	Thu Sep 20 17:39:13 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.377 2007/09/10 20:09:13 albertel Exp $
+# $Id: londefdef.pm,v 1.378 2007/09/20 21:39:13 albertel Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -578,11 +578,10 @@
 					    'force_register' => 1});
 
 	if ($env{'request.state'} ne 'published') {
-
+	    $currentstring.=&Apache::lonmenu::constspaceform();
+	    $currentstring.=&Apache::londefdef::edit_controls();
 	}
 	$currentstring.=&Apache::lonxml::message_location();
-	$currentstring.=&Apache::lonmenu::constspaceform();
-	$currentstring.=&Apache::londefdef::edit_controls();
     } elsif ($target eq 'tex') {
 	$currentstring = '\begin{document}';  
     }