0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/templates/header.tpl
gotty 13549cea0f Favicon config and ru_lang:
1. Favicon configuration of the project:
  a. Fixed incorrect link to favicon from the subfolder /users/
  b. Added ability to set favicon via config
2. Completed translation of all string constants into Russian language.
2019-10-19 18:33:18 +03:00

22 lines
942 B
Smarty

<!-- {$smarty.template} -->
<!doctype html>
<html lang="{if isset($smarty.session.lang)}{$smarty.session.lang}{/if}">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Postfix Admin - {$smarty.server.HTTP_HOST}</title>
<link rel="shortcut icon" href="{$CONF.theme_favicon}" />
<link rel="stylesheet" type="text/css" href="{$CONF.theme_css}" />
{if $CONF.theme_custom_css}
<link rel="stylesheet" type="text/css" href="{$CONF.theme_custom_css}" />
{/if}
</head>
<body class="lang-{if isset($smarty.session.lang)}{$smarty.session.lang}{/if} page-{$smarty_template} {if isset($table)}page-{$smarty_template}-{$table}{/if}">
<div id="container">
<div id="login_header">
<a href='main.php'><img id="login_header_logo" src="{$CONF.theme_logo}" alt="Logo" /></a>
{if $CONF.show_header_text==='YES' && $CONF.header_text}
<h2>{$CONF.header_text}</h2>
{/if}
</div>