forked from MonoSoftware/MonoX-Demo-Pages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Blog.aspx
40 lines (38 loc) · 2.59 KB
/
Blog.aspx
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<%@ Page
Language="C#"
MasterPageFile="~/MonoX/MasterPages/Default.master"
AutoEventWireup="true"
Inherits="MonoSoftware.MonoX.Pages.Blog"
Title="MonoX Blog"
Codebehind="Blog.aspx.cs"
MaintainScrollPositionOnPostback="true" %>
<%@ MasterType TypeName="MonoSoftware.MonoX.BaseMasterPage" %>
<%@ Import Namespace="MonoSoftware.MonoX.Resources" %>
<%@ Register TagPrefix="MonoX" TagName="Editor" Src="~/MonoX/ModuleGallery/MonoXHtmlEditor.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogContainer" Src="~/MonoX/ModuleGallery/Blog/BlogContainer.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogCategories" Src="~/MonoX/ModuleGallery/Blog/BlogCategories.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="TagCloud" Src="~/MonoX/ModuleGallery/Blog/TagCloud.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogInfo" Src="~/MonoX/ModuleGallery/Blog/BlogInfo.ascx" %>
<%@ Register TagPrefix="MonoX" TagName="BlogList" Src="~/MonoX/ModuleGallery/Blog/BlogList.ascx" %>
<%@ Register Assembly="MonoX" Namespace="MonoSoftware.MonoX" TagPrefix="portal" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cp" Runat="Server">
<div class="content-wrapper two-columns blog">
<div class="main-content">
<portal:PortalWebPartZoneTableless HeaderText='<%$ Code: PageResources.Zone_LeftPartZone %>' ID="leftPartZone" runat="server" Width="100%" ChromeTemplateFile="Standard.htm">
<ZoneTemplate>
<MonoX:BlogContainer ID="blogContainer" runat="server" UsePrettyPhoto="true" DateFormatString="d" RelatedContentVisible="false" EnableSyntaxHighlighter="true" GravatarRenderType="NotSet" />
</ZoneTemplate>
</portal:PortalWebPartZoneTableless>
</div>
<div class="side-content">
<portal:PortalWebPartZoneTableless HeaderText='<%$ Code: PageResources.Zone_RightPartZone %>' ID="rightWebPartZone" runat="server" Width="100%" ChromeTemplateFile="RightColumn.htm" ShowChromeForNonAdmins="true">
<ZoneTemplate>
<MonoX:BlogInfo ID="blogInfo" CacheDuration="600" HideIfEmpty="true" runat="server" />
<MonoX:BlogCategories ID="blogCategories" CacheDuration="600" HideIfEmpty="true" runat="server" />
<MonoX:BlogList ID="blogList" CacheDuration="600" HideIfEmpty="true" runat="server" PageSize="5" Template="BlogListShort" />
<MonoX:TagCloud ID="tagCloud" CacheDuration="600" HideIfEmpty="true" runat="server" />
</ZoneTemplate>
</portal:PortalWebPartZoneTableless>
</div>
</div>
</asp:Content>