forked from BlogEngine/BlogEngine.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.aspx
More file actions
26 lines (25 loc) · 1.44 KB
/
page.aspx
File metadata and controls
26 lines (25 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<%@ Page Language="C#" AutoEventWireup="true" Inherits="page" Codebehind="page.aspx.cs" %>
<%@ Import Namespace="BlogEngine.Core"%>
<asp:content id="Content1" contentplaceholderid="cphBody" runat="Server">
<div id="page" class="page-global">
<h2 class="page-global-title" runat="server" id="h1Title" ></h2>
<div runat="server" id="divText" />
<%=AdminLinks %>
<% if (BlogSettings.Instance.CommentProvider == BlogSettings.CommentsBy.Disqus && BlogSettings.Instance.DisqusAddCommentsToPages){ %>
<div id="disqus_box" runat="server">
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_url = '<%= PermaLink %>';
var disqus_developer = '<%= BlogSettings.Instance.DisqusDevMode ? 1 : 0 %>';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://<%=BlogSettings.Instance.DisqusWebsiteName %>.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=<%=BlogSettings.Instance.DisqusWebsiteName %>">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
</div>
<%} %>
</div>
</asp:content>