ipfire theme: Fix default setting for hostname in title.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Mar 2014 14:43:52 +0000 (15:43 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Mar 2014 14:43:52 +0000 (15:43 +0100)
html/html/themes/ipfire/include/functions.pl

index f71181e..0c47cd4 100644 (file)
@@ -110,7 +110,7 @@ sub openpage {
        &genmenu();
 
        my $headline = "IPFire";
        &genmenu();
 
        my $headline = "IPFire";
-       if ($settings{'WINDOWWITHHOSTNAME'} eq 'on') {
+       if (($settings{'WINDOWWITHHOSTNAME'} eq 'on') || ($settings{'WINDOWWITHHOSTNAME'} eq '')) {
                $headline =  "$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}";
        }
 
                $headline =  "$settings{'HOSTNAME'}.$settings{'DOMAINNAME'}";
        }