--- rat/lonpage.pm 2002/06/27 18:48:30 1.42 +++ rat/lonpage.pm 2002/07/01 15:02:19 1.43 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Page Handler # -# $Id: lonpage.pm,v 1.42 2002/06/27 18:48:30 sakharuk Exp $ +# $Id: lonpage.pm,v 1.43 2002/07/01 15:02:19 sakharuk Exp $ # # Copyright Michigan State University Board of Trustees # @@ -152,10 +152,10 @@ sub handler { $r->send_http_header; return OK; } - + &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'}, ['forceselect','launch']); - + my $number_of_columns = 1; my $requrl=$r->uri; my $target = $ENV{'form.grade_target'}; # ----------------------------------------------------------------- Tie db file @@ -196,7 +196,6 @@ sub handler { # ------------------------------------------------------------------ Page parms - my $number_of_columns = 1; my $j; my $lcm=1; my $contents=0; @@ -380,6 +379,7 @@ sub handler { # ----------------------------------------------------------------- Start table if ($target eq 'tex') { $r->print('\begin{longtable}INSERTTHEHEADOFLONGTABLE\endfirsthead\endhead '); + if ($number_of_columns le $lcm) {$number_of_columns=$lcm;}; } else { $r->print('