header.tpl:

- remove isset() - this re-introduces the risk to produce an "undefined"
  notice if someone uses an outdated config.inc.php, but also avoids 
  <link ... href=""> (notice the empty href) if $CONF[theme_custom_css]
  is set, but empty


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1634 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 11 years ago
parent ad64560a43
commit c2752782a2

@ -5,7 +5,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="{$CONF.theme_css}" />
{if isset($CONF.theme_custom_css)}
{if $CONF.theme_custom_css}
<link rel="stylesheet" type="text/css" href="{$CONF.theme_custom_css}" />
{/if}
<title>Postfix Admin - {$smarty.server.HTTP_HOST}</title>

Loading…
Cancel
Save