<%@ Control Language="C#" AutoEventWireup="true" Inherits="NopSolutions.NopCommerce.Web.Administration.Modules.ForumsSettingsControl"
    CodeBehind="ForumsSettings.ascx.cs" %>
<%@ Register TagPrefix="nopCommerce" TagName="NumericTextBox" Src="NumericTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="SimpleTextBox" Src="SimpleTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="DecimalTextBox" Src="DecimalTextBox.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="ToolTipLabel" Src="ToolTipLabelControl.ascx" %>
<div class="section-header">
    <div class="title">
        <img src="Common/ico-content.png" alt="Forums Settings" />
        Forums Settings
    </div>
    <div class="options">
        <asp:Button runat="server" Text="Save" CssClass="adminButtonBlue" ID="btnSave" ValidationGroup="ForumSettings"
            OnClick="btnSave_Click" ToolTip="Save changes to forums" />
    </div>
</div>
<table width="100%" class="adminContent">
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblForumsEnabled" Text="Forums enabled:"
                ToolTip="Check to enable forums." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox runat="server" ID="cbForumsEnabled"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblShowCustomersPostCount" Text="Show customers post count:"
                ToolTip="A value indicating whether to show customers post count." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbShowCustomersPostCount" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblCustomersAllowedToEditPosts" Text="Allow customers to edit posts:"
                ToolTip="A value indicating whether customers are allowed to edit posts that they created."
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbCustomersAllowedToEditPosts" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblCustomersAllowedToDeletePosts" Text="Allow customers to delete posts:"
                ToolTip="A value indicating whether customers are allowed to delete posts that they created."
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox ID="cbCustomersAllowedToDeletePosts" runat="server"></asp:CheckBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblTopicsPageSize" Text="Topics page size:"
                ToolTip="Set the page size for topics in forums e.g. '10' topics per page." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <nopCommerce:NumericTextBox runat="server" CssClass="adminInput" ID="txtTopicsPageSize"
                RequiredErrorMessage="Enter page size" MinimumValue="0" MaximumValue="999999"
                Value="10" RangeErrorMessage="The value must be from 0 to 999999">
            </nopCommerce:NumericTextBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblPostsPageSize" Text="Posts page size:"
                ToolTip="Set the page size for posts in topics e.g. '10' posts per page." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <nopCommerce:NumericTextBox runat="server" CssClass="adminInput" ID="txtPostsPageSize"
                RequiredErrorMessage="Enter page size" MinimumValue="0" MaximumValue="999999"
                Value="10" RangeErrorMessage="The value must be from 0 to 999999">
            </nopCommerce:NumericTextBox>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblForumEditor" Text="Forum editor:"
                ToolTip="Forum editor type. WARNING: not recommended to change in production environment"
                ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:DropDownList runat="server" ID="ddlForumEditor" CssClass="adminInputNoWidth">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="adminTitle">
            <nopCommerce:ToolTipLabel runat="server" ID="lblSignatureEnabled" Text="Signature enabled:"
                ToolTip="Add an opportunity for customers to speficy signature. Signature should be dispayed below each forum post." ToolTipImage="~/Administration/Common/ico-help.gif" />
        </td>
        <td class="adminData">
            <asp:CheckBox runat="server" ID="cbSignatureEnabled"></asp:CheckBox>
        </td>
    </tr>
</table>
