<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Notice.Edit" %> <%= this.Title %> <%= Import.Theme() %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap.css") %> <%= Import.CSS("/zh-cn/bootstrap/css/bootstrap-theme.css") %> <%= Import.CSS("/zh-cn/bootstrap/admin.css") %> <%-- <%= Import.CSS("/zh-cn/Admin_StyleSheet.css") %>--%> <%= Import.Script("/jquery.1.9.js")%> <%= Import.Script("/app.js")%> <%= Import.Script("/bootstrap/bootstrap.min.js")%>
<% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %>
<% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %>
"> *<%= Define.Get("Notice_所属平台").HtmlEncode() %>: <%= new HtmlText("ParentDomain_Name_Code", IN(this.ViewData["_Notice"], this.ViewData["_Notice.ParentDomain.Name"] + "[" + this.ViewData["_Notice.ParentDomain.Code"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmNotice [name=ParentDomain]","Edit");" }%> <%= new HtmlHidden("ParentDomain", this.ViewData["_Notice.ParentDomain.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentDomain") %>
"> *<%= Define.Get("Notice_标题").HtmlEncode() %>: <%= new HtmlText("Title", this.ViewData["_Notice.Title"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Title") %>
"> <%= Define.Get("Notice_消息内容").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_Notice.Description"]) { Class = "ipt-t ipt-t-dft width600 height400 xheditor-full"}%>
"> *<%= Define.Get("Notice_开始日期").HtmlEncode() %>: <%= new HtmlText("ActiveBeginDate", this.ViewData["_Notice.ActiveBeginDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("ActiveBeginDate") %>
"> *<%= Define.Get("Notice_结束日期").HtmlEncode() %>: <%= new HtmlText("ActiveEndDate", this.ViewData["_Notice.ActiveEndDate"].ToDateTimeN().ToShortDate()) { Class = "ipt-t ipt-t-dft date " }%> <%= new HtmlYKTip("ActiveEndDate") %>
"> <%= Define.Get("Notice_公告类型").HtmlEncode() %>: <%= new HtmlSelect("Type", "Value", "Key") { Option = typeof(AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum), DefaultSelectValue=(int)AVA.ResourcesPlatform.Model.Pub.NoticeTypeEnum.公告 }.InsertOption("::" + DefineEnum.选择.Define() + "::", null, 0).SelectValue(this.ViewData["_Notice.Type"])%> <%= new HtmlYKTip("Type") %>
"> <%= Define.Get("Notice_是否为跑马灯公告").HtmlEncode() %>: <%= new HtmlCheckBox("IsMarquee", this.ViewData["_Notice.IsMarquee"], true, false) { Class = ""}%>
"> <%= Define.Get("Notice_状态")%>: "> <%= new HtmlCheckBox("Status", this.ViewData["_Notice.Status"], 1, 0) { DefaultChecked = 0 }%>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Notice"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_Notice"])%>
<%= DefineEnum.返_回.Define() %>
<%= Import.Script("js","/JQueryUI/jquery-ui.min.js")%> <%= Import.Script("js", "/XhEditor/xheditor-zh-cn.min.js")%> <%= Import.Script("js", "/YK_Validate/YK_Validate.js")%> <%= Import.Script("js", "/YK_Validate/YK_ValidateRegex.js")%> <%= Import.CSS("js", "/YK_Validate/validator.css")%> <%= Import.Script("js","/FancyBox/jquery.fancybox-1.2.1.js")%> <%= Import.CSS("js", "/FancyBox/jquery.fancybox.css")%> <%= Import.Script("/ToolTip/jquery.tipsy.js")%> <%= Import.Script("/URL/jquery.url.js")%> <%= Import.Script("/JsonCookie/json2.js")%> <%= Import.Script("/JsonCookie/jquery.cookie.js")%> <%= Import.Script("/JsonCookie/jquery.jsoncookie.js")%> <%= Import.Script("/global.aspx")%> <%= Import.Script("/SelectForm.js")%> <%= Import.Script("js", "/global.js")%> <%= Import.Script("js", "/Public.js")%> <%= Import.Script("js", "/ListPublic.js")%> <%= Import.Script("js", "/Ajax/Pub/NoticeAjax.js")%>