📄 viewauthorspanel.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="ViewAuthorsPanel.ascx.cs" Inherits="Interspire.ArticleLive.Web.Templates.DefaultFixed.Panels.ViewAuthorsPanel" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import namespace="Interspire.ArticleLive.Web" %>
<%@ Import namespace="Interspire.ArticleLive" %>
<div class="Trail"> » <a href="<%= Config.Current.HomePagePath %>"><%= ResourceHelper.GetString("Home") %></a> » <%= 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -