Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.AdminUI\Pub\Album\Edit.aspx
??<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.Album.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> <%= 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"> <div class="ico-loading right hidden"> </div> <div title="<%= DefineEnum.?????????.Define().ToScriptTag() %>" class="ico-question right"> </div> <h3 class="txt-14"> <%= Title %></h3> <span class="txt-info">[<a href="#" onClick="GoList();return false;"><%= DefineEnum.???.Define() %></a>]</span> </div> <div class="gWel-tab"> <div class="tabs txt-link"> <ul> <li><%= Define.Get("Client_???")%>??? </li> <% if (Has(this.ViewData["_Album"])) { %> <li style="padding-left:20px; padding-right:20px;">??? </li> <li style="padding-left:20px; padding-right:20px;">??? </li> <li style="padding-left:20px; padding-right:20px;">??? </li> <li style="padding-left:20px; padding-right:20px;">??? </li> <li style="padding-left:20px; padding-right:20px;">????? </li> <li style="padding-left:20px; padding-right:20px;">??? </li> <li style="padding-left:20px; padding-right:20px;">??? </li> <li style="padding-left:20px; padding-right:20px;">????? </li> <li style="padding-left:20px; padding-right:20px;">??? </li> <% } %> </ul> </div> <div class="pans"> <div style="display: none;" class="panel"> <div> <form id="frmAlbum" action="" onSubmit="return false;"> <div> <table class="g-table-cntacomm"> <tr style='<%= IN(this.ViewData["_Album.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("Album_UserDomainName_??????").ToScriptTag() %>"> <%= Define.Get("Album_UserDomainName_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Album.ParentUser.ParentDomain.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_Album.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("Album_UserDomainCode_??????").ToScriptTag() %>"> <%= Define.Get("Album_UserDomainCode_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Album.ParentUser.ParentDomain.Code"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr style='<%= IN(this.ViewData["_Album.ParentUser"], "", "display:none;")%>'> <th title="<%= Define.Get("Album_UserUserTypeName_?????????").ToScriptTag() %>"> <%= Define.Get("Album_UserUserTypeName_?????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText(null, this.ViewData["_Album.ParentUser.ParentUserType.Name"]) { ReadOnly = true, Disabled = true, Class = "ipt-t ipt-t-dft" }%> </td> </tr> <tr> <th title="<%= Define.Get("Album_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Album_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentUser_TrueName_UserName", IN(this.ViewData["_Album"], this.ViewData["_Album.ParentUser.TrueName"] + "[" + this.ViewData["_Album.ParentUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft" }%> <%= new HtmlHidden("ParentUser", this.ViewData["_Album.ParentUser.Guid"])%> <a href="#selectUser" class="decoration-none" onClick="return SelectUser('#frmAlbum [name=ParentUser]','#frmAlbum [name=ParentUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentUser") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Name", this.ViewData["_Album.Name"], 256) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Name") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentAlbumLevel_Name", IN(this.ViewData["_Album"], this.ViewData["_Album.ParentAlbumLevel.Name"])) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmAlbum [name=ParentAlbumLevel]","Edit");" }%> <%= new HtmlHidden("ParentAlbumLevel", this.ViewData["_Album.ParentAlbumLevel.Guid"])%> <a href="#selectAlbumLevel" class="decoration-none" onClick="return SelectAlbumLevel('#frmAlbum [name=ParentAlbumLevel]','#frmAlbum [name=ParentAlbumLevel_Name]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentAlbumLevel") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_???").ToScriptTag() %>"> <%= Define.Get("Album_???").HtmlEncode() %>?? </th> <td> <%= new HtmlHidden("Cover", ViewData["_Album.Cover"])%> <%= new HtmlImg(SettingGroup.NonePic) { Class = "default-image"}%> <br /> <a href="#deleteCover" class="delete-image decoration-none hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#uploadCover" class="decoration-none" onClick="return UploadFile('#frmAlbum [name=Cover]','<%= Define.Get("Album_Cover_?????????")%>','0','<%= SettingGroup.AlbumUploadPath %>','','960', '540')"><span class="txt-info">[<%= DefineEnum.??????.Define() %>]</span></a> </td> </tr> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <label for="Album_Share_0"> <%= new HtmlRadio("Share", 0, null) { ID = "Album_Share_0", Class = "", Checked = (this.ViewData["_Album.Share"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Album_Share_???") %></label> <%--<label for="Album_Share_1"> <%= new HtmlRadio("Share", 1, null) { ID = "Album_Share_1", Class = "", Checked = (this.ViewData["_Album.Share"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Album_Share_???") %></label>--%> <label for="Album_Share_2"> <%= new HtmlRadio("Share", 2, null) { ID = "Album_Share_2", Class = "", Checked = (this.ViewData["_Album.Share"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Album_Share_???") %></label> <%= new HtmlYKTip("Share") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_???????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Album_???????").HtmlEncode() %>?? </th> <td> <label for="Album_Examine_0"> <%= new HtmlRadio("Examine", 0, null) { ID = "Album_Examine_0", Class = "", Checked = (this.ViewData["_Album.Examine"].ToIntN() == 0 ? true : false) }%><%= Define.Get("Album_Examine_??????") %></label> <label for="Album_Examine_1"> <%= new HtmlRadio("Examine", 1, null) { ID = "Album_Examine_1", Class = "", Checked = (this.ViewData["_Album.Examine"].ToIntN() == 1 ? true : false) }%><%= Define.Get("Album_Examine_??????") %></label> <label for="Album_Examine_2"> <%= new HtmlRadio("Examine", 2, null) { ID = "Album_Examine_2", Class = "", Checked = (this.ViewData["_Album.Examine"].ToIntN() == 2 ? true : false) }%><%= Define.Get("Album_Examine_????????") %></label> <%= new HtmlYKTip("Examine") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("LockAlbum", this.ViewData["_Album.LockAlbum"], 1, 0) { Class = ""}%> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("ParentLockUser_TrueName_UserName", IN(this.ViewData["_Album.ParentLockUser"], this.ViewData["_Album.ParentLockUser.TrueName"] + "[" + this.ViewData["_Album.ParentLockUser.UserName"] + "]")) { ReadOnly = true, Class = "ipt-t ipt-t-dft", OnBlur = "$.validator.itemValid("#frmAlbum [name=ParentLockUser]","ParentLockUser");" }%> <%= new HtmlHidden("ParentLockUser", this.ViewData["_Album.ParentLockUser.Guid"])%> <a href="#selectLockUser" class="decoration-none" onClick="return SelectUser('#frmAlbum [name=ParentLockUser]','#frmAlbum [name=ParentLockUser_TrueName_UserName]')"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <a href="#clear" class="decoration-none select-clear hidden"><span class="txt-info">[<%= DefineEnum.???.Define() %>]</span></a> <%= new HtmlYKTip("ParentLockUser") %> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("LockDateTime", this.ViewData["_Album.LockDateTime"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr class="ParentLockUser" style="display: none;"> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("LockDescription", this.ViewData["_Album.LockDescription"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("Album_???").ToScriptTag() %>"> <%= Define.Get("Album_???").HtmlEncode() %>?? </th> <td> <%= new HtmlTextArea("Description", this.ViewData["_Album.Description"], 2000) { Class = "ipt-t ipt-t-dft width400 height100"}%> </td> </tr> <tr> <th title="<%= Define.Get("Album_???????").ToScriptTag() %>"> <%= Define.Get("Album_???????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("OpenUpload", this.ViewData["_Album.OpenUpload"], 1, 0) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Album_?????????????????????").ToScriptTag() %>"> <%= Define.Get("Album_?????????????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("Album_OpenUploadNeedExamine_?????????????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("OpenUploadNeedExamine", this.ViewData["_Album.OpenUploadNeedExamine"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Album_????????????").ToScriptTag() %>"> <%= Define.Get("Album_????????????").HtmlEncode() %>?? </th> <td class="tooltip" title="<%= Define.Get("Album_IsAutoPlay_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("IsAutoPlay", this.ViewData["_Album.IsAutoPlay"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Album_???????????").ToScriptTag() %>"> <%= Define.Get("Album_???????????").HtmlEncode() %>?? </th> <td> <%= new HtmlCheckBox("IsWeiKeAlbum", this.ViewData["_Album.IsWeiKeAlbum"], true, false) { Class = ""}%> </td> </tr> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <span class="required">*</span><%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CreateTime", this.ViewData["_Album.CreateTime"].ToDateTimeN().ToLongDate()) { Class = "ipt-t ipt-t-dft datetime " }%> <%= new HtmlYKTip("CreateTime") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_?????").ToScriptTag() %>"> <%= Define.Get("Album_?????")%>?? </th> <td class="tooltip" title="<%= Define.Get("Album_SortNumber_????????????????????????").ToScriptTag()%>"> <%= new HtmlText("SortNumber", this.ViewData["_Album.SortNumber"], 4) { Class = "ipt-t ipt-t-dft ", DefaultValue = 0 }%> <%= new HtmlYKTip("SortNumber") %> </td> </tr> </table> </div> <div style="margin-top: -1px;" class="ln-thin ln-c-mid"> </div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Album_????").ToScriptTag() %>"> <%= Define.Get("Album_????")%>?? </th> <td class="tooltip" title="<%= Define.Get("Album_Status_????????????").ToScriptTag()%>"> <%= new HtmlCheckBox("Status", this.ViewData["_Album.Status"], 1, 0) { DefaultChecked = 0 }%> </td> </tr> <tr> <th> </th> <td> <%= new HtmlHidden("KEY", KEY)%> <%= new HtmlSubmit("Send", "Edit", GetSubmitMothed(this.ViewData["_Album"])) { Class = "hidden" }%> <div onClick="$(this).siblings(':submit')[0].click();" class="btn btn-dft btn-dft-impt"> <span> <%= GetSubmitText(this.ViewData["_Album"])%></span></div> <div title="" onClick="GoList();" class="btn btn-dft"> <span> <%= DefineEnum.????.Define() %></span></div> </td> </tr> </table> </form> </div> </div> <% if (Has(this.ViewData["_Album"])) { %> <div style="display: none;" class="panel"> <div> <table class="g-table-cntacomm"> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoCount", this.ViewData["_Album.VideoCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Album_??????").ToScriptTag() %>"> <%= Define.Get("Album_??????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("FileSize", this.ViewData["_Album.FileSize"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("FileSize") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_????????").ToScriptTag() %>"> <%= Define.Get("Album_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("Period", this.ViewData["_Album.Period"]) { Class = "ipt-t ipt-t-dft " }%> <%= new HtmlYKTip("Period") %> </td> </tr> <tr> <th title="<%= Define.Get("Album_????????").ToScriptTag() %>"> <%= Define.Get("Album_????????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("VideoView", this.ViewData["_Album.VideoView"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Album_?????").ToScriptTag() %>"> <%= Define.Get("Album_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CommentCount", this.ViewData["_Album.CommentCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> <tr> <th title="<%= Define.Get("Album_?????").ToScriptTag() %>"> <%= Define.Get("Album_?????").HtmlEncode() %>?? </th> <td> <%= new HtmlText("CollectCount", this.ViewData["_Album.CollectCount"]) { Class = "ipt-t ipt-t-dft ", ReadOnly = true }%> </td> </tr> </table> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumVideo/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumCategory/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumChannel/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumPress/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumGrade/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumTextbook/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumLesson/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <div style="display: none; padding: 0px 0px 0px 0px;" class="panel"> <div> <iframe class="ifrmtab" width="100% " height="100% " frameborder="0" scrolling="auto" title="../AlbumTag/ListIFrame.aspx?AlbumGuid=<%= this.PrimaryKey %>"></iframe> </div> </div> <% } %> </div> </div> </div> </div> </div> </div> </div> </div> </div> </body> </html> <%= 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/AlbumAjax.js")%> <script type="text/javascript"> //?????? //?????? $.validator.initConfig({ validatorGroup: "Edit", form: "#frmAlbum" }); //????? $("#frmAlbum [name=SortNumber]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "num1" }, message: { required: "<%= Define.Get("Album_SortNumber_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Album_SortNumber_???????????").ToScriptChar() %>" } }); //??????? $("#frmAlbum [name=ParentUser]").formValidator({ targetFocus : "#frmAlbum [name=ParentUser_TrueName_UserName]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Album_UserGuid_????????????").ToScriptChar() %>" } }); //?????? $("#frmAlbum [name=Name]").formValidator({ validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Album_Name_???????????").ToScriptChar() %>" } }); //?????? $("#frmAlbum [name=ParentAlbumLevel]").formValidator({ targetFocus : "#frmAlbum [name=ParentAlbumLevel_Name]", validatorGroup: "Edit", rules: { required: null }, message: { required: "<%= Define.Get("Album_AlbumLevelGuid_???????????").ToScriptChar() %>" } }); //?????? $("#frmAlbum [name=Share]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Album_Share_???????????").ToScriptChar() %>" } }); //??????? $("#frmAlbum [name=Examine]").formValidator({ validatorGroup: "Edit", rules: { min: 1 }, message: { min: "<%= Define.Get("Album_Examine_????????????").ToScriptChar() %>" } }); //?????? $("#frmAlbum [name=CreateTime]").formValidator({ validatorGroup: "Edit", rules: { required: null, regex: "datetime" }, message: { required: "<%= Define.Get("Album_CreateTime_???????????").ToScriptChar() %>", regex: "<%= Define.Get("Album_CreateTime_??????????????").ToScriptChar() %>" } }); $.validator.initConfig({ validatorGroup: "ParentLockUser", form: "#frmAlbum" }); //?????? $("#frmAlbum [name=ParentLockUser]").formValidator({ targetFocus : "#frmAlbum [name=ParentLockUser_TrueName_UserName]", validatorGroup: "ParentLockUser", rules: { required: null }, message: { required: "<%= Define.Get("Album_LockUserGuid_???????????").ToScriptChar() %>" } }); </script> <script type="text/javascript"> //??????AJAX??? //??? function Insert(send) { AlbumAjax.Insert($("#frmAlbum"), send, function (json) { document.getElementById("frmAlbum").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Update(send) { AlbumAjax.Update($("#frmAlbum"), send, function (json) { document.getElementById("frmAlbum").KEY.value = json.Key; alert("<%= DefineEnum.??????.Define().ToScriptChar() %>"); window.location.href = "Edit.aspx?Guid=" + json.Data; }); }; //??? function Delete(send) { var key = document.getElementById("frmAlbum").KEY.value; AlbumAjax.Delete(key, send, function (json) { GoList(); }); }; </script> <script type="text/javascript"> //?????? //??????????? //??? $("#frmAlbum [name=Cover]").siblings("img").attr("src", Global.Site + "<%= SettingGroup.AlbumUploadPath %>" + $("#frmAlbum [name=Cover]").val()); //??????????? </script> <script type="text/javascript"> //?????? //????????? $(function () { $("#frmAlbum [name=Lock]").bind("click", function () { AutoValidateParentLockUser(); }); AutoValidateParentLockUser(); }) function AutoValidateParentLockUser() { var send = document.getElementById("frmAlbum").elements["LockAlbum"]; if (send.checked == true) { $("#frmAlbum .ParentLockUser").show(); $.validator.addValid("#frmAlbum [name=ParentLockUser]", "ParentLockUser", "Edit"); } else { $("#frmAlbum .ParentLockUser").hide(); $.validator.removeValid("#frmAlbum [name=ParentLockUser]", "Edit"); } } </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de