<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Category.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("Category_所属学科").HtmlEncode() %>: <%= new HtmlText("ParentCategory_Name", ViewData.Val("Name", this.ParentCategory)) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%> <%= new HtmlHidden("ParentCategory", ViewData.Val("Guid", this.ParentCategory))%> <%--[<%= DefineEnum.选择.Define() %>] --%>
"> <%= Define.Get("Category_学科名称").HtmlEncode() %>: <%= new HtmlText("Name", this.ViewData["_Category.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %>
"> <%= Define.Get("Category_描述").HtmlEncode() %>: <%= new HtmlTextArea("Description", this.ViewData["_Category.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%>
"> <%= Define.Get("Category_学科默认图片").HtmlEncode() %>: <%= new HtmlHidden("CategoryImage", ViewData["_Category.CategoryImage"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%>
','0','<%= SettingGroup.CategoryUploadPath %>','','0','0')">[<%= DefineEnum.图片上传.Define() %>]
"> <%= Define.Get("Category_学科名称缩写").HtmlEncode() %>: <%= new HtmlText("ShortName", this.ViewData["_Category.ShortName"], 256) { Class = "ipt-t ipt-t-dft " }%>
"> <%= Define.Get("Category_排序号")%>: "> <%= new HtmlText("SortNumber", this.ViewData["_Category.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %>
"> <%= Define.Get("Category_状态")%>: "> <%= new HtmlCheckBox("Status", this.ViewData["_Category.Status"], 1, 0) { DefaultChecked = 0 }%>
<%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Category"])) { Class = "hidden" }%>
<%= GetSubmitText(this.ViewData["_Category"])%>
<%= 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/CategoryAjax.js")%>