1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/templates/skin/new/header.tpl
Alexey Kachayev cd9279609f В систему управления js,css файлами добавлена возможность указывать параметры загрузки каждого файла. Через параметры можно управлять
а) разбиением файлов на группы для слияния ('block')
б) подгрузкой файлов только в определенный тип браузера ('browser')
2009-10-07 08:01:19 +00:00

92 lines
2.6 KiB
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ru" xml:lang="ru">
<head>
<title>{$sHtmlTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="DESCRIPTION" content="{$sHtmlDescription}" />
<meta name="KEYWORDS" content="{$sHtmlKeywords}" />
<link href="{$aConfig.path.static.skin}/images/favicon.ico" rel="shortcut icon" />
<link rel="search" type="application/opensearchdescription+xml" href="{router page='search'}opensearch/" title="{$aConfig.view.name}" />
{if $aHtmlRssAlternate}
<link rel="alternate" type="application/rss+xml" href="{$aHtmlRssAlternate.url}" title="{$aHtmlRssAlternate.title}">
{/if}
</head>
<script language="JavaScript" type="text/javascript">
var DIR_WEB_ROOT='{$aConfig.path.root.web}';
var DIR_STATIC_SKIN='{$aConfig.path.static.skin}';
var BLOG_USE_TINYMCE='{$aConfig.view.tinymce}';
var TALK_RELOAD_PERIOD = '{$aConfig.module.talk.period}';
var TALK_RELOAD_REQUEST = '{$aConfig.module.talk.request}';
var TALK_RELOAD_MAX_ERRORS = '{$aConfig.module.talk.max_errors}';
var aRouter=new Array();
{foreach from=$aRouter key=sPage item=sPath}
aRouter['{$sPage}']='{$sPath}';
{/foreach}
</script>
{$sHtmlHeadFiles}
{literal}
<script language="JavaScript" type="text/javascript">
var tinyMCE=false;
var msgErrorBox=new Roar({
position: 'upperRight',
className: 'roar-error',
margin: {x: 30, y: 10}
});
var msgNoticeBox=new Roar({
position: 'upperRight',
className: 'roar-notice',
margin: {x: 30, y: 10}
});
</script>
{/literal}
{if $oUserCurrent && $aConfig.module.talk.reload}
{literal}
<script language="JavaScript" type="text/javascript">
var talkNewMessages=new lsTalkMessagesClass({
reload: {
request: TALK_RELOAD_REQUEST,
url: DIR_WEB_ROOT+'/include/ajax/talkNewMessages.php',
errors: TALK_RELOAD_MAX_ERRORS
}
});
(function(){
talkNewMessages.get();
}).periodical(TALK_RELOAD_PERIOD);
</script>
{/literal}
{/if}
<body onload="prettyPrint()">
<div id="debug" style="border: 2px #dd0000 solid; display: none;"></div>
<div id="container">
{include file=header_top.tpl}
{include file=header_nav.tpl}
<!--
<div id="extra">
<a href="#">К списку постов</a>
</div>
-->
<div id="wrapper" class="{if !$showUpdateButton}update-hide{/if} {if $showWhiteBack}white-back{/if}">
<!-- Content -->
<div id="content" {if $bNoSidebar}style="width:100%;"{/if}>
{if !$noShowSystemMessage}
{include file='system_message.tpl'}
{/if}