Edit D:\AVA\AVAStandard\AVA.ResourcesPlatform.WebUI\Themes\BeijingMiyun\Control\User\Login.ascx
??<%@ Control Language="C#" Inherits="AVA.ResourcesPlatform.WebUI.Control.User.Login" %> <script> $(function () { flash("<strong class='alert-heading'>???</strong>????????????"); }); </script> <div class="forms"> <form action="" onsubmit="return false;" id="frmPageLogin"> <div class="items"> <div class="item label-domain"> <label class="lbl">????????</label> <% var currentDomain = CreateInstance.DomainDao.Where(l => l.DomainType == (int)AVA.ResourcesPlatform.Model.Pub.DomainDomainTypeEnum.??????).FirstResult(); %> <%= new HtmlSelect("DomainGuid", "Name", "Guid", "Guid") { Option = this.ListDomain, SelectedValue = CookieGroup.DomainGuid }.InsertOption(currentDomain.Name,currentDomain.Guid,0) %> <%= new HtmlYKTip("DomainGuid")%> </div> <div class="item label-user"> <label class="lbl">??????</label> <%= new HtmlText("UserName", null)%> <%= new HtmlYKTip("UserName") %> </div> <div class="item label-psw"> <label class="lbl">?????</label> <%= new HtmlPassword("Password") %> <%= new HtmlYKTip("Password") %> </div> <div class="item indent label-submit" style=""> <%= new HtmlHidden("Src",this.Src) %> <%= new HtmlSubmit("???","LoginPage","LoginPageClient(this);") %> <span class="forgot_pwd"> <%= new HtmlAnchor("??????") { Href = WebUrl.FindPWD() }%> </span> <span class="register" style="left: 600px; position: absolute; top: 18px; width: 100px;"> <%= new HtmlAnchor("???") { Href = WebUrl.Signup() }%> </span> </div> </div> </form> </div> <script type="text/javascript"> //?????? $.validator.initConfig({ validatorGroup: "LoginPage", form: "#frmPageLogin", alertMessage: true, showMessage: false }); //????? $("#frmPageLogin [name=UserName]").formValidator({ validatorGroup: "LoginPage", rules: { required: null }, message: { required: "?????????" } }); //?????? $("#frmPageLogin [name=Password]").formValidator({ validatorGroup: "LoginPage", rules: { required: null }, message: { required: "???????????" } }); </script> <script type="text/javascript"> //????????????????? $(function () { $("#frmPageLogin [name=UserName]").focus(); }); var prmstr = window.location.search.substr(1); var prmarr = prmstr.split("&"); var params = {}; for (var i = 0; i < prmarr.length; i++) { var tmparr = prmarr[i].split("="); params[tmparr[0]] = tmparr[1]; } function LoginPageClient(send) { $.ajax( { cache: false, type: "POST", url: Global.Site + "/Ajax.aspx?AVA.ResourcesPlatform.Ajax.ClientAjax.Login", data: Global.GetFormValue($("#frmPageLogin")), async: true, dataType: 'json', success: function (result) { $(send).val("???"); if (params.returnURL) { return window.location.href = params.returnURL; } if ($("#frmPageLogin [Name=UserName]").val() == "master") { window.location.href = "/my/masterindex.aspx"; } else { if (result.toString().indexOf("login.html") != -1) { window.location.href = "<%= WebUrl.Index() %>"; } else { window.location.href = result; } } Global.Disabled(send, false); }, beforeSend: function () { $(send).val("???"); Global.Disabled(send, true); }, complete: function () { }, error: function (XMLHttpRequest, textStatus, errorThrown) { $(send).val("???"); Global.Disabled(send, false); var message = XMLHttpRequest.responseText; Global.Error(message); $("#frmPageLogin [name=Password]").val(""); } }); } function clearCookie() { //?????????????????????????????? return; var keys = document.cookie.match(/[^ =;]+(?=\=)/g); if (keys) { for (var i = keys.length; i--;) document.cookie = keys[i] + '=0;expires=' + new Date(0).toUTCString() } } clearCookie(); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de