viewauthorspanel.ascx

来自「Portal C# Article Live」· ASCX 代码 · 共 40 行

ASCX
40
字号
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ViewAuthorsPanel.ascx.cs" Inherits="Interspire.ArticleLive.Web.Templates.BrightLightFixed.Panels.ViewAuthorsPanel" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import namespace="Interspire.ArticleLive.Web" %>
<%@ Import namespace="Interspire.ArticleLive" %>
<div class="Trail">&nbsp;&raquo;&nbsp;&nbsp;<a href="<%= Config.Current.HomePagePath %>"><%= ResourceHelper.GetString("Home") %></a>&nbsp;&nbsp;&raquo;&nbsp;&nbsp;<%= ResourceHelper.GetString("Authors") %></div>
<asp:repeater id="AuthorList" Runat="server">
	<HeaderTemplate>
		<TABLE class="Panel ViewAuthorsPanel" width="100%" border="0">
			<TR>
				<TD class="Heading"><%= ResourceHelper.GetString("Authors") %></TD>
			</TR>
			<% if (Config.Current.EnableAuthorRegistration) { %>
			<tr>
				<td><%= Util.InsertLink(ResourceHelper.GetString("BecomeAnAuthorClickHere"), Config.Current.AuthorsPagePath + "?a=Register") %></td>
			</tr>
			<% } %>
	</HeaderTemplate>
	<ItemTemplate>
		<TR>
			<TD class="Content">
				<a href='<%# LinkHelper.CreateAuthorLink((User)Container.DataItem) %>'>
					<STRONG>
						<%# DataBinder.Eval(Container.DataItem, "Name") %>
					</STRONG></a>
			</TD>
		</TR>
	</ItemTemplate>
	<FooterTemplate>
		</table>
	</FooterTemplate>
</asp:repeater><asp:panel id="NoAuthorsPanel" Runat="server" Visible="false">
	<TABLE class="Panel ViewAuthorsPanel" width="100%" border="0">
		<TR>
			<TD class="Heading"><%= ResourceHelper.GetString("Authors") %></TD>
		</TR>
		<TR>
			<TD class="Content"><%= ResourceHelper.GetString("NoAuthors") %></TD>
		</TR>
	</TABLE>
</asp:panel>

⌨️ 快捷键说明

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