⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sectionadvanced.ascx

📁 一个ASP.NET下的中文内容管理和社区系统
💻 ASCX
字号:
<%@ Control Language="c#" CodeBehind="SectionAdvanced.ascx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Communities.Admin.EditSections.SectionAdvanced" %>
<%@ Register TagPrefix="community" Namespace="ASPNET.StarterKit.Communities.Admin" Assembly="ASPNET.StarterKit.Communities" %>
<%@ import Namespace="ASPNET.StarterKit.Communities" %>
<!-- 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&nbsp;内容
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				允许用户输入HTML内容&nbsp;
			</td>
		</tr>
		<tr>
			<td class="formSectionContents">
				允许提交HTML内容?&nbsp;
				<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>
				允许提交HTML评论?&nbsp;
				<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">
	允许用户输入HTML内容。例如,如果您在文章区域允许HTML输入,那么用户可以输入HTML格式的文章内容。
	<br>
	<br>
	<font color="red"><b>警告:</b></font> 允许用户输入HTML内容可能使恶意脚本被提交。如果您允许HTML输入,您应该提供一些限制。
</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()"> 每页记录数&nbsp;
				<asp:CompareValidator ControlToValidate="txtRecordsPerPage" Operator="DataTypeCheck" Type="Integer" Text="(must be integer)"
					Runat="server" id="CompareValidator1">
(必须为整数)</asp:CompareValidator>
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				决定每页显示的记录数&nbsp;
			</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">
	决定每页显示的记录数。当一个区域包含多于此数目的记录时,将显示页码。
</div>
<!-- Comments -->
<p>
	<table class="formSection">
		<tr>
			<td class="formSectionHeader">
				<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpComments')"
					onmouseout="hideHelp()"> &nbsp;评论
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				允许用户为此区域内容添加评论。
			</td>
		</tr>
		<tr>
			<td class="formSectionContents">
				<table>
					<tr>
						<td>
							<asp:CheckBox id="chkEnableComments" runat="server" />允许评论
						</td>
					</tr>
					<tr>
						<td>
							谁可以评论?&nbsp;
						</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">
	允许用户为此区域内容添加评论。您可以通过指定角色来限制可以添加评论的用户。
</div>
<!-- Topics -->
<p>
	<table class="formSection">
		<tr>
			<td class="formSectionHeader">
				<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpTopics')"
					onmouseout="hideHelp()"> 主题
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				允许按主题分类本区域内容。
			</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">
	允许按主题分类本区域内容。使用编辑主题页面创建新主题。
</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()">&nbsp;邮件通知
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				当有新内容时,允许用户收到邮件通知。
			</td>
		</tr>
		<tr>
			<td class="formSectionContents">
				<asp:CheckBox id="chkEnableNotifications" runat="server"></asp:CheckBox>
			</td>
		</tr>
	</table>
</p>
<div id="helpEmailNotifications" style="DISPLAY:none">
	当有新内容时,允许用户收到邮件通知。当这个选项被选中,将显示一个选择框,这个选择框允许用户收到邮件通知。
</div>
<!-- Moderation -->
<p>
	<table class="formSection">
		<tr>
			<td class="formSectionHeader">
				<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpModeration')"
					onmouseout="hideHelp()">&nbsp;节制
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				允许内容节制&nbsp;
			</td>
		</tr>
		<tr>
			<td class="formSectionContents">
				<table>
					<tr>
						<td>
							<asp:CheckBox id="chkEnableModeration" runat="server" />允许节制
						</td>
					</tr>
					<tr>
						<td>
							谁能节制页面?&nbsp;
						</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">
	允许对页面进行节制。当这个这个选项被选中,内容必须经过被选为节制者的成员批准后才能对外发表。
</div>
<!-- Ratings -->
<p>
	<table class="formSection">
		<tr>
			<td class="formSectionHeader">
				<img border="0" src="../help/help.gif" align="right" onmouseover="showHelp('helpRatings')"
					onmouseout="hideHelp()"> &nbsp;评估
			</td>
		</tr>
		<tr>
			<td class="formSectionHelp">
				允许对页面内容评估
			</td>
		</tr>
		<tr>
			<td class="formSectionContents">
				<table>
					<tr>
						<td>
							<asp:CheckBox id="chkEnableRatings" runat="server" />
							允许对页面内容评估
						</td>
					</tr>
					<tr>
						<td>
							<asp:CheckBox id="chkEnableCommentRatings" runat="server" />允许对评论评估
						</td>
					</tr>
					<tr>
						<td>
							谁可以评估页面?&nbsp;
						</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">
	允许对区域内的内容进行评估。当这个选项被选中,指定的成员可以对加入本区域的内容进行评估。
</div>

⌨️ 快捷键说明

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