📄 events_eventsection.ascx
字号:
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="C#" %>
<%--
This skin is used for displaying the events in the EventSection 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="EventSection_SectionTitle" Runat="server" id="SectionTitle1" />
</td>
<td align="right" valign="top">
<community:Notify Text="当加入新事件时提醒我" Runat="server" id="Notify1" />
</td>
</tr>
</table>
<p>
<community:PageHeader CssClass="EventSection_SectionDescription" Runat="server" id="PageHeader1" />
<p>
<community:ContentList id="ContentList" 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:ItemEventImage align="left" width="125" Runat="Server" />
<community:ItemEventDate CssClass="EventSection_ListDate" Runat="Server" />
-
<community:ItemTitle CssClass="EventSection_ListTitle" Runat="Server" />
<br>
<community:ItemEventSpeaker runat="Server" />
<br>
<community:ItemEventLocation runat="Server" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" class="EventSection_ListItem2">
<community:ItemBriefDescription CssClass="EventSection_ListBriefDescription" Runat="Server" />
<br>
<community:ItemEventSpeakerBiography runat="Server" />
</td>
</tr>
<tr>
<td class="EventSection_ListItem2">
(
<community:ItemReadMoreLink Text="Read More" CssClass="EventSection_ListReadMoreLink" Runat="Server" />
|
<community:ItemCommentCount Text="comments" CssClass="Content_BodyText" Runat="Server" />)
</td>
<td align="right" class="EventSection_ListItem2">
<community:ItemRating id="ctlRateAction" DisplayOnly="True" Runat="Server" />
<community:ItemEventDateVisible DateFormatString="This event will be visible on {0:F}" runat="Server" />
</td>
</tr>
</table>
</ItemTemplate>
<SeparatorTemplate>
<p>
</SeparatorTemplate>
<NoContentTemplate>
No events are currently listed
</NoContentTemplate>
</community:ContentList>
<br>
<community:PageFooter runat="server" id="PageFooter1" />
<p>
<table width="100%" cellpadding="10">
<tr>
<td align="right">
<community:EventLinkPastEvents Text="View Past Events" Runat="server" id="EventLinkPastEvents1" />
</td>
</tr>
</table>
<p>
<span class="Content">
<community:EventEditContent AddText="Add New Event" ModerateText="Moderate Events" Runat="server" id="EventEditContent1" />
</span></p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -