Edit D:\rfid\apache-tomcat-8.5.32\webapps\opac\page\reader\modifypwd.jsp
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <title>??????</title> <%@ include file="../global/linkcss.jsp" %> </head> <body> <!-- ?????? --> <%@ include file="../../page/global/mylib-header.jsp" %> <!-- ???????? --> <div class="mylib-box"> <!-- ???????????? --> <%@ include file="../../page/global/mylib-menu.jsp" %> <!-- ????????? --> <div class="mylib-box-right"> <!-- ?????????? --> <div class="reader-info-box" style="min-height: 664px;"> <div class="reader-header-title" style="border-radius: 2px;border-top: 1px solid #ddd;"> <h2>??????</h2> </div> <div class="bookRenewResult" style="border: 1px solid #f5f5f5; margin-top: -1px;"> <div class="reader-body basic-info"> <table class="booktable table-condensed"> <tr> <td style="width: 60px;">?????</td> <td ><input id="newpassword" type="password" class="telephone input-text" placeholder="?????????"></td> </tr> <tr> <td >????????</td> <td ><input id="oknewpassword" type="password" class="email input-text" placeholder="????????????"></td> </tr> </table> <div class="body-bottom-bnt"> <a href="JavaScript:modifyReader()" class="bnt" > ?? ?? </a> </div> </div> </div> </div> </div> </div> <!-- ??? --> <%@ include file="../global/footer.jsp" %> </body> <%@ include file="../global/linkjs.jsp" %> <script type="text/javascript"> $(function () { $("#newpassword").focus(); }); function modifyReader(){ var newpassword = $("#newpassword").val(); var oknewpassword = $("#oknewpassword").val(); if(newpassword.length == 0 || oknewpassword.length == 0 ){ return $.Pop('????????????,????????','alert',function(){}); } if(newpassword != oknewpassword){ return $.Pop('??????????????????','alert',function(){}); } var param = {}; param.id = rdrid; param.newPassWord = newpassword; var confirmDiv = "<input id=\"password\" type=\"password\" class=\"input-text\" placeholder=\"???????????(??????)\">"; $.Pop(confirmDiv,'confirm',function(){ if($("#password").val().length==0){ return $.Pop('??????(??????)????????','alert',function(){}); } param.password = $("#password").val(); updateReaderRecord(param); }); } function updateReaderRecord(param){ var url = '${ctx}/reader/update.do'; $.post(url, param, function(data) { if (data.status == "0") { $.Pop('?????????,???????????','confirm',function(){ $(window).attr('location', '${ctx}/reader/logout.do'); }); }else $.Pop(data.message,'alert',function(){}); }, 'json'); } </script> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de