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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 10 Dec 2004 19:29:19 -0000


albertel		Fri Dec 10 14:29:19 2004 EDT

  Modified files:              
    /rat	lonpage.pm 
  Log:
  - tell the page table to use the whole browser window
  
  
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.62 rat/lonpage.pm:1.63
--- rat/lonpage.pm:1.62	Thu Nov 11 19:25:23 2004
+++ rat/lonpage.pm	Fri Dec 10 14:29:19 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Page Handler
 #
-# $Id: lonpage.pm,v 1.62 2004/11/12 00:25:23 albertel Exp $
+# $Id: lonpage.pm,v 1.63 2004/12/10 19:29:19 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -417,7 +417,7 @@
 			  $r->print('\begin{longtable}INSERTTHEHEADOFLONGTABLE\endfirsthead\endhead ');
 			  if ($number_of_columns le $lcm) {$number_of_columns=$lcm;};
 		      } else {
-			  $r->print('<table cols="'.$lcm.'" border="0">');
+			  $r->print('<table width="100%" cols="'.$lcm.'" border="0">');
 		      }
                       for ($i=0;$i<=$#rows;$i++) {
 			if ($rows[$i]) {