?? articles_articlesection.ascx
字號:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%--
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="Notify me when a new item is added" Runat="Server"/></div>
<table cellpadding="0" cellspacing="0" border="0" Width="100%">
<tr>
<td align="left" valign="top">
<community:SectionTitle CssClass="ArticleSection_SectionTitle" Runat="Server" />
</td>
</tr>
<tr>
<td>
<community:PageHeader runat="Server"/>
</td>
</tr>
<tr>
<td>
<community:Sorter id="Sorter" align="right" runat="Server">
<ListItem Text="Default Order" value="Default" />
<ListItem Text="Date Posted" value="Date Created"/>
<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"/>
</td>
</tr>
<tr>
<td>
<span class="Content"><community:ArticleEditContent AddText="Add Article" ModerateText="Moderate Articles" Runat="Server" /></span>
</td>
</tr>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -