X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=blobdiff_plain;f=html%2Fhtml%2Fthemes%2Fipfire%2Finclude%2Ffunctions.pl;h=63740d42d8385cf008b86d30d6fd2d376bca5329;hp=86b1b75ba26773a205bf6b91f946e79972ba65dc;hb=6e8089a94f5cb8b9baafa1afd8dc01d3baa9fd6d;hpb=0f43165084d0e9ee74c7f8b06fafb997ca37fd39 diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl index 86b1b75ba..63740d42d 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -110,7 +110,7 @@ sub openpage { &genmenu(); my $headline = "IPFire"; - if ($settings{'WINDOWWITHHOSTNAME'} eq 'on') { + if (($settings{'WINDOWWITHHOSTNAME'} eq 'on') || ($settings{'WINDOWWITHHOSTNAME'} eq '')) { $headline = "$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}"; } @@ -194,7 +194,7 @@ sub openpagewithoutmenu { sub closepage () { open(FILE, "; - $system_release =~ s/core/Core Update/; + $system_release =~ s/core/Core Update /; close(FILE); print <\n"; + if($align eq 'center') { + print "
\n" + } + else { + print "
\n"; + } if ($caption) { print "

$caption

\n";