?? books_booksection.ascx
字號:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%--
This skin is used for displaying the books in the BookSection 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" valign="top">
<community:SectionTitle CssClass="BookSection_SectionTitle" Runat="Server" />
</td>
<td align="right" valign="top">
<community:Notify Text="Notify me when a new book is added" Runat="Server"/>
</td>
</tr>
</table>
<community:PageHeader CssClass="BookSection_SectionDescription" Runat="Server" />
<p>
<community:Sorter id="Sorter" runat="Server">
<ListItem Text="Default Order" Value="Default" />
<ListItem Text="Date Posted" Value="Date Created" />
<ListItem Text="Book Title" Value="Title" />
<ListItem Text="Book Rating" Value="Rating" />
<ListItem Text="Book Topic" Value="Topic" />
<ListItem Text="Popularity" value="ViewCount"/>
</community:Sorter>
<community:ContentList id="ContentList" Width="100%" PagerText="Page {0} of {1}" Runat="Server">
<ItemTemplate>
<table width="100%" cellspacing="0" border="0" cellpadding="5" class="BookSection_ListTable">
<tr>
<td class="BookSection_ListItem">
<table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td>
<community:ItemBookImage Width="100" border="0" Runat="Server"/>
</td>
<td class="BookSection_ListItem">
<div align="right">
<community:ItemTopic id="ctlTopic" Runat="Server"/>
</div>
<community:ItemTitle CssClass="BookSection_ListTitle" Runat="Server"/>
<br><span class="BookSection_ListLabel">Author:</span> <community:ItemBookAuthor CssClass="BookSection_ListAuthor" Runat="Server" />
<br><span class="BookSection_ListLabel">Publisher:</span> <community:ItemBookPublisher CssClass="BookSection_ListPublisher" Runat="Server" /></span>
<br><span class="BookSection_ListLabel">Publication Date:</span> <community:ItemBookPublicationDate DateFormatString="{0:d}" CssClass="BookSection_ListPublicationDate" Runat="Server" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#CCCCFF" class="BookSection_ListItem2">
<table width="100%" cellspacing="0" cellpadding="6" border="0">
<tr>
<td valign="top" align="left" valign="top">
<community:ItemBriefDescription CssClass="BookSection_ListBriefDescription" Runat="Server"/>
<community:ItemEditContent EditUrl="Books_EditBook.aspx?id={0}" runat="Server" />
</td>
<td align="left" valign="top" width="210">
<community:ItemRating DisplayOnly="True" Runat="Server" />
(<community:ItemReadMoreLink Text="Read More" CssClass="BookSection_ListReadMoreLink" Runat="Server" /> | <community:ItemCommentCount Text="comments" Runat="Server"/>)
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<p></p>
</SeparatorTemplate>
<NoContentTemplate>
<span class="BookSection_NoBooks">There are currently no books listed.</span>
</NoContentTemplate>
</community:ContentList>
<community:PageFooter runat="Server" />
<p>
<span class="Content"><community:BookEditContent AddText="Add Book" ModerateText="Moderate Books" Runat="Server" /></span>
</p>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -