📄 headlines_headlinessection.ascx
字号:
<%@ Control %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%--
This skin is used for displaying the Headliness in the HeadlinesSection page. Modify the HTML content
to modify the appearance of the page.
This one has Logo - Subject, Author and date with row below being brief description..
--%>
<table cellpadding="0" cellspacing="0" border="0" Width="100%">
<tr>
<td align="left" valign="top">
<community:SectionTitle CssClass="HeadlinesSection_SectionTitle" Runat="Server" />
</td>
</tr>
</table>
<community:PageHeader CssClass="HeadlinesSection_SectionDescription" Runat="Server" />
<p>
<community:Sorter id="Sorter" runat="Server">
<ListItem Text="默认顺序" Value="Default" />
<ListItem Text="发表日" Value="Date Created" />
<ListItem Text="标题" Value="Title" />
<ListItem Text="评级" Value="Rating" />
<ListItem Text="话题" Value="Topic" />
<ListItem Text="热门度" value="ViewCount"/>
<ListItem Text="作者" value="Author" />
</community:Sorter>
<community:ContentList id="ContentList" Width="100%" PagerText="Page {0} of {1}" Runat="Server">
<ItemTemplate>
<table width="100%" cellspacing="0" cellpadding="5" class="EventSection_ListTable">
<tr>
<td valign="middle" colspan="2" class="EventSection_ListItem">
<table border="0" cellpadding="6" cellspacing="0" width="100%">
<tr>
<td align="right" colspan="2" valign="top">
<div align="right" valign="top">
<community:ItemTopic id="ctlTopic" Runat="Server" />
</div>
</td>
</tr>
<tr>
<td>
<community:ItemHeadlinesImage align="left" width="125" Runat="Server" ID="Itemeventimage1"/>
<community:ItemTitle CssClass="EventSection_ListTitle" Runat="Server" ID="Itemtitle1"/>
<br>
<span class="HeadlinesSection_ListLabel">作者:</span> <community:ItemHeadlinesAuthor CssClass="HeadlinesSection_ListAuthor" Runat="Server" ID="Itemheadlinesauthor1"/>
<br>
<span class="HeadlinesSection_ListLabel">发表日期:</span> <community:ItemHeadlinesPublicationDate DateFormatString="{0:d}" CssClass="HeadlinesSection_ListPublicationDate" Runat="Server" ID="Itemheadlinespublicationdate1"/>
<span class="BookSection_ListLabel"> 人气:</span>
<community:ItemViewCount Runat="server" id="ItemViewCount1" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="EventSection_ListItem2">
<community:ItemBriefDescription CssClass="EventSection_ListBriefDescription" Runat="Server" ID="Itembriefdescription1"/>
<br>
</td>
</tr>
<tr>
<td class="EventSection_ListItem2">
(
<community:ItemReadMoreLink Text="详情..." CssClass="EventSection_ListReadMoreLink" Runat="Server" ID="Itemreadmorelink1"/>
|
<font size=-1><community:ItemCommentCount Text="comments" CssClass="Content_BodyText" Runat="Server" ID="Itemcommentcount1"/></font>)
</td>
<td align="right" class="EventSection_ListItem2">
<community:ItemRating id="ctlRateAction" DisplayOnly="True" Runat="Server" />
<community:ItemEditContent EditUrl="Headlines_EditHeadlines.aspx?id={0}" runat="Server" ID="Itemeditcontent1"/>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<br>
</SeparatorTemplate>
<NoContentTemplate>
<span class="HeadlinesSection_NoHeadliness">There are currently no Headliness listed.</span>
</NoContentTemplate>
</community:ContentList>
<community:PageFooter runat="Server"/>
<p>
<span class="Content"><community:HeadlinesEditContent AddText="增加内容" ModerateText="审批内容" Runat="Server" /></span>
</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -