Only use header css if webfont is enabled, fixes navigation padding

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2014-01-05 18:41:48 +01:00
parent d6d40c8e12
commit 39b1980509
3 changed files with 7 additions and 6 deletions

View File

@@ -28,11 +28,11 @@
{$js}
<link href="templates/{$theme}/assets/img/favicon.ico" rel="icon" type="image/x-icon" />
<title><if isset($userinfo['loginname']) && $userinfo['loginname'] != ''>{$userinfo['loginname']} - </if>Froxlor Server Management Panel</title>
<if Settings::Get('panel.use_webfonts') == '1'>
<style type="text/css">
body {
font-family: <if Settings::Get('panel.use_webfonts') == '1'>{$webfont},</if> 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
}
body { font-family: {$webfont}, 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; }
</style>
</if>
</head>
<body>