📄 discuss_discusssection.ascx
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<community:SectionTitle CssClass="ArticleSection_SectionTitle" runat="Server"/>
<br />
<community:PageHeader runat="Server" />
<div align="right">
<community:Notify Text="有新贴时通知我" runat="Server" />
</div>
<p>
<community:AddContent Text="发新贴" ImageUrl="~/Communities/Common/Images/Discuss/NewThread.gif" NavigateUrl="Discuss_AddPost.aspx" Runat="Server"/>
</p>
<community:ContentList id="ContentList" width="100%" runat="Server">
<HeaderTemplate>
<table width="100%" class="discussTable" cellspacing="1">
<tr>
<th colspan="2" nowrap="nowrap">主题</th>
<th nowrap="nowrap">发起人</th>
<th nowrap="nowrap">回复</th>
<th nowrap="nowrap">浏览</th>
<th nowrap="nowrap">最后回复</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td class="discussCell"><community:ItemDiscussIcon PopularCount="40" runat="Server"/></td>
<td class="discussCell"><community:ItemTitleLink runat="Server"/></td>
<td class="discussCellHiLite"><community:ItemAuthor runat="Server"/></td>
<td class="discussCellHiLite"><community:ItemCommentCount runat="Server"/></td>
<td class="discussCellHiLite"><community:ItemViewCount runat="Server"/></td>
<td class="discussCellHiLite" align="center">
<community:ItemDiscussPinnedPost text="置顶贴" runat="Server" />
<community:ItemDiscussDateCommented dateformatstring="{0:g}" DisplayTimeZone="true" runat="Server"/>
<br />by <community:ItemDiscussLastCommentUsername runat="Server" />
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
<NoContentTemplate>
现在还没有内容.
</NoContentTemplate>
</community:ContentList>
<community:PageFooter runat="Server" />
<p>
<span class="Content"><community:DiscussEditContent AddText="发新贴" ModerateText="审批帖子" Runat="Server" /></span>
</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -