<%@ Page Language="C#" Inherits="SiteServer.BackgroundPages.BackgroundConfigurationContent" %>
<%@ Register TagPrefix="bairong" Namespace="BaiRong.Controls" Assembly="BaiRong.Controls" %>
<%@ Register TagPrefix="user" Namespace="UserCenter.Controls" Assembly="UserCenter.Pages" %>
<%@ Register TagPrefix="site" Namespace="SiteServer.Controls" Assembly="SiteServer.Controls" %>

<HTML>
<HEAD>
<!--#include file="../inc/html_head.inc"-->
<user:custom type="style" runat="server"></user:custom>
<bairong:Code type="Prototype" runat="server" />
<bairong:Code type="Scriptaculous" runat="server" />

<meta http-equiv="content-type" content="text/html;charset=gb2312">
</HEAD><body>
<form id="myForm" runat="server">
  <bairong:Message runat="server"></bairong:Message>
  <DIV class="column">
    <div class="columntitle">内容管理配置</div>
    <div class="tips">提示：如果修改了自动分页选项，需要将所有内容页重新生成</div>
    <table width="95%" align="center" cellpadding="5" cellspacing="5">
      <tr>
        <td align="left">
          <bairong:help HelpText="是否使用内容组" Text="是否使用内容组：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:DropDownList ID="IsGroupContent" runat="server"></asp:DropDownList>
        </td>
      </tr>
      <tr>
        <td align="left">
          <bairong:help HelpText="是否使用标签" Text="是否使用标签：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:DropDownList ID="IsRelatedByTags" runat="server"></asp:DropDownList>
        </td>
      </tr>
      <tr>
        <td width="160" align="left">
          <bairong:help HelpText="设置是否自动保存外部图片" Text="自动保存外部图片：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:DropDownList ID="IsSaveImageInTextEditor" runat="server"></asp:DropDownList>
        </td>
      </tr>
      <tr>
        <td width="160" align="left">
          <bairong:help HelpText="设置内容是否自动分页" Text="内容是否自动分页：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:DropDownList ID="IsAutoPageInTextEditor" runat="server"></asp:DropDownList>
        </td>
      </tr>
      <tr>
        <td align="left">
          <bairong:help HelpText="设置内容自动分页每页字数" Text="内容自动分页每页字数：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:TextBox class="colorblur" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" Columns="25" MaxLength="50" id="AutoPageWordNum" runat="server"/>
          <asp:RequiredFieldValidator
                    ControlToValidate="AutoPageWordNum"
                    ErrorMessage="*"
                    Display="Dynamic"
                    runat="server"/>
        </td>
      </tr>
      <tr>
        <td width="160" align="left">
          <bairong:help HelpText="默认编辑器类型" Text="默认编辑器类型：" runat="server" ></bairong:help>
        </td>
        <td align="left">
          <asp:DropDownList ID="TextEditorType" runat="server"></asp:DropDownList>
        </td>
      </tr>
      <tr>
        <td colspan="2" align="center">
          <asp:Button class="button" id="Submit" text="保 存" onclick="Submit_OnClick" runat="server" />
        </td>
      </tr>
    </table>
  </div>
</form>
</body>
</HTML>
