# theme.pl
# Override functions for the OSX theme
# XXX always starts with 'other' category?
# header(title, image, [help], [config], [nomodule], [nowebmin], [rightside],
# [header], [body], [below])
sub theme_header
{
print "\n";
print "
\n";
print $_[7];
print "
 |
$title |
$right |
 |
|
 |
|
EOF
}
sub end_osx_table
{
print <
|
|
 |
 |
 |
 |
EOF
}
sub theme_ui_post_header
{
local ($text) = @_;
local $rv;
if (defined($text)) {
$rv .= "$text
\n";
}
return $rv;
}
sub theme_ui_pre_footer
{
return "";
}
# Hack to prevent the display of
lines
#package miniserv;
#sub PRINT
#{
#if ($_[1] !~ /^
(|
)?\s*$/) {
# $r = shift;
# $$r++;
# &write_to_sock(@_);
# }
#}