Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Sys\SecurityMenu\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Sys.SecurityMenu.Edit" %> <!doctype html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><%= this.Title %></title> <link href="../../JS/dhtmlxtree/dhtmlxtree.css" rel="stylesheet" type="text/css" /> <%= 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")%> </head> <body> <div class="wrap"> <% var nav = new NavigationInstance(this) { }; nav.IsTopNav = true; %> <%= nav.ToHtml() %> <div class="container-fulid"> <div class="row"> <% nav.GetChildMenu(Request["muid"]);%> <%= nav.ToHtml() %> <div class="col-md-12 " id="content"> <div id="divMain" class="gContent"> <div class="gCnta"> <div class="gCnta-cont"> <div class="g-title-2"> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="List.aspx"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="ln-thick ln-c-mid"> </div> <div class="subcontent"> <form id="frmSecurityMenu" action="" onSubmit="return false;"> <div class="tag"> <%= new HtmlHidden("KEY",KEY) %> <%= new HtmlHidden("Depth", IN(Request["guid"], ViewData["model.Depth"], Convert.ToInt32(ViewData["parent.Depth"]) + 1))%> <table class="g-table-cntacomm"> <tr> <th> <%= Define.Get("??????")%>?? </th> <td> <%= new HtmlText("ParentSecurityMenu",IN(PrimaryKey, ViewData["model.ParentSecurityMenu.Guid"], ViewData["parent.Guid"]),50) { Class = "ipt-t ipt-t-dft width400" }%> </td> </tr> <tr> <th> <%= Define.Get("SecurityMenu_??????")%>?? </th> <td> <%= new HtmlText("Name",ViewData["model.Name"],50) { Class = "ipt-t ipt-t-dft" }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th> <%= Define.Get("SecurityMenu_??????")%>?? </th> <td> <%= new HtmlText() { Name = "PageUrl", Value = ViewData["model.PageUrl"], Class = "ipt-t ipt-t-dft width300" }%> <a href="#selectpage" class="decoration-none" onClick="OpenSeletePageBox();return false"> <span class="txt-info">[<%= DefineEnum.???.Define()%>]</span></a> </td> </tr> <tr> <th> <%= Define.Get("SecurityMenu_??????")%>?? </th> <td> <%= new HtmlTextArea("Pages") { InnerHTML = ViewData["Pages"], Class = "ipt-t ipt-t-dft width300", Rows = 5 }%> <br /> <a href="#selectpages" class="decoration-none" onClick="OpenSeletePagesBox();return false"> <span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> </td> </tr> <tr> <th> <%= Define.Get("SecurityMenu_??????")%>?? </th> <td> <%= new HtmlHidden("ImageUrl", ViewData["model.ImageUrl"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <br /> <a href="#deleteImageUrl" class="delete-image decoration-none hidden"><span class="txt-info"> [<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadImageUrl" class="decoration-none" onclick="return UploadFile('#frmSecurityMenu [name=ImageUrl]','<%= Define.Get("SecurityMenu_ImageUrl_????????????")%>','0','<%= SettingGroup.SecurityMenuUploadPath %>','','48','48')"> <span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <th> <%= Define.Get("SecurityMenu_???")%>?? </th> <td> <%= new HtmlText("Description", ViewData["model.Description"], 500) { Class = "ipt-t ipt-t-dft width300" }%> </td> </tr> <tr> <th> <%= Define.Get("SecurityMenu_?????")%>?? </th> <td> <%= new HtmlText() { Name = "SortNumber", Value =IN(ViewData["model"],string.Concat(ViewData["model.SortNumber"]),"0"), Class = "ipt-t ipt-t-dft" }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th> <%= Define.Get("SecurityMenu_????")%>?? </th> <td> <%= new HtmlCheckBox() { Name = "Status", Checked = ViewData["model.Status"], Value = "1", UnValue="0" }%> </td> </tr> <tr> <th> </th> <td> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(ViewData["model"])) { Class = "hidden" }%> <div onClick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(ViewData["model"])%></span></div> <div title="" onClick="window.history.go(-1)" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> </div> </div> </div></div></div></div></body> <%= Import.Script("js","/JQueryUI/jquery-ui.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/Sys/SecurityMenuAjax.js")%> <%= Import.Script("js", "/Ajax/Sys/ManagerViewDefineAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmSecurityMenu" }); //????? $("#frmSecurityMenu [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("SecurityMenu_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("SecurityMenu_SortNumber_???????????").ToScriptChar() %>" } }); //?????? $("#frmSecurityMenu [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("SecurityMenu_Name_???????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> function Insert(send) { SecurityMenuAjax.Insert($("#frmSecurityMenu"), send, function (json) { alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "List.aspx"; //window.history.back(); }); }; function Update(send) { SecurityMenuAjax.Update($("#frmSecurityMenu"), send, function (json) { alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "List.aspx"; }); }; function Delete(send) { var key = send.getAttribute("key"); SecurityMenuAjax.Delete(key, send, null); }; </script> <script type="text/javascript"> $(function () { //?????? $("#frmSecurityMenu [name=ImageUrl]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.SecurityMenuUploadPath %>" + $("#frmSecurityMenu [name=ImageUrl]").val()); }) $(function () { $("#btnSelPage").click(function () { LoadPages(); $("#divSelPage").show(); }); $("#btnConfirmSelPage").click(function () { $("#divSelPage").hide(); var pages = tree2.getAllChecked(); pages = pages.replace(/\,/g, ",/"); pages = "/" + pages; $("#frmMenu input[name='Pages']").val(pages); }); }); </script> <script type="text/javascript"> //???????????? function OpenSeletePageBox() { $.fn.fancybox.show({ 'zoomSpeedIn': 600, 'zoomSpeedOut': 500, frameWidth: 625, frameHeight: 355, frameURL: "../../Tools/SelectPage.aspx" }); } //?????? function SeletePage(url) { $("#frmSecurityMenu input[name='PageUrl']").val(url); $.fn.fancybox.close(); } //????????????????? function OpenSeletePagesBox() { $.fn.fancybox.show({ 'zoomSpeedIn': 600, 'zoomSpeedOut': 500, frameWidth: 625, frameHeight: 355, frameURL: '../../Tools/SelectPages.aspx?guid=<%=PrimaryKey %>' }); } //????????? function SeletePages(url) { $("#frmSecurityMenu textarea[name='Pages']").val(url); $.fn.fancybox.close(); } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de