|
|
~;
}
}
#
###############################################################################
# printStyleSheet
#
# Print the standard style sheet for pages. Use a font size of 10pt if
# remote client is on Windows, else use 12pt. This ends up making fonts
# appear the same size on Windows+IE and Linux+Netscape. Other tweaks for
# different browsers might be appropriate.
###############################################################################
sub printStyleSheet {
my $self = shift;
#### Obtain main SBEAMS object and use its style sheet
$sbeams = $self->getSBEAMS();
$sbeams->printStyleSheet();
}
###############################################################################
# printJavascriptFunctions
#
# Print the standard Javascript functions that should appear at the top of
# most pages. There probably should be some customization allowance here.
# Not sure how to design that yet.
###############################################################################
sub printJavascriptFunctions {
my $self = shift;
my $javascript_includes = shift;
print qq~
~;
}
###############################################################################
# printPageFooter
###############################################################################
sub printPageFooter {
my $self = shift;
my $flag = shift || "CloseTablesAndPrintFooter";
my $sbeams = $self->getSBEAMS();
if ($sbeams->output_mode() eq 'interactive') {
$sbeams->printTextHeader();
return;
}
#### If the output mode is not html, then we don't want a header here
if ($sbeams->output_mode() ne 'html') {
return;
}
if ($flag =~ /CloseTables/) {
print qq~
|