?? articles_articlesection.ascx
字號:
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="C#" %>
<%--
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="默認順序" value="Default" />
<ListItem Text="發表日" value="Date Created" />
<ListItem Text="標題" value="Title" />
<ListItem Text="熱門度" value="ViewCount" />
<ListItem Text="話題" value="Topic" />
<ListItem Text="作者" value="Author" />
<ListItem Text="評級" 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>
作者
<community:ItemAuthor CssClass="ArticleSection_ListAuthorLink" Runat="Server" />
發于
<community:ItemDateCreated Runat="Server" />
</td>
</tr>
<tr>
<td class="ArticleSection_ListItem2">
<community:ItemBriefDescription CssClass="ArticleSection_ListBriefDescription" Runat="Server" />
<p>
(
<community:ItemReadMoreLink Text="詳情..." CssClass="ArticleSection_ListReadMoreLink" Runat="Server" />
| <font size="-1">
<community:ItemCommentCount id="lblCommentCount" Text="comments" Runat="Server" /></font>)
<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>現在還沒有文章.</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="增加文章" ModerateText="Moderate Articles" Runat="server" id="ArticleEditContent1" />
</span>
</td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -