📄 view-sitesettings.ascx
字号:
<%@ Control %>
<%@ Register TagPrefix="Forums" Namespace="AspNetForums.Controls" Assembly="AspNetForums.Controls" %>
<table class="tableBorder" cellPadding="4" cellSpacing="1">
<tr>
<td class="column" colspan="2">Manage by Domain</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Application</b>
<br>
Choose the application you wish to administer.
</td>
<td class="fh" width="400" nowrap>
<forums:DomainDropDownList id="Domain" runat="server" /> <asp:Button id="SelectDomain" runat="server" Text=" Select "/>
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1">
<tr>
<td class="column" colspan="2">Disable Forums</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Disable Forums</b>
<br>
When disabled only administrators and localhost requests are able to access the
forums. A general 'forums' disabled message is displayed.
</td>
<td class="fh" width="400" nowrap>
<asp:RadioButtonList CssClass="txt1" id="Disabled" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1">
<tr>
<td class="column" colspan="2">General Settings</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Site Name</b>
<br>
The name of your forums application. Used in the display of your site.
</td>
<td class="fh" width="400" nowrap>
<asp:TextBox id="SiteName" columns="55" runat="server" MaxLength="512" />
</td>
</tr>
<tr>
<td class="f" valign="top">
<b>Site Description</b>
<br>
Enter a brief description to describe your forums.
</td>
<td class="fh">
<asp:TextBox id="SiteDescription" columns="55" rows="3" TextMode="Multiline" runat="server" />
</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Time Zone</b>
<br>
Time zone that the forums database server is set to.
</td>
<td class="fh" width="300" nowrap>
<forums:TimezoneDropDownList id="Timezone" runat="server" />
</td>
</tr>
<tr>
<td class="f">
<b>Threads/Page</b>
</td>
<td class="fh">
<asp:TextBox id="ThreadsPerPage" runat="Server" MaxLength="4" />
</td>
</tr>
<tr>
<td class="f">
<b>Posts/Page</b>
</td>
<td class="fh">
<asp:TextBox id="PostsPerPage" runat="Server" MaxLength="4" />
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1">
<tr>
<td class="column" colspan="2">Contact</td>
</tr>
<tr>
<td class="f">
<b>Admin Email Address</b>
<br>
Email address of the forums administrator.
</td>
<td class="fh">
<asp:TextBox id="AdminEmailAddress" runat="server" MaxLength="128" /><asp:RegularExpressionValidator runat="server" ControlToValidate="AdminEmailAddress" CssClass="validationWarning"
ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" id="RegularExpressionValidator1">Invalid email address.</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Company/Organization Name</b>
<br>
Name of your company (required for COPPA).
</td>
<td class="fh" width="400" nowrap>
<asp:TextBox id="CompanyName" runat="server" MaxLength="128" />
</td>
</tr>
<tr>
<td class="f">
<b>Company/Organization Email Address</b>
<br>
Used in the 'contact us' section of the footer.
</td>
<td class="fh">
<asp:TextBox id="CompanyEmailAddress" runat="server" MaxLength="128" /><asp:RegularExpressionValidator runat="server" ControlToValidate="CompanyEmailAddress" CssClass="validationWarning"
ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" id="RegularExpressionValidator2">Invalid email address.</asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="f">
<b>Company/Organization Fax Number</b>
<br>
Enter the fax number where COPPA forms (if necessary) can be faxed to.
</td>
<td class="fh">
<asp:TextBox id="CompanyFaxNumber" runat="server" MaxLength="128" />
</td>
</tr>
<tr>
<td class="f">
<b>Company/Organization Address</b>
<br>
Enter the address where COPPA forms (if necessary) can be mailed to.
</td>
<td class="fh">
<asp:TextBox id="CompanyAddress" runat="server" MaxLength="256" />
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1">
<tr>
<td class="column" colspan="2">Home Page Menus & Sections</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Display Forum Description</b>
<br>
Displays the description for the forums.
</td>
<td class="fh" width="400" nowrap>
<asp:RadioButtonList CssClass="txt1" id="DisplayForumDescription" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f">
<b>Display Today's Birthdays<font color="red"> (NOT ENABLED IN ALPHA)</font></b>
<br>
Displays members who have birthdays today.
</td>
<td class="fh">
<asp:RadioButtonList CssClass="txt1" id="DisplayBirthdays" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f">
<b>Display Current Time</b>
<br>
Displays the current (localized to the user) time on the home page.
</td>
<td class="fh">
<asp:RadioButtonList CssClass="txt1" id="DisplayCurrentTime" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f">
<b>Display Who is Online</b>
<br>
Displays the 'Who Is Online' section on the home page.
</td>
<td class="fh">
<asp:RadioButtonList CssClass="txt1" id="DisplayWhoIsOnline" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f">
<b>Display Site Statistics</b>
<br>
Displays the 'Site Statistics' section on the home page.
</td>
<td class="fh">
<forums:YesNoRadioButtonList CssClass="txt1" id="DisplayStatistics" RepeatColumns="2" runat="server" />
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1">
<tr>
<td class="column" colspan="2">RSS Options</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Enable RSS Feeds for public forums</b>
<br>
Forums will generate RSS feeds for all public forums.
</td>
<td class="fh" width="400" nowrap>
<asp:RadioButtonList CssClass="txt1" id="EnableForumRSS" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Default Threads/Feed</b>
<br>
Default number of threads displayed per/feed
</td>
<td class="fh" width="400" nowrap>
<asp:TextBox id="RSSDefaultThreadsPerFeed" runat="server" MaxLength="3" />
</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Max Threads/Feed</b>
<br>
Maximum number of threads displayed per/feed
</td>
<td class="fh" width="400" nowrap>
<asp:TextBox id="RSSMaxThreadsPerFeed" runat="server" MaxLength="3" />
</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Cache Window (In Minutes)</b>
<br>
How long a feed is cached for.
</td>
<td class="fh">
<asp:TextBox id="RssCacheWindowInMinutes" runat="server" MaxLength="256" />
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
<tr>
<td class="column" colspan="2">Member list and top posters</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Display Member List</b>
<br>
The member list link is removed from the navigation menu.
</td>
<td class="fh" width="400" nowrap>
<asp:RadioButtonList CssClass="txt1" id="PublicMemberList" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f">
<b>Enable Advanced Member Searching</b>
<br>
Allow users to use symbols for more complex member searches.
</td>
<td class="fh">
<forums:YesNoRadioButtonList CssClass="txt1" id="MemberListAdvancedSearch" RepeatColumns="2" runat="server" />
</td>
</tr>
<tr>
<td class="f">
<b>Members per Page</b>
<br>
Number of site members to display per page when viewing the member list.
</td>
<td class="fh">
<asp:TextBox id="MemberListPageSize" runat="server" MaxLength="4" />
</td>
</tr>
<tr>
<td class="f">
<b>Number of Top Posters</b>
<br>
Number of top posters to display in the site statistics (max is 100 / min is 1).
</td>
<td class="fh">
<asp:TextBox id="MemberListTopPostersToDisplay" runat="server" MaxLength="3" />
</td>
</tr>
</table>
<P>
<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
<tr>
<td class="column" colspan="2">User Posting</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Allow Duplicate Posts</b>
<br>
Allow posts from the same user with duplicate contents from a previous post.
</td>
<td class="fh" width="400" nowrap>
<asp:RadioButtonList CssClass="txt1" id="AllowDuplicatePosts" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f" width="100%">
<b>Duplicate Post Interval (In Seconds)</b>
<br>
When duplicate posts are not allowed, duplicates are not allowed in this
interval. Set to 0 to allow no duplicates ever.
</td>
<td class="fh" width="400" nowrap>
<asp:TextBox id="DuplicatePostIntervalInMinutes" runat="Server" />
</td>
</tr>
<tr>
<td class="f">
<b>Allow Emoticons</b>
<br>
Can users use emoticons within Posts.
</td>
<td class="fh">
<asp:RadioButtonList CssClass="txt1" id="EnableEmoticons" RepeatColumns="2" runat="server">
<asp:listitem Text="Yes" Value="True" />
<asp:listitem Text="No" Value="False" />
</asp:RadioButtonList>
</td>
</tr>
<tr>
<td class="f">
<b>Popular Post Replies</b>
<Br>
How many posts are required before a thread becomes popular?
</td>
<td class="fh">
<asp:TextBox id="PopularPostThresholdPosts" runat="Server" />
</td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -