<%@ page language="C#" autoeventwireup="true" inherits="ims.web.infoEdit, ims.web" enableviewstatemac="false" enableEventValidation="false" %>
<%@ Register Src="~/UserControls/FileUploader.ascx" TagName="Uploader" TagPrefix="ims" %>
<!DOCTYPE html>
<html id="infoEdit">
<head runat="server">
    <title></title><meta http-equiv="X-UA-Compatible" content="IE=edge" />
</head>
<body onbeforeunload="confirmExit();">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm" runat="server" OnAsyncPostBackError="AsyncError" />
    <table id="main" class="fixedLayout"><tr>
        <td class="desc">标题：</td><td style="width:60%"><asp:TextBox runat="server" MaxLength="255" ID="tbTitle"></asp:TextBox></td>
        <td class="desc">栏目：</td><td class="vtop"><asp:DropDownList runat="server" ID="ddlTypes"></asp:DropDownList></td>
    </tr><tr>
        <td class="desc">内容：</td>
        <td colspan="3">
            <asp:TextBox runat="server" ID="ckContent" TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr><tr>
        <td class="desc">附件：</td>
        <td>
            <ims:Uploader runat="server" ID="uploader" OnlyPhotos="false" LoadingID="loading" />
        </td>
        <td class="desc">标签：</td>
        <td class="vtop"><asp:TextBox runat="server" ID="tbTags" acfid="Tag" chars=",，" MaxLength="255" ToolTip="标签是一种开放式分类。可添加最多5个标签，用逗号分隔"></asp:TextBox></td>
    </tr><tr>
        <td class="desc" rowspan="4">摘要：</td> 
        <td rowspan="4"><asp:TextBox runat="server" ID="tbOverview" TextMode="MultiLine" Rows="4"></asp:TextBox></td>
        <td></td>
        <td></td>
    </tr><tr>
        <td>&nbsp;</td>
        <td></td>
    </tr><tr>
        <td class="desc">密级：</td>
        <td class="vtop"><asp:DropDownList runat="server" ID="ddlSeclevel"></asp:DropDownList></td>
    </tr><tr>
        <td class="desc">选项：</td>
        <td class="vmiddle"><asp:CheckBox runat="server" ID="cbComment" Checked="true" Text="允许评论" />&nbsp;<asp:CheckBox runat="server" ID="cbTop" Text="置顶" />&nbsp;<asp:CheckBox runat="server" ID="cbWx" Text="发送到微信" /></td>
    </tr><tr>
        <td></td><td class="info_btm">摘要内容不能超过300个字符，可尝试<a href="#" onclick="return makeSummary();">自动生成摘要</a></td>
        <td colspan="2"></td>
    </tr><tr></table>
    <div class="footBtnArea">
        <asp:Button runat="server" ID="btnSubmit" CssClass="btn big" Text=" 提交 " OnClientClick="return PreSubmit();" OnClick="SaveInfo" />
    </div>
    <script src="js/comm.js"></script><script src="js/infoEdit.js"></script>
    </form>
</body>
</html>
