Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\changePwd.jsp
<% /****************************************************************************** * Copyright (c) 2000-2006 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %><%@page session="true" import="com.edeal.frontline.*"%><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl"%><% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); %> <html> <head> <title><fl:getMessage code="A306C" alt="Identification"/> - <fl:getMessage code="L2025" alt="E-DEAL"/></title> <style> img { border: none; } .chpsTextNorm { FONT-SIZE: 12px; FONT-FAMILY: Arial, Verdana, sans-serif; color:#000000 ; height:20px; border:solid 1 #A3A6AB; background-color:#EDF7F9; padding-left: 5px; padding-top:1px; padding-bottom:1px } .tableLog{ FONT-SIZE: 12px; COLOR: #000000; FONT-FAMILY: Arial, Verdana, sans-serif; text-decoration:none; background-color:none } .lienTableLog{ padding-bottom:8; text-align:center; } .lienTableLog A{ FONT-SIZE: 9px; COLOR: #000000; FONT-FAMILY: Arial, Verdana, sans-serif; text-decoration:none; } .lienTableLog A:hover{ COLOR: #A4232D; text-decoration:underline; } .tableBackground { background-image: url("<fl:webapp/>/icons/home/fdSupLogoChangePwd.jpg"); background-repeat: no-repeat; } </style> <link rel="icon" href="<fl:webapp/>/favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="<fl:webapp/>/favicon.ico" type="image/x-icon"> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/master_js.jsp"></script> <script language="javascript"> function doSubmit() { var f = document.forms[0]; if (f.login.value == ''){ window.alert('<fl:getMessage code="M601B" alt="veuillez saisir votre login" js="true"/>'); f.login.focus(); return; } if (f.old.value == ''){ window.alert('<fl:getMessage code="M601C" alt="Veuillez saisir votre ancien mot de passe" js="true"/>'); f.old.focus(); return; } if (f.newPwd.value == ''){ window.alert('<fl:getMessage code="M601D" alt="Veuillez saisir votre nouveau mot de passe" js="true"/>'); f.newPwd.focus(); return; } if (f.newPwd.value != f.newConfirm.value) { window.alert('<fl:getMessage code="M601E" alt="Veuillez confirmer votre nouveau mot de passe" js="true"/>'); f.newConfirm.focus(); return; } var urlStr = '<fl:webapp/>/changePwd.fl?login=' + f.login.value; urlStr += '&old=' + f.old.value; urlStr += '&newPwd=' + f.newPwd.value; doAjax(urlStr,null,"GET",null); } function doOnLoad() { var f = document.forms[0]; if (f.login.value == '') { f.login.focus(); } return true; } function checkPwdAndSubmit() { var f = document.forms[0]; if (f.ActPwdIsEncrypted.value == "false" && f.ActLogin && f.ActLogin.value != '') { if (f.ActPwd.value == '') { alert('<fl:getMessage code="M2032" alt="Veuillez entrer un mot de passe" js="true"/>'); f.ActPwd.focus(); } else if (f.ActPwd.value != f.confirmActPwd.value) { alert('<fl:getMessage code="M2033" alt="Veuillez reconfirmer votre mot de passe" js="true"/>'); f.confirmActPwd.focus(); } else { var urlStr = '<fl:webapp/>/check_pwd_ajax.fl?login=' + escape(f.ActLogin.value); urlStr += '&pwd=' + escape(f.ActPwd.value); $.getJSON(urlStr, function(result) { if (result != null){ if (result.status == "OK"){ doPwdOK(); } else if (result.status == "KO"){ alert('<fl:getMessage code="L8280" alt="Le mot de passe ne respecte pas les règles de sécurité." js="true"/>'); } } }); } } else { submit(); } } function doPwdOK() { submit(); } </script> </head> <body bgcolor="white" onload="doOnLoad();" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" style="overflow:hidden"> <form method="post" action="#"> <table width="100%" border="0" height="100%"> <tr width="100%" height="100%"> <td align="center" valign="middle"> <table class="tableBackground" width="320" height="350" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="5"><img src="icons/nav/spacer.gif" width="320" height="91"></td> </tr> <tr> <td><img src="icons/nav/spacer.gif" width="60" height="18"></td> <td class="tableLog"><fl:getMessage code="F206E" alt="Identifiant"/></td> <td><img src="icons/nav/spacer.gif" width="12" height="12"></td> <td><input name="login" type="text" class="chpsTextNorm"></td> <td><img src="icons/nav/spacer.gif" width="50" height="12"></td> </tr> <tr> <td colspan="5"><img src="icons/nav/spacer.gif" width="320" height="10"></td> </tr> <tr> <td><img src="icons/nav/spacer.gif" width="60" height="18"></td> <td class="tableLog"><fl:getMessage code="L60AA" alt="Ancien password"/></td> <td><img src="icons/nav/spacer.gif" width="12" height="12"></td> <td><input name="old" type="password" class="chpsTextNorm"></td> <td><img src="icons/nav/spacer.gif" width="50" height="12"></td> </tr> <tr> <td colspan="5"><img src="icons/nav/spacer.gif" width="320" height="10"></td> </tr> <tr> <td><img src="icons/nav/spacer.gif" width="60" height="18"></td> <td class="tableLog"><fl:getMessage code="L60AB" alt="Nouveau password"/></td> <td><img src="icons/nav/spacer.gif" width="12" height="12"></td> <td><input name="newPwd" type="password" class="chpsTextNorm"></td> <td><img src="icons/nav/spacer.gif" width="50" height="12"></td> </tr> <tr> <td colspan="5"><img src="icons/nav/spacer.gif" width="320" height="10"></td> </tr> <tr> <td><img src="icons/nav/spacer.gif" width="60" height="38"></td> <td class="tableLog"><fl:getMessage code="L60AC" alt="Confirmation du nouveau password"/></td> <td><img src="icons/nav/spacer.gif" width="12" height="12"></td> <td><input name="newConfirm" type="password" class="chpsTextNorm"></td> <td><img src="icons/nav/spacer.gif" width="50" height="12"></td> </tr> <tr> <td colspan="5"><img src="icons/nav/spacer.gif" width="320" height="10"></td> </tr> <tr class="fieldline"> <td colspan="5" style="text-align: center;"> <a href="javascript:doSubmit();"><img src="<fl:webapp/>/icons/ico/valider.gif" class="icon"></a> <a href="javascript:window.location='<fl:webapp/>/login.jsp';"><img src="<fl:webapp/>/icons/ico/close.gif"></a> </td> </tr> </table> </td> </tr> </table> </form> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de