<%@ 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 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">
        <Scripts><asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/><asp:ScriptReference Name="MicrosoftAjaxWebForms.js" ScriptMode="Auto" Path="~/js/MsAjax.js"/></Scripts>
    </asp:ScriptManager>
    <table cellspacing="3" id="main"><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><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 id="tdUploader">
            <ims:Uploader runat="server" ID="uploader" OnlyPhotos="false" LoadingID="loading" />
        </td>
        <td class="desc">标签：</td>
        <td valign="top"><asp:TextBox runat="server" ID="tbTags" Width="99%" 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 valign="top"><asp:DropDownList runat="server" ID="ddlSeclevel"></asp:DropDownList></td>
    </tr><tr>
        <td class="desc">选项：</td>
        <td valign="top"><asp:CheckBox runat="server" ID="cbComment" Checked="true" Text="允许评论" />&nbsp;<asp:CheckBox runat="server" ID="cbTop" 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>
