version 1.175, 2003/03/07 23:32:05
|
version 1.176, 2003/03/10 20:21:45
|
Line 183 sub handler {
|
Line 183 sub handler {
|
# Header.... |
# Header.... |
# |
# |
$r->print('<html><head><title>LON-CAPA Spreadsheet</title>'); |
$r->print('<html><head><title>LON-CAPA Spreadsheet</title>'); |
my $nothing = "''"; |
my $nothing = &Apache::lonhtmlcommon::javascript_nothing(); |
if ($ENV{'browser.type'} eq 'explorer') { |
|
$nothing = "'javascript:void(0);'"; |
|
} |
|
|
|
if ($ENV{'request.role'} !~ /^st\./) { |
if ($ENV{'request.role'} !~ /^st\./) { |
$r->print(<<ENDSCRIPT); |
$r->print(<<ENDSCRIPT); |