📄 photogallery_photogallerysection.ascx
字号:
<%@ Control Language="C#" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities" Assembly="ASPNET.StarterKit.Communities" %>
<%--
This skin is used for displaying the photos in the PhotoSection page. Modify the HTML content
to modify the appearance of the page.
--%>
<script language="JavaScript">
<!--
function showImage(imagePath) {
document.imgFullImage.src = imagePath;
}
// -->
</script>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td align="left" valign="top">
<community:SectionTitle CssClass="PhotoSection_SectionTitle" Runat="server" id="SectionTitle1" />
</td>
<td align="right" valign="top">
<community:Notify Text="有新照片时通知我" Runat="server" id="Notify1" />
</td>
</tr>
</table>
<community:PageHeader runat="server" id="PageHeader1" />
<table cellspacing="0" cellpadding="3" width="100%" border="0">
<tr>
<td height="5" width="100%" class="PhotoSection_SpacerCell">
</td>
</tr>
<tr>
<td>
<asp:Panel id="pnlFilmstrip" Runat="Server">
<DIV style="OVERFLOW: auto; WIDTH: 600px">
<asp:Image id="imgFullImage" Runat="Server" name="imgFullImage" border="1"></asp:Image></DIV>
</asp:Panel>
<table width="100%">
<tr>
<td>
<community:Sorter id="Sorter" runat="Server">
<ListItem Text="默认顺序" Value="Default" />
<ListItem Text="发布日" Value="Date Created" />
<ListItem Text="标题" Value="Title" />
<ListItem Text="评级" Value="Rating" />
<ListItem Text="话题" Value="Topic" />
<ListItem Text="热门度" value="ViewCount" />
<ListItem Text="作者" value="Author" />
</community:Sorter>
</td>
<td align="right">
<asp:DropDownList id="PhotoTemplates" Runat="Server">
<asp:ListItem Value="thumbnails">缩略图形式</asp:ListItem>
<asp:ListItem Value="filmstrip">幻灯片形式</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
<community:ContentList id="ContentList" PagerText="Page {0} of {1}" RepeatLayout="Table" RepeatColumns="4"
Width="100%" CssClass="PhotoSection_ListTable" Runat="Server">
<NoContentTemplate>
现在还没有内容.
</NoContentTemplate>
</community:ContentList>
</td>
</tr>
<tr>
<td height="20" width="100%" class="PhotoSection_SpacerCell">
</td>
</tr>
</table>
<community:PageFooter runat="server" id="PageFooter1" />
<p>
<span class="Content">
<community:PhotoEditContent AddText="增加新照片" ModerateText="审批图片" Runat="server" id="PhotoEditContent1" />
</span>
</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -