discuss_comments-itemtemplate-embedded.ascx

来自「一个ASP.NET下的中文内容管理和社区系统」· ASCX 代码 · 共 43 行

ASCX
43
字号
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control %>
<p>
	<table width="100%" class="discussTable" cellpadding="0" cellspacing="1">
		<tr>
			<td valign="top" width="100" class="discussCell">
				<community:ItemAuthor runat="server" id="ItemAuthor1" />
			</td>
			<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td class="discussCellHilite">
							<b>
								<community:ItemTitle runat="server" id="ItemTitle1" /></b>
							<br>
							发表于:&nbsp;
							<community:ItemDateCreated DateFormatString="{0:f}" DisplayTimeZone="true" runat="server" id="ItemDateCreated1" />
						</td>
					</tr>
					<tr>
						<td class="discussCell">
							<community:ItemCommentText runat="server" id="ItemCommentText1" />
							<p>
								<community:ItemCommentReply ReplyUrl="Discuss_ReplyComment.aspx?id={0}" ImageUrl="~/Communities/Common/Images/Discuss/Reply.gif"
									runat="server" id="ItemCommentReply1" />
							</p>
							<community:ItemCommentRating id="ctlRateAction" SubmitText="Rate this Comment" Runat="Server" />
							<table cellpadding="0" width="100%" border="0" cellspacing="0">
								<tr>
									<td width="20"></td>
									<td>
										<community:ContentList repeatLayout="flow" id="NestedComments" Runat="Server" />
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
</p>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?