<%@ Page Language="c#" Inherits="Web.Wpdcc.uploadFilesProperty" CodeBehind="manageUploadFilesProperty.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>Set UploadFilesProperty</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file="../Css/head.htm"-->

    <script language="javascript" src="../../Js/ColorPicker.js" charset="utf-8"></script>

</head>
<body>
    <div class="main-content-inner">
        <!-- #section:basics/content.breadcrumbs -->
        <div class="breadcrumbs" id="breadcrumbs">
            <script type="text/javascript">
                try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
            </script>
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa  fa-desktop"></i>
                    <a href="../welcome.aspx">主页</a>
                </li>
                <li>网站高级属性设置
                </li>
                <li class="active">上传限制</li>
            </ul>
            <!-- /.breadcrumb -->

            <!-- /section:basics/content.searchbox -->
        </div>
        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <!-- PAGE CONTENT BEGINS -->
                    <div class="edit-func-box func-box">
                        <form id="system" method="post" runat="server">
                            <!-- #section:elements.tab.option -->
                            <div class="tabbable">
                                <ul class="nav nav-tabs" id="myTab4">
                                    <li class="active">
                                        <a aria-expanded="false" href="manageUploadFilesProperty.aspx" data-toggle="tab">上传限制</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="false" href="manageWatermark.aspx" data-toggle="tab">水印设置</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="false" href="manageMessageBoardProperty.aspx" data-toggle="tab">留言本</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="false" href="manageMobile.aspx" data-toggle="tab">手机微站</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="false" href="manageSSOProperty.aspx" data-toggle="tab">单点登录</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="false" href="manageRegService.aspx" data-toggle="tab">服务注册管理</a>
                                    </li>
                                    <li>
                                        <a aria-expanded="false" href="manageSMTP.aspx" data-toggle="tab">邮件服务参数设置</a>
                                    </li>
                                </ul>
                            </div>
                            <!-- /section:elements.tab.option -->
                            <div class="bd tab-content">
                                <table class="edit-table">
                                    <tr>
                                        <th width="15%">图片格式：
                                        </th>
                                        <td width="85%">
                                            <asp:TextBox ID="picType" class="input-md w3" runat="server" notNull="true" msgName="图片格式" ToolTip="允许上传的图片格式（对应编辑器中的单张和多张图片上传图标）"></asp:TextBox>
                                            <span class="tip">中间以“|”隔开,如：gif|jpg|jpeg|bmp</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>flash格式：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="flashType" class="input-md w3" runat="server" notNull="true"
                                                msgName="flash格式" ToolTip="允许上传的flash格式，一般只有swf一种（对应编辑器中的flash图标）"></asp:TextBox>
                                            <span class="tip">中间以“|”隔开</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>媒体格式：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="mediaType" class="input-md w3" runat="server" notNull="true"
                                                msgName="媒体格式" ToolTip="允许上传的视音频文件类别（对应编辑器的‘放映机’图标）"></asp:TextBox>
                                            <span class="tip">中间以“|”隔开</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>附件格式：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="otherType" class="input-md w3" runat="server" notNull="true"
                                                msgName="其他格式" ToolTip="允许上传的附件文件格式（对应编辑器的‘插入文件’图标）"></asp:TextBox>
                                            <span class="tip">中间以“|”隔开</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>图片上传大小限制：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="picSize" class="input-txt w3" runat="server" minValue="0"
                                                MaxLength="6" dataType="integer" msgName="图片上传大小" notNull="true"></asp:TextBox>
                                            <span class="tip">(单位为KB，0表示没有限制)</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>flash上传大小限制：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="flashSize" class="input-md w3" runat="server" minValue="0"
                                                notNull="true" MaxLength="7" dataType="integer" msgName="flash上传大小"></asp:TextBox>
                                            <span class="tip">(单位为KB，0表示没有限制)</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>媒体文件上传大小限制：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="mediaSize" runat="server" class="input-md w3" minValue="0"
                                                notNull="true" MaxLength="7" dataType="integer" msgName="媒体文件上传大小"></asp:TextBox>
                                            <span class="tip">(单位为KB，0表示没有限制)</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <th>其他文件上传大小限制：
                                        </th>
                                        <td>
                                            <asp:TextBox ID="otherSize" runat="server" class="input-md w3" minValue="0"
                                                notNull="true" MaxLength="7" dataType="integer" msgName="其他文件上传大小"></asp:TextBox>
                                            <span class="tip">(单位为KB，0表示没有限制)</span>
                                        </td>
                                    </tr>
                                    <tr id="trInfo" runat="server">
                                        <td align="center" colspan="2" height="24">
                                            <asp:Label ID="lblInfo" runat="server" ForeColor="red"></asp:Label>
                                        </td>
                                    </tr>
                                </table>
                                <div class="ft">
                                    <div class="action-field btn-pl">
                                        <asp:Button ID="btnSave" class="btn btn-sm btn-primary" runat="server" Text="修 改" OnClientClick="return editCheck();" OnClick="btn_Click"></asp:Button>&nbsp;
                <asp:Button ID="btnReset" class="btn btn-sm btn-primary" runat="server" Text="重 载" OnClick="btn_Click"></asp:Button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!-- PAGE CONTENT ENDS -->
                </div>
            </div>
        </div>
        <!-- /.page-content -->
    </div>
     
    <script language="javascript" type="text/javascript">
        //保存前验证（改用统一验证js）
        function editCheck() {
            if (checkAllValidate()) {
                return true;
            }
            else {
                return false;
            }
        }
    </script>
</body>
</html>
