[LON-CAPA-cvs] cvs: rat / lonpage.pm

www lon-capa-cvs@mail.lon-capa.org
Fri, 18 Apr 2003 13:58:44 -0000


www		Fri Apr 18 09:58:44 2003 EDT

  Modified files:              
    /rat	lonpage.pm 
  Log:
  Inline menu on .page resources
  
  
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.50 rat/lonpage.pm:1.51
--- rat/lonpage.pm:1.50	Thu Apr 17 21:20:25 2003
+++ rat/lonpage.pm	Fri Apr 18 09:58:44 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Page Handler
 #
-# $Id: lonpage.pm,v 1.50 2003/04/18 01:20:25 www Exp $
+# $Id: lonpage.pm,v 1.51 2003/04/18 13:58:44 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -360,7 +360,11 @@
 			  if ($isxml) {
 			      $r->print($xmlbody);
 			  } else {
-			      $r->print('<body bgcolor="#FFFFFF" onLoad="'.&Apache::lonmenu::loadevents.'" onUnload="'.&Apache::lonmenu::unloadevents.'">');
+			      $r->print(
+               '<body bgcolor="#FFFFFF" onLoad="'.&Apache::lonmenu::loadevents.
+               '" onUnload="'.&Apache::lonmenu::unloadevents.'">'.
+                              &Apache::lonmenu::menubuttons(undef,$target,1)
+					);
 			  }
 # ------------------------------------------------------------------ Start form
 			  if ($nforms) {