mirror of
https://github.com/webmin/webmin.git
synced 2026-02-08 00:12:14 +00:00
Fix relative heights
This commit is contained in:
@@ -27,8 +27,7 @@ sub theme_ui_post_header
|
||||
my ($text) = @_;
|
||||
my $rv;
|
||||
$rv .= "<div class='ui_post_header'>$text</div>\n" if (defined($text));
|
||||
#$rv .= "<div class='section'>\n";
|
||||
$rv .= "<p>" if (!defined($text));
|
||||
$rv .= "<p></p>" if (!defined($text));
|
||||
return $rv;
|
||||
}
|
||||
|
||||
@@ -37,7 +36,7 @@ return $rv;
|
||||
sub theme_ui_pre_footer
|
||||
{
|
||||
my $rv;
|
||||
$rv .= "</div><p>\n";
|
||||
$rv .= "<p></p>\n";
|
||||
return $rv;
|
||||
}
|
||||
|
||||
|
||||
@@ -853,7 +853,7 @@ if (defined(&theme_header)) {
|
||||
return;
|
||||
}
|
||||
print "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
|
||||
print "<html>\n";
|
||||
print "<html style=\"height:100%\">\n";
|
||||
print "<head>\n";
|
||||
if (defined(&theme_prehead)) {
|
||||
&theme_prehead(@_);
|
||||
@@ -882,7 +882,7 @@ my $text = defined($tconfig{'cs_text'}) ? $tconfig{'cs_text'} :
|
||||
defined($gconfig{'cs_text'}) ? $gconfig{'cs_text'} : "000000";
|
||||
my $bgimage = defined($tconfig{'bgimage'}) ? "background=$tconfig{'bgimage'}" : "";
|
||||
my $dir = $current_lang_info->{'dir'} ? "dir=\"$current_lang_info->{'dir'}\"" : "";
|
||||
my $html_body = "<body bgcolor=\"#$bgcolor\" link=\"#$link\" vlink=\"#$link\" text=\"#$text\" $bgimage $tconfig{'inbody'} $dir $_[8]>\n";
|
||||
my $html_body = "<body bgcolor=\"#$bgcolor\" link=\"#$link\" vlink=\"#$link\" text=\"#$text\" style=\"height:100%\" $bgimage $tconfig{'inbody'} $dir $_[8]>\n";
|
||||
$html_body =~ s/\s+\>/>/g;
|
||||
print $html_body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user