?? sectionadvanced.ascx
字號:
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities.Admin" Assembly="ASPNET.StarterKit.Communities" %>
<%@ Control Language="c#" CodeBehind="SectionAdvanced.ascx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.EditSections.SectionAdvanced" %>
<!-- Allow Html Input -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpAllowHtmlInput')" onmouseout="hideHelp()">
HTML Content
</td>
</tr>
<tr>
<td class="formSectionHelp">
Enables users to enter HTML content.
</td>
</tr>
<tr>
<td class="formSectionContents">
Allow HTML when submitting content?
<asp:RadioButtonList id="radlAllowHtmlInput" runat="Server">
<asp:ListItem Text="None" Value="None" />
<asp:ListItem Text="Limited" Value="Limited" />
<asp:ListItem Text="Full" Value="Full" />
</asp:RadioButtonList>
<br>
Allow HTML when submitting comments?
<asp:RadioButtonList id="radlAllowCommentHtmlInput" runat="Server">
<asp:ListItem Text="None" Value="None" />
<asp:ListItem Text="Limited" Value="Limited" />
<asp:ListItem Text="Full" Value="Full" />
</asp:RadioButtonList>
</td>
</tr>
</table>
</p>
<div id="helpAllowHtmlInput" style="DISPLAY:none">
Enables users to enter HTML content. For example, if you enable HTML input for an
articles section, then users can enter HTML content for the body of the article.
<br>
<br>
<font color="red"><b>WARNING:</b></font> Allowing users to add HTML content could
enable users to add malicious scripts. If you enable HTML input, you should also
enable moderation for a section.
</div>
<!-- Records Per Page -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpRecordsPerPage')" onmouseout="hideHelp()">
Records Per Page
<asp:CompareValidator ControlToValidate="txtRecordsPerPage" Operator="DataTypeCheck" Type="Integer" Text="(must be integer)" Runat="server" id="CompareValidator1" />
</td>
</tr>
<tr>
<td class="formSectionHelp">
Determines the number of records to display in a page.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:TextBox class="formField" id="txtRecordsPerPage" text="10" runat="server"></asp:TextBox>
</td>
</tr>
</table>
</p>
<div id="helpRecordsPerPage" style="DISPLAY:none">
Determines the number of records to display in a page. When a section contains more
than the specified number of records, page numbers are displayed.
</div>
<!-- Comments -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpComments')" onmouseout="hideHelp()">
Comments
</td>
</tr>
<tr>
<td class="formSectionHelp">
Enables users to add comments to content in this section.
</td>
</tr>
<tr>
<td class="formSectionContents">
<table>
<tr>
<td>
<asp:CheckBox id="chkEnableComments" runat="server" />
Enable Comments
</td>
</tr>
<tr>
<td>
Who Can Add Comments?
</td>
</tr>
<tr>
<td>
<community:ListPICKER id="ctlCommentRoles" AllItemsText="All Roles" SelectedItemsText="Selected Roles" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</p>
<div id="helpComments" style="DISPLAY:none">
Enables users to add comments to content in this section. You can limit the users
who can add comments by specifying particular roles.
</div>
<!-- Topics -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpTopics')" onmouseout="hideHelp()">
Topics
</td>
</tr>
<tr>
<td class="formSectionHelp">
Enables categorization of content in this section by topic.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:CheckBox class="formField" id="chkEnableTopics" runat="server"></asp:CheckBox>
</td>
</tr>
</table>
</p>
<div id="helpTopics" style="DISPLAY:none">
Enables categorization of content in this section by topic. Create new topics by
using the Edit Topics page.
</div>
<!-- Email Notifications -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpEmailNotifications')" onmouseout="hideHelp()">
Email Notifications
</td>
</tr>
<tr>
<td class="formSectionHelp">
Enable users to receive email notifications when content is added.
</td>
</tr>
<tr>
<td class="formSectionContents">
<asp:CheckBox id="chkEnableNotifications" runat="server"></asp:CheckBox>
</td>
</tr>
</table>
</p>
<div id="helpEmailNotifications" style="DISPLAY:none">
Enable users to receive email notifications when content is added. When this option
is enabled, a checkbox is displayed which enables users to request email
notifications.
</div>
<!-- Moderation -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpModeration')" onmouseout="hideHelp()">
Moderation
</td>
</tr>
<tr>
<td class="formSectionHelp">
Enable moderation for content added to this section.
</td>
</tr>
<tr>
<td class="formSectionContents">
<table>
<tr>
<td>
<asp:CheckBox id="chkEnableModeration" runat="server" />
Enable Moderate
</td>
</tr>
<tr>
<td>
Who Can Moderate Pages?
</td>
</tr>
<tr>
<td>
<community:ListPICKER id="ctlModerateRoles" AllItemsText="All Roles" SelectedItemsText="Selected Roles" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</p>
<div id="helpModeration" style="DISPLAY:none">
Enable moderation for content added to this section. When enabled, content must be
approved by a member of a role selected for moderation before it appears to the
public.
</div>
<!-- Ratings -->
<p>
<table class="formSection">
<tr>
<td class="formSectionHeader">
<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpRatings')" onmouseout="hideHelp()">
Ratings
</td>
</tr>
<tr>
<td class="formSectionHelp">
Enable ratings for content in this section.
</td>
</tr>
<tr>
<td class="formSectionContents">
<table>
<tr>
<td>
<asp:CheckBox id="chkEnableRatings" runat="server" />
Enable Ratings for content
</td>
</tr>
<tr>
<td>
<asp:CheckBox id="chkEnableCommentRatings" runat="server" />
Enable Ratings for comments
</td>
</tr>
<tr>
<td>
Who Can Rate Pages?
</td>
</tr>
<tr>
<td>
<community:ListPICKER id="ctlRateRoles" AllItemsText="All Roles" SelectedItemsText="Selected Roles" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</p>
<div id="helpRatings" style="DISPLAY:none">
Enable ratings for content in this section. When this option is enabled, members of
the selected roles can rate content added to this section.
</div>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -