📄 links_linkssection.ascx
字号:
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="Links" Namespace="ASPNET.StarterKit.Communities.Links" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control %>
<%--
This skin is used for displaying the links in the LinksSection page. Modify the HTML content
to modify the appearance of the page.
--%>
<table cellpadding="0" cellspacing="0" border="0" Width="100%">
<tr>
<td align="left">
<community:SectionTitle CssClass="LinkSection_SectionTitle" Runat="server" id="SectionTitle1" />
</td>
<td align="right">
<span align="right">
<community:Notify Text="当加入新链接时提醒我" Runat="server" id="Notify1" />
</span>
</td>
</tr>
</table>
<community:PageHeader Runat="server" id="PageHeader1" />
<p>
<community:Sorter id="Sorter" runat="Server">
<ListItem Text="Default Order" Value="Default" />
<ListItem Text="Date Posted" Value="Date Created" />
<ListItem Text="Link Title" Value="Title" />
<ListItem Text="Link Rating" Value="Rating" />
<ListItem Text="Link Topic" Value="Topic" />
<ListItem Text="Popularity" value="ViewCount" />
</community:Sorter>
<community:ContentList id="ContentList" PagerText="Page {0} of {1}" Width="100%" Runat="Server">
<HeaderTemplate>
<table cellpadding="4" cellspacing="0" border="0" Width="100%">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<table width="100%">
<tr>
<td valign="top" colspan="2">
<br>
<div class="LinkSection_ListCommentLink">
<community:ItemLinkTitle runat="server" />
</div>
<br>
<community:ItemBriefDescription CssClass="LinkSection_ListBriefDescription" Runat="Server" />
</td>
<td align="right" valign="top">
<community:ItemTopic id="ctlTopic" Runat="Server" />
</td>
</tr>
<tr>
<td>
<community:ItemRating Runat="Server" />
</td>
<td>
<community:ItemCommentLink Text="{0} comments Add/View" CssClass="LinkSection_ListCommentLink" Runat="Server" />
</td>
<td align="right">
<community:ItemEditContent EditUrl="Links_EditLink.aspx?id={0}" runat="Server" />
</td>
</tr>
</table>
</td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr bgcolor="#eeeeee">
<td>
<table width="100%">
<tr>
<td valign="top" colspan="2">
<br>
<div class="LinkSection_ListCommentLink">
<community:ItemLinkTitle runat="server" />
</div>
<br>
<community:ItemBriefDescription CssClass="LinkSection_ListBriefDescription" Runat="Server" />
</td>
<td align="right" valign="top">
<community:ItemTopic id="ctlTopic" Runat="Server" />
</td>
</tr>
<tr>
<td>
<community:ItemRating Runat="Server" />
</td>
<td>
<community:ItemCommentLink Text="{0} comments Add/View" CssClass="LinkSection_ListCommentLink" Runat="Server" />
</td>
<td align="right">
<community:ItemEditContent EditUrl="Links_EditLink.aspx?id={0}" runat="Server" />
</td>
</tr>
</table>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
<NoContentTemplate>
No links are currently listed.
</NoContentTemplate>
</community:ContentList>
</p>
<community:PageFooter runat="server" id="PageFooter1" />
<span class="Content">
<community:LinkEditContent AddText="Add New Link" ModerateText="Moderate Links" Runat="server" id="LinkEditContent1" />
</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -