version 1.35, 2009/10/21 23:29:10
|
version 1.37, 2009/11/24 05:37:35
|
Line 55 sub wrapper {
|
Line 55 sub wrapper {
|
|
|
my %layout = ('border' => 0); |
my %layout = ('border' => 0); |
if ($env{'environment.remote'} eq 'off') { |
if ($env{'environment.remote'} eq 'off') { |
if ($env{'environment.icons'} eq 'iconsonly') { |
if (($env{'request.course.id'}) && |
$layout{'rows'} = "100,*"; |
(&Apache::lonnet::allowed('opa',$env{'request.course.id'}. |
|
($env{'request.course.sec'}?'/'.$env{'request.course.sec'}:'')))) { |
|
$layout{'rows'} = "135,*"; |
} else { |
} else { |
$layout{'rows'} = "200,*"; |
$layout{'rows'} = "100,*"; |
} |
} |
} else { |
} else { |
$layout{'rows'} = "1,*"; |
$layout{'rows'} = "1,*"; |