📄 sectioneditcontrol.ascx
字号:
<%@ Control language="c#" Codebehind="SectionEditControl.ascx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Forums.SectionEditControl" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<%@ Register TagPrefix="CA" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<%@ Register TagPrefix="CP" TagName = "SectionPermissionList" Src = "~/ControlPanel/Forums/SectionPermissionListControl.ascx" %>
<%@ Register TagPrefix="CP" TagName = "SectionPermissionListAdmin" Src = "~/ControlPanel/Forums/SectionPermissionListAdminControl.ascx" %>
<%@ Register TagPrefix="TWC" Namespace="Telligent.Web.UI" Assembly="Telligent.Web.UI" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<span class="CommonDescription"><cp:resourcecontrol id="AddSectionHelpResource" runat="server" visible="false" resourcename="CP_Forums_Home_AddNewForumHelp"></cp:resourcecontrol></span>
<cp:statusmessage id="Status" runat="server"></cp:statusmessage>
<TWC:TabbedPanes id="TabStrip" runat="server"
PanesCssClass="CommonPane"
TabSetCssClass="CommonPaneTabSet"
TabCssClasses="CommonPaneTab,CommonPaneTab1,CommonPaneTab2"
TabSelectedCssClasses="CommonPaneTabSelected,CommonPaneTabSelected1,CommonPaneTabSelected2"
TabHoverCssClasses="CommonPaneTabHover,CommonPaneTabHover1,CommonPaneTabHover2"
>
<TWC:TabbedPane runat="server">
<Tab><CP:ResourceControl runat="server" ResourceName="CP_Forums_SectionEdit_Tab_Basic" /></Tab>
<Content>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon16" runat="Server" resourcename="CP_Forums_SectionEdit_Name_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel2" runat="server" resourcename="CP_Forums_SectionEdit_Name"></cp:resourcelabel></td>
<td class="CommonFormField">
<asp:textbox id="Name" runat="server" CssClass="ControlPanelTextInputBig" columns="40" maxlength="256"></asp:textbox>
<asp:requiredfieldvalidator id="NameRequired" runat="server" controltovalidate="Name" font-bold="True" errormessage="*"></asp:requiredfieldvalidator></td>
</tr>
<tr>
<td class="CommonFormFieldName" valign="top">
<cp:helpicon id="Helpicon1" runat="Server" resourcename="CP_Forums_SectionEdit_ForumDescription_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel4" runat="server" resourcename="CP_Forums_SectionEdit_ForumDescription"></cp:resourcelabel></td>
<td class="CommonFormField">
<asp:textbox id="Description" runat="server" columns="40" maxlength="1000" textmode="MultiLine"
rows="3"></asp:textbox>
<asp:customvalidator id="DescriptionRequired" runat="server" controltovalidate="Description" font-bold="True"
errormessage="*"></asp:customvalidator></td>
</tr>
<tr>
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon2" runat="Server" resourcename="CP_Forums_SectionEdit_Group_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel6" runat="server" resourcename="CP_Forums_SectionEdit_Group"></cp:resourcelabel></td>
<td class="CommonFormField">
<asp:literal id="GroupValue" runat="server"></asp:literal>
<asp:dropdownlist id="AdminGroupList" runat="server" autopostback="True" />
</td>
</tr>
<tr id="ParentForumRow" runat="server" visible="false">
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon15" runat="Server" resourcename="CP_Forums_SectionEdit_Parent_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel7" runat="server" resourcename="CP_Forums_SectionEdit_Parent"></cp:resourcelabel>
</td>
<td class="CommonFormField">
<cp:hyperlink id="ParentForumName" runat="server" />
<asp:dropdownlist id="ForumList" runat="server" visible="False"/>
</td>
</tr>
<tr>
<td class="CommonFormFieldName" nowrap="true">
<cp:helpicon id="Helpicon3" runat="Server" resourcename="CP_Forums_SectionEdit_IsActive_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel8" runat="server" resourcename="CP_Forums_SectionEdit_IsActive"></cp:resourcelabel></td>
<td class="CommonFormField">
<cs:yesnoradiobuttonlist id="IsActive" runat="server" cssclass="txt1" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
</tr>
<tr id="EnableAnonymousPostingForUsersRow" runat="server">
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon11" runat="Server" resourcename="CP_Forums_SectionEdit_EnableAnonymousPostingForUsers_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel22" runat="server" resourcename="CP_Forums_SectionEdit_EnableAnonymousPostingForUsers"></cp:resourcelabel></td>
<td class="CommonFormField">
<cs:yesnoradiobuttonlist id="EnableAnonymousPostingForUsers" runat="server" cssclass="txt1" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
</tr>
<tr runat="server" id="SectionLocalizationArea">
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon23" runat="Server" resourcename="CP_Forums_SectionEdit_DefaultLanguage_Detail" />
<cp:formlabel id="Formlabel5" runat="Server" resourcename="CP_Forums_SectionEdit_DefaultLanguage" controltolabel="DefaultLanguage" />
</td>
<td class="CommonFormField">
<cs:FilterLanguageDropDownList runat="server" id="DefaultLanguage" />
</td>
</tr>
</table>
</Content>
</TWC:TabbedPane>
<TWC:TabbedPane runat="server">
<Tab><CP:ResourceControl runat="server" ResourceName="CP_Forums_SectionEdit_Tab_Advanced" /></Tab>
<Content>
<table cellspacing="0" cellpadding="2" border="0">
<tr>
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon14" runat="Server" resourcename="CP_Forums_SectionEdit_Url_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel3" runat="server" resourcename="CP_Forums_SectionEdit_Url"></cp:resourcelabel></td>
<td class="CommonFormField">
<asp:textbox id="Url" runat="server" columns="40" maxlength="512"></asp:textbox>
</tr>
<tr>
<td class="CommonFormFieldName">
<cp:helpicon id="Helpicon4" runat="Server" resourcename="CP_Forums_SectionEdit_IsSearchable_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel10" runat="server" resourcename="CP_Forums_SectionEdit_IsSearchable"></cp:resourcelabel></td>
<td class="CommonFormField">
<cs:yesnoradiobuttonlist id="IsSearchable" runat="server" cssclass="txt1" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
</tr>
<tr>
<td class="CommonFormFieldName" nowrap="true">
<cp:helpicon id="Helpicon5" runat="Server" resourcename="CP_Forums_SectionEdit_IsModerated_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel12" runat="server" resourcename="CP_Forums_SectionEdit_IsModerated"></cp:resourcelabel></td>
<td class="CommonFormField">
<cs:yesnoradiobuttonlist id="IsModerated" runat="server" cssclass="txt1" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
</tr>
<tr>
<td class="CommonFormFieldName" nowrap="true">
<cp:helpicon id="Helpicon6" runat="Server" resourcename="CP_Forums_SectionEdit_EnablePostStatistics_Detail"></cp:helpicon>
<cp:resourcelabel id="Resourcelabel14" runat="server" resourcename="CP_Forums_SectionEdit_EnablePostStatistics"></cp:resourcelabel></td>
<td class="CommonFormField">
<cs:yesnoradiobuttonlist id="EnablePostStatistics" runat="server" cssclass="txt1" repeatcolumns="2"></cs:yesnoradiobuttonlist></td>
</tr>
<tr>
<td class="CommonFormFieldName" nowrap="true">
<cp:helpicon id="Helpicon7" runat="Server" resourcename="CP_Forums_SectionEdit_EnablePostPoints_Detail"></cp:helpicon>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -