--- rat/lonratedt.pm 2010/08/24 09:11:40 1.101 +++ rat/lonratedt.pm 2012/12/16 16:02:15 1.105.2.3 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Edit Handler for RAT Maps # -# $Id: lonratedt.pm,v 1.101 2010/08/24 09:11:40 wenzelju Exp $ +# $Id: lonratedt.pm,v 1.105.2.3 2012/12/16 16:02:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,8 +43,12 @@ use HTML::Entities(); # --------------------------------------------------------- Build up RAT screen sub ratedt { my ($r,$url)=@_; - my %layout = ('border' => "0", - 'rows' => "1,250,*"); + my %layout = ('border' => "0"); + if ($env{'environment.remote'} eq 'off') { + $layout{'rows'} = "1,250,*"; + } else { + $layout{'rows'} = "1,70,*"; + } my $js ='