[LON-CAPA-cvs] cvs: loncom /interface lonfeedback.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 13 Apr 2006 18:59:04 -0000


albertel		Thu Apr 13 14:59:04 2006 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  - start_page
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.190 loncom/interface/lonfeedback.pm:1.191
--- loncom/interface/lonfeedback.pm:1.190	Mon Apr 10 17:55:48 2006
+++ loncom/interface/lonfeedback.pm	Thu Apr 13 14:59:02 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.190 2006/04/10 21:55:48 www Exp $
+# $Id: lonfeedback.pm,v 1.191 2006/04/13 18:59:02 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2238,6 +2238,7 @@
   my $nofeed=&mt('Sorry, no feedback possible on this resource  ...');
  
   my %body_options = ('only_body'   => 1,
+		      'bgcolor'     => '#FFFFFF',
 		      'add_entries' => {'onload' => "if (window.name!='loncapaclient') { self.window.close(); }"});
 
   if ($feedurl !~ m{^/adm/feedback}) { 
@@ -2252,8 +2253,7 @@
   $feedurl=&Apache::lonenc::check_encrypt($feedurl);
   my $logo=&Apache::loncommon::lonhttpdurl('/adm/lonIcons/lonlogos.gif');
   $r->print (<<ENDNOREDIRTWO);
-</head>
-<body bgcolor="#FFFFFF" onLoad='if (window.name!="loncapaclient") { self.window.close(); }'>
+$start_page
 <img align="right" src="$logo" />
 <b>$nofeed</b>
 <br />