version 1.3, 2003/05/19 15:53:07
|
version 1.4, 2003/05/23 19:36:04
|
Line 99 sub handler {
|
Line 99 sub handler {
|
# Check the course homeserver |
# Check the course homeserver |
$loaderror= &Apache::lonnet::overloaderror($r, |
$loaderror= &Apache::lonnet::overloaderror($r, |
$ENV{'course.'.$ENV{'request.course.id'}.'.home'}); |
$ENV{'course.'.$ENV{'request.course.id'}.'.home'}); |
if ($loaderror) { return $loaderror; } |
# if ($loaderror) { return $loaderror; } |
# |
# |
# HTML Header |
# HTML Header |
# |
# |
Line 320 END
|
Line 320 END
|
$r->rflush(); |
$r->rflush(); |
} |
} |
# |
# |
|
# Output selector |
|
$r->print($spreadsheet->html_header()); |
|
# |
# Keep track of the filename |
# Keep track of the filename |
$r->print(&hiddenfield('filename',$filename)); |
$r->print(&hiddenfield('filename',$filename)); |
# |
# |
$r->print($spreadsheet->get_title()); |
$r->print($spreadsheet->get_html_title()); |
if ($allowed_to_view || $allowed_to_edit) { |
if ($allowed_to_view || $allowed_to_edit) { |
$r->print($spreadsheet->parent_link()); |
$r->print($spreadsheet->parent_link()); |
} |
} |