helpcenter/helpcenter.r7-office.ru/Web/Masters/BaseMaster.master

112 lines
4.5 KiB
Plaintext
Raw Permalink Normal View History

<%@ Master Language="C#" %>
<%@ Register Src="~/Controls/Common/BaseHeader/BaseHeader.ascx" TagName="Header" TagPrefix="uc" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<%@ Register TagPrefix="master" TagName="BaseMasterCss" Src="~/Controls/Common/BaseMaster/BaseMasterCss.ascx" %>
<%@ Register TagPrefix="master" TagName="BaseMasterJSBody" Src="~/Controls/Common/BaseMaster/BaseMasterJSBody.ascx" %>
<!DOCTYPE html>
<script runat="server">
private string RenderСео()
{
var sb = new StringBuilder();
var basePage = Page as BasePage;
if (basePage != null)
{
if (!string.IsNullOrEmpty(basePage.MetaKeyWords))
{
sb.AppendLine(string.Format(@"<meta name=""keywords"" content=""{0}"" />",
basePage.MetaKeyWords));
}
if (!string.IsNullOrEmpty(basePage.MetaDescription))
{
sb.AppendLine(string.Format(@"<meta name=""description"" content=""{0}"" />",
basePage.MetaDescription));
}
}
return sb.ToString();
}
</script>
2019-02-14 09:13:56 +00:00
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-RU" lang="ru-RU" prefix="og: http://ogp.me/ns#">
<head runat="server">
<title></title>
<meta charset="utf-8" />
2019-02-13 11:47:32 +00:00
<link rel="icon" href="/images/favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<%--<meta name="google-site-verification" content="b3uEYo1at0IiLaoEi9QvEX4eB3UyO9Dmgau9VSkkmZk" />--%>
<%=RenderСео()%>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:900,800,700,600,500,400,300&subset=latin,cyrillic-ext,cyrillic,latin-ext' rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700&subset=cyrillic,cyrillic-ext,latin-ext" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&amp;subset=cyrillic" rel="stylesheet">
<master:BaseMasterCss runat="server" />
<!--[if IE 8]>
<link href="<%=VirtualPathUtility.ToAbsolute("~/css/ie8.css")%>" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link href="<%=VirtualPathUtility.ToAbsolute("~/css/ie.css")%>" rel="stylesheet" type="text/css" />
<![endif]-->
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Common/BaseMaster/BaseMasterCustomCss.ascx" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12442749-5']);
_gaq.push(['_setDomainName', '.onlyoffice.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
var path = '<%=VirtualPathUtility.ToAbsolute("~/search.aspx")%>';
</script>
<asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder>
</head>
<asp:contentplaceholder id="bodyid" runat="server"></asp:contentplaceholder>
<div class="BaseSide">
<form id="mainForm" runat="server">
<div class="mainpart">
<div class="site-overlay"></div>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Common/BaseMaster/BaseMaster.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Common/BaseHeader/BaseHeader.ascx" />
<article id="container">
<asp:contentplaceholder id="BaseContent" runat="server"></asp:contentplaceholder>
</article>
</div>
</form>
</div>
<div class="basement">
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Common/BaseFooter.ascx" />
</div>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Common/CookieNotice/CookieNotice.ascx" />
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Common/BaseMaster/BaseMasterCustomJSBody.ascx" />
<master:BaseMasterJSBody runat="server" />
<asp:contentplaceholder id="masterpageScripts" runat="server"></asp:contentplaceholder>
<script type="text/javascript">
$(function () {
HelpCenterMasterInit();
});
</script>
</body>
</html>