📄 articles_articlesection.ascx
字号:
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control %>
<%--
This skin is used for displaying the articles in the ArticleSection page.
Modify the HTML content to modify the appearance of the page.
--%>
<div align="right"><community:Notify Text="有新条目加入时提醒我" Runat="server" id="Notify1" /></div>
<table cellpadding="0" cellspacing="0" border="0" Width="100%">
<tr>
<td align="left" valign="top">
<community:SectionTitle CssClass="ArticleSection_SectionTitle" Runat="server" id="SectionTitle1" />
</td>
</tr>
<tr>
<td>
<community:PageHeader runat="server" id="PageHeader1" />
</td>
</tr>
<tr>
<td>
<community:Sorter id="Sorter" align="right" runat="Server">
<ListItem Text="Default Order" value="Default" />
<ListItem Text="Date Posted" value="DateCreated" />
<ListItem Text="Title" value="Title" />
<ListItem Text="Popularity" value="ViewCount" />
<ListItem Text="Topic" value="Topic" />
<ListItem Text="Author" value="Author" />
<ListItem Text="Rating" value="Rating" />
</community:Sorter>
<br clear="all">
<community:ContentList id="ContentList" PagerText="Page {0} of {1}" Width="100%" Runat="Server">
<ItemTemplate>
<table width="100%" cellspacing="0" cellpadding="5" class="ArticleSection_ListTable">
<tr>
<td bgcolor="#DCDDDE" class="ArticleSection_ListItem">
<div align="right">
<community:ItemTopic align="right" Runat="Server" />
</div>
<community:ItemHasRead runat="Server" />
<community:ItemTitle CssClass="ArticleSection_ListTitle" Runat="Server" />
<br>
Posted by
<community:ItemAuthor CssClass="ArticleSection_ListAuthorLink" Runat="Server" />
on
<community:ItemDateCreated Runat="Server" />
</td>
</tr>
<tr>
<td class="ArticleSection_ListItem2">
<community:ItemBriefDescription CssClass="ArticleSection_ListBriefDescription" Runat="Server" />
<p>
(
<community:ItemReadMoreLink Text="Read More..." CssClass="ArticleSection_ListReadMoreLink" Runat="Server" />
<community:ItemCommentCount id="lblCommentCount" Text="comments" Runat="Server" />)
<community:ItemRating DisplayOnly="True" Runat="Server" />
</p>
<community:ItemEditContent EditUrl="Articles_EditArticle.aspx?id={0}" runat="Server" />
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<p>
</SeparatorTemplate>
<NoContentTemplate>
<p class="ArticleSection_NoArticles">
<i>No articles are currently listed.</i>
</p>
</NoContentTemplate>
</community:ContentList>
</td>
</tr>
<tr>
<td>
<community:PageFooter runat="server" id="PageFooter1" />
</td>
</tr>
<tr>
<td>
<span class="Content">
<community:ArticleEditContent AddText="Add Article" ModerateText="Moderate Articles" Runat="server" id="ArticleEditContent1" />
</span>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -