[LON-CAPA-cvs] cvs: rat / lonratmenu.pm loncom/interface loncommon.pm

bisitz bisitz@source.lon-capa.org
Wed, 03 Jun 2009 17:13:26 -0000


bisitz		Wed Jun  3 17:13:26 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
    /rat	lonratmenu.pm 
  Log:
  Changes related to modification of LON-CAPA screen header.
  Don't suppress header logos (Only occurrence in Advanced RAT)
  These logos will be removed and aren't displayed anymore (-> loncommon.pm 1.836)
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.836 loncom/interface/loncommon.pm:1.837
--- loncom/interface/loncommon.pm:1.836	Wed Jun  3 14:35:19 2009
+++ loncom/interface/loncommon.pm	Wed Jun  3 17:13:22 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.836 2009/06/03 14:35:19 bisitz Exp $
+# $Id: loncommon.pm,v 1.837 2009/06/03 17:13:22 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4394,7 +4394,7 @@
         $dc_info = '('.$dc_info.')';
     }
 
-    if (($env{'environment.remote'} eq 'off') || ($args->{'suppress_header_logos'})) {
+    if ($env{'environment.remote'} eq 'off') {
         # No Remote
 	if ($env{'request.state'} eq 'construct') {
 	    $forcereg=1;
Index: rat/lonratmenu.pm
diff -u rat/lonratmenu.pm:1.12 rat/lonratmenu.pm:1.13
--- rat/lonratmenu.pm:1.12	Wed May 20 15:34:27 2009
+++ rat/lonratmenu.pm	Wed Jun  3 17:13:26 2009
@@ -2,7 +2,7 @@
 # Build menu bar for Advanced RAT. Uses javascript code originally in
 # static file: rat/client/code.html, now in  rat/client/ratcode.js  
 #
-# $Id: lonratmenu.pm,v 1.12 2009/05/20 15:34:27 bisitz Exp $
+# $Id: lonratmenu.pm,v 1.13 2009/06/03 17:13:26 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -42,7 +42,7 @@
     my $js = join('',<$jsh>);
     my %loaditem = ('onunload' => "leave();",);
     $r->print(&Apache::loncommon::start_page('Advanced Editor',$js,
-                  {'add_entries' => \%loaditem, 'suppress_header_logos' => 1})
+                  {'add_entries' => \%loaditem})
              .&Apache::lonhtmlcommon::breadcrumbs() # FIXME add breadcrumbs
              .&Apache::loncommon::head_subbox(
                   &Apache::loncommon::CSTR_pageheader())