<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Textbook.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("Textbook_所属出版社").HtmlEncode() %>: <%= new HtmlText("ParentPress_Name", IN(this.ViewData["_Textbook"], this.ViewData["_Textbook.ParentPress.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmTextbook [name=ParentPress]","Edit");" }%> <%= new HtmlHidden("ParentPress", this.ViewData["_Textbook.ParentPress.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentPress") %>
"> <%= Define.Get("Textbook_所属年级").HtmlEncode() %>: <%= new HtmlText("ParentGrade_Name", IN(this.ViewData["_Textbook"], this.ViewData["_Textbook.ParentGrade.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmTextbook [name=ParentGrade]","Edit");" }%> <%= new HtmlHidden("ParentGrade", this.ViewData["_Textbook.ParentGrade.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentGrade") %>
"> <%= Define.Get("Textbook_所属学科").HtmlEncode() %>: <%= new HtmlText("ParentCategory_Name", IN(this.ViewData["_Textbook"], this.ViewData["_Textbook.ParentCategory.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmTextbook [name=ParentCategory]","Edit");" }%> <%= new HtmlHidden("ParentCategory", this.ViewData["_Textbook.ParentCategory.Guid"])%> [<%= DefineEnum.选择.Define() %>] <%= new HtmlYKTip("ParentCategory") %>
"> <%= Define.Get("Textbook_课本名称").HtmlEncode() %>: <%= new HtmlText("Name", this.ViewData["_Textbook.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %>
"> <%= Define.Get("Textbook_封面").HtmlEncode() %>: <%= new HtmlHidden("Cover", ViewData["_Textbook.Cover"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%>
','0','<%= SettingGroup.TextbookUploadPath %>','','250', '360')">[<%= DefineEnum.图片上传.Define() %>]
"> <%= Define.Get("Textbook_描述").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_Textbook.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("Textbook_排序号")%>: "> <%= new HtmlText("SortNumber", this.ViewData["_Textbook.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
"> <%= Define.Get("Textbook_状态")%>: "> <%= new HtmlCheckBox("Status", this.ViewData["_Textbook.Status"], 1, 0) { DefaultChecked = 0 }%>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Textbook"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_Textbook"])%>
<%= 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/TextbookAjax.js")%>