Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\login.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <%@page import="com.edeal.frontline.helper.CTIHelper"%> <%/****************************************************************************** * Copyright (c) 2000-2013 E-DEAL * * E-DEAL S.A. * 41, rue Périer * 92120 Montrouge * France * * T: +33 (0)1 73 03 29 80 * 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="java.util.Locale" %><%@ page import="com.edeal.frontline.navigation.FlRequest" %><%@ page import="com.edeal.frontline.services.cti.CTIServiceClient" %><%@ page import="com.edeal.frontline.controller.actions.LoginAction" %><%@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); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); Locale locale = request.getLocale(); response.addHeader("EDEAL_login","true"); String forwardPage = flRequest.getRequestParameterOrAttribute("forwardPage"); if (forwardPage == null) { forwardPage = "/index.jsp"; } /* * If actor language cannot be result (take navigator locale), * initialize language code to english language by default. * If navigator language is french use french language code */ String languageID = dico.getRefIdByCode("ActLngPrinc", "fr_FR"); //if (Locale.FRANCE.equals(locale) || Locale.FRENCH.equals(locale)) { // languageID = dico.getRefIdByCode("ActLngPrinc", "fr_FR"); //} else if (Locale.ENGLISH.equals(locale) || Locale.UK.equals(locale) || Locale.US.equals(locale)) { languageID = dico.getRefIdByCode("ActLngPrinc", "en_US"); } String vocalcomActivated = flRequest.getRequestParameterOrAttribute("vocalcomActivated"); String genesysActivated = flRequest.getRequestParameterOrAttribute(CTIHelper.PARAM_GENESYSACTIVATED); String algoriaActivated = flRequest.getRequestParameterOrAttribute(CTIHelper.PARAM_ALGORIAACTIVATED); String actorID = (String)session.getAttribute("actorID"); // if the actor has already been to logged to E-DEAL and there are no // activated CTI; redirect to forward page; else re-log in a two step process if(actorID != null && !"true".equalsIgnoreCase(vocalcomActivated) && !"true".equalsIgnoreCase(genesysActivated) && !"true".equalsIgnoreCase(algoriaActivated)) { if(Utils.validateActor(context, actorID)) { String anonymousID = Utils.validateActor(context, "Anonymous", null); String systemID = Utils.validateActor(context, "System", null); if(!actorID.equalsIgnoreCase(anonymousID) && !actorID.equalsIgnoreCase(systemID)) { response.sendRedirect(request.getContextPath() + forwardPage); } } } final String errorMsg = flRequest.getRequestParameterOrAttribute(LoginAction.ERROR_MSG_ATTRIBUTE_NAME); //String errorMsg = (String)flRequest.getAttribute("errorMsg"); String op = flRequest.getRequestParameterOrAttribute("op"); String msgErr = flRequest.getRequestParameterOrAttribute("msgErr"); String licError = null; try { licError = (String) session.getAttribute("error"); session.setAttribute("error","0"); } catch (Exception e) {} String actorLogin = Utils.getRequestParameter(context, request, "login"); String pwdLogin = Utils.getRequestParameter(context, request, "pwd"); // Reloop on the page for Vocalcom CTI. //String vocalcomActivated = flRequest.getRequestParameterOrAttribute("vocalcomActivated"); String vocalcomStation = flRequest.getRequestParameterOrAttribute("vocalcomStation"); flRequest.setAttribute("vocalcomActivated", "false"); String pActivateCTI = context.getContextParameter("ActivateCTI"); // Is CTI in available services ? boolean isGenesysCTI = false; // Is Genesys the CTI call engine ? boolean showGenesysProperties = false; // Do we have tested login and licence of the user ? (so second time in this page) boolean showAgentName = false; // Do we enable to modify the agent name (from the actor properties)? boolean showPlaceName = false; // Do we enable to modify the place name (from the actor properties)? boolean showPhoneLogin = false; // Do we enable to modify the phone login (from the actor properties)? boolean showPhonePasscode = false; // Do we enable to modify the phone passcode (from the actor properties)? boolean showPhoneQueue = false; // Do we enable to modify the phone queue (from the actor properties)? String agentName = ""; String placeName = ""; String phoneLogin = ""; String phonePasscode = ""; String phoneQueue = ""; // Algoria String algoriaPhoneNumber = ""; boolean isAlgoriaCTI = false; boolean showAlgoriaProperties = false; // Algoria // Check if the CTI Option is activated. if (pActivateCTI != null && "true".equalsIgnoreCase(pActivateCTI)) { // Check if the CTI provider is Genesys. try{ final CTIServiceClient cti = (CTIServiceClient)context.getServiceManager().getServiceClient(session, "CTI"); isGenesysCTI = ("genesys".equalsIgnoreCase(cti.getImplementation().getProviderId())); // Check if the CTI provider is Algoria isAlgoriaCTI = ("algoria".equalsIgnoreCase(cti.getImplementation().getProviderId())); showGenesysProperties = (isGenesysCTI && "true".equalsIgnoreCase(genesysActivated)); if (showGenesysProperties) { // This is the second time we come so we initialize the show option values. showAgentName = cti.getImplementation().getOption(CTIHelper.OPTION_GENESYS_SHOWAGENTNAME, false); showPlaceName = cti.getImplementation().getOption(CTIHelper.OPTION_GENESYS_SHOWPLACENAME, false); showPhoneLogin = cti.getImplementation().getOption(CTIHelper.OPTION_GENESYS_SHOWPHONELOGIN, false); showPhonePasscode = cti.getImplementation().getOption(CTIHelper.OPTION_GENESYS_SHOWPHONEPASSCODE, false); showPhoneQueue = cti.getImplementation().getOption(CTIHelper.OPTION_GENESYS_SHOWPHONEQUEUE, false); agentName = (String)request.getAttribute(CTIHelper.PARAM_GENESYSAGENTNAME); placeName = (String)request.getAttribute(CTIHelper.PARAM_GENESYSPLACENAME); phoneLogin = (String)request.getAttribute(CTIHelper.PARAM_GENESYSPHONELOGIN); phonePasscode = (String)request.getAttribute(CTIHelper.PARAM_GENESYSPHONEPASSCODE); phoneQueue = (String)request.getAttribute(CTIHelper.PARAM_GENESYSPHONEQUEUE); } // Algoria showAlgoriaProperties = (isAlgoriaCTI && "true".equalsIgnoreCase(algoriaActivated)); if (showAlgoriaProperties) { // This is the second time we come so we initialize the show option values. algoriaPhoneNumber = (String)request.getAttribute(CTIHelper.PARAM_ALGORIAPHONENUMBER); } // Algoria }catch(Exception e){ logger.warn("Error in CTI Service :\nMessage : "+e.getMessage()+"\nCause : " + e.getCause()); } } // Check cookie remember me presence final Cookie cookies [] = request.getCookies (); if (cookies != null) { for (int i = 0; i < cookies.length; i++) { /* * If remember cookie is present && cookie isn't expired && response isn't commited * then redirect /login.fl to try authentication with remember cookie */ if (cookies[i].getName().equals("edrememberme") && request.getAttribute(LoginAction.EXPIRED_COOKIE_VALIDITY) == null && !response.isCommitted()) { response.sendRedirect(request.getContextPath() +"/login.fl"); } } } //Compute remenber me option String edRemembermeEnabled = context.getContextParameter(LoginAction.EDREMEMBERME_COOKIE_ENABLED_OPTION_NAME); String edRemembermeDuration = context.getContextParameter(LoginAction.EDREMEMBERME_COOKIE_DURATION_OPTION_NAME); int edrDuration = 0; boolean edrEnabled = false; if(edRemembermeDuration != null && !"".equals(edRemembermeDuration)){ try{ edrDuration = new Double(edRemembermeDuration).intValue(); } catch (NumberFormatException e){ } } if(edRemembermeEnabled != null && !"".equals(edRemembermeEnabled)){ edrEnabled = Boolean.parseBoolean(edRemembermeEnabled); } String token = request.getParameter("token"); %> <html> <head> <title><fl:getMessage code="A306C" language="<%=languageID%>" alt="Identification"/> - <fl:getMessage code="L2025" language="<%=languageID%>" alt="E-DEAL"/></title> <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"> <link rel="stylesheet" href="<fl:webapp/>/skins/default/css/login.css" type="text/css"/> <link rel="stylesheet" href="<fl:webapp/>/skins/default/css/jquery.ui.css" type="text/css"/> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/edeal/libraries/jquery/jquery.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/edeal/libraries/jquery/ui/1.9.2/jquery-ui-1.9.2.custom.min.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/ajax.js"></script> <script language="javascript"> $(document).ready(mapKeyBoardEvents); function mapKeyBoardEvents() { //showPleaseWait(); //hidePleaseWait(); $("#login").on("keyup", launchSubmit); $("#pwd").on("keyup", launchSubmit); $(".loginInput").on("keyup", launchSubmit); if ($("#login").val() == "" && $("#pwd").val() == "") { $("#login").focus(); } <% if (token != null) { %> showRecoverPassword(); <% } %> // fixPlaceHolder(); } /* function fixPlaceHolder() { $('[placeholder]').focus(function() { var input = $(this); if (input.val() == input.attr('placeholder')) { input.val(''); input.removeClass('placeholder'); } }).blur(function() { var input = $(this); if (input.val() == '' || input.val() == input.attr('placeholder')) { input.addClass('placeholder'); input.val(input.attr('placeholder')); } }).blur(); } */ function launchSubmit(event) { if (event.keyCode == 13) { //which container is opened ? if ($('#forgetPasswordContainer').css("display") != 'none') { if (($("#loginForgetPassword").val() != "") || ($("#emailForgetPassword").val() != "")) { forgetPasswordSubmit(); } } else { if ($('#changePasswordContainer').css("display") != 'none') { if (($("#loginChangePassword").val() != "") && ($("#oldPassword").val() != "") && ($("#newPassword").val() != "") && ($("#confirmNewPassword").val() != "")) { changePasswordSubmit(); } } else { if (($("#login").val() != "") && ($("#pwd").val() != "")) { showPleaseWait('<fl:getMessage code="L81E3" alt="Connexion en cours" js="true"/>'); $("#generalForm").submit(); } } } } } function clearChangePassword() { $("#loginChangePassword").val(""); $("#oldPassword").val(""); $("#newPassword").val(""); $("#confirmNewPassword").val(""); } function clearForgetPassword() { $("#loginForgetPassword").val(""); $("#emailForgetPassword").val(""); } function clearLogin() { $("#login").val(""); $("#pwd").val(""); } function changePasswordSubmit() { var f = $("#changePasswordForm"); if ($("#loginChangePassword").val() == ''){ $("#changePasswordError").html('<fl:getMessage code="M601B" alt="veuillez saisir votre login" js="true"/>'); $("#loginChangePassword").focus(); return; } if ($("#oldPassword").val() == ''){ $("#changePasswordError").html('<fl:getMessage code="M601C" alt="Veuillez saisir votre ancien mot de passe" js="true"/>'); $("#oldPassword").focus(); return; } if ($("#newPassword").val() == ''){ $("#changePasswordError").html('<fl:getMessage code="M601D" alt="Veuillez saisir votre nouveau mot de passe" js="true"/>'); $("#newPassword").focus(); return; } if ($("#confirmNewPassword").val() != $("#newPassword").val()){ $("#changePasswordError").html('<fl:getMessage code="M601E" alt="Veuillez confirmer votre nouveau mot de passe" js="true"/>'); $("#confirmNewPassword").focus(); return; } clearErrorMessages(); showPleaseWait(); var url = '<fl:webapp/>/changePwd.fl'; var data; data = {'login': encodeURIComponent($("#loginChangePassword").val()), 'old': encodeURIComponent($("#oldPassword").val()), 'newPwd': encodeURIComponent($("#newPassword").val()) }; $.ajax({ url: url , data: data, dataType:"json", context: this, success: function(data, textStatus, jqXHR) { hidePleaseWait(); if (data.error) { $("#oldPassword").val(""); $("#newPassword").val(""); $("#confirmNewPassword").val(""); $("#changePasswordError").html(data.error); } if (data.success) { clearLogin(); $("#login").val($("#loginChangePassword").val()); clearChangePassword(); $("#loginSuccess").html(data.success); showLogin(); } }, error: function(jqXHR, textStatus, errorThrown) { hidePleaseWait(); console.log("error :"); console.log("jqXHR :"); console.log(jqXHR); console.log("textStatus :"); console.log(textStatus); console.log("errorThrown :"); console.log(errorThrown); } }); } function forgetPasswordSubmit() { var f = $("#changePasswordForm"); if ($("#loginForgetPassword").val() == '' && $("#emailForgetPassword").val() == ''){ $("#forgetPasswordError").html('<fl:getMessage code="M601F" alt="Veuillez saisir votre login ou votre e-mail" js="true"/>'); $("#loginForgetPassword").focus(); return; } clearErrorMessages(); showPleaseWait(); var url = '<fl:webapp/>/remindPwd.fl'; var data; if ($("#loginForgetPassword").val() != '') { data = {'login': $("#loginForgetPassword").val()}; } else { if ($("#emailForgetPassword").val() != '') { data = {'email': $("#emailForgetPassword").val()}; } } $.ajax({ url: url , data: data, dataType:"json", context: this, success: function(data, textStatus, jqXHR) { hidePleaseWait(); if (data.error) { $("#forgetPasswordError").html(data.error); } if (data.success) { clearLogin(); $("#login").val($("#loginForgetPassword").val()); clearForgetPassword(); $("#loginSuccess").html(data.success); showLogin(); } }, error: function(jqXHR, textStatus, errorThrown) { hidePleaseWait(); console.log("error :"); console.log("jqXHR :"); console.log(jqXHR); console.log("textStatus :"); console.log(textStatus); console.log("errorThrown :"); console.log(errorThrown); } }); } function clearErrorMessages() { $("#forgetPasswordError").html(""); $("#changePasswordError").html(""); $("#loginSuccess").html(""); $(".error").html(""); } function showLogin() { //loginContainer //changePasswordContainer //forgetPasswordContainer $('#changePasswordContainer').slideUp('fast', function() { $('#forgetPasswordContainer').slideUp('fast', function() { $('#loginContainer').slideDown('fast'); if ($("#login").val() != "") { $("#pwd").focus(); } else { $("#login").focus(); } }); }); } function cancelRecoverPwd() { //loginContainer //changePasswordContainer //forgetPasswordContainer $('#recoverPasswordContainer').slideUp('fast', function() { $('#loginContainer').slideDown('fast'); if ($("#login").val() != "") { $("#pwd").focus(); } else { $("#login").focus(); } }); } function showChangePassword() { //loginContainer //changePasswordContainer //forgetPasswordContainer $('#forgetPasswordContainer').slideUp('fast', function() { $('#loginContainer').slideUp('fast', function() { $('#changePasswordContainer').slideDown('fast'); if ($("#login").val() != "") { $('#loginChangePassword').val($("#login").val()); $('#oldPassword').focus(); } else { $('#loginChangePassword').focus(); } }); }); } function showRecoverPassword() { $('#forgetPasswordContainer').slideUp('fast', function() { $('#loginContainer').slideUp('fast', function() { $('#recoverPasswordContainer').slideDown('fast'); if ($("#login").val() != "") { $('#loginRecoverPassword').val($("#login").val()); } else { $('#loginRecoverPassword').focus(); } }); }); } function showForgetPassword() { //loginContainer //changePasswordContainer //forgetPasswordContainer $('#loginContainer').slideUp('fast', function() { $('#changePasswordContainer').slideUp('fast', function() { $('#forgetPasswordContainer').slideDown('fast'); if ($("#login").val() != "") { $('#loginForgetPassword').val($("#login").val()); } $('#loginForgetPassword').focus(); }); }); } function showPleaseWait(textToDisplay) { if (!textToDisplay) { var textToDisplay = '<fl:getMessage code="L81D9" language="<%=languageID%>" alt="Votre demande est en cours de traitement"/>'; } $("#logo").css({left: $("#logo").position().left}); var logoLeft = ($(window).width()/2) - ($("#logo").width()/2); $("#logo").animate({left:logoLeft}); //$("#pleaseWait").animate({opacity:1}, 100); $("#pleaseWait").show(100); $(".container").animate({left:$(window).width() + 400, opacity: 0}); /*var dialogBox = $("#pleaseWait"); $("#pleaseWaitText").html(textToDisplay); if (dialogBox.length > 0) { dialogBox.view = this; dialogBox.dialog({autoOpen: false}); dialogBox.dialog( "option", "modal", true); dialogBox.dialog( "option", "position", "center"); dialogBox.dialog( "option", "draggable", false); dialogBox.dialog( "option", "resizable", false); dialogBox.dialog( "option", "closeOnEscape", false); dialogBox.dialog( "option", "show", { effect: 'drop', direction: "up"}); dialogBox.dialog( "option", "hide", { effect: 'slide', direction: "right", speed: 'fast'} ); dialogBox.dialog( "option", "dialogClass", "pleaseWait" ); dialogBox.dialog( "option", "height", 150); dialogBox.dialog( "option", "width", 300); } if (!dialogBox.dialog("isOpen")) { dialogBox.dialog('open'); $(".ui-dialog-titlebar-close").hide(); }*/ } function hidePleaseWait() { var logoLeft = ($(window).width()/2) - ($("#logo").width()); $("#logo").animate({left:logoLeft}); //$("#pleaseWait").animate({opacity:0}, 50); $("#pleaseWait").hide(50); $(".container").animate({left:($(window).width()/2), opacity: 1}); /*var dialogBox = $("#pleaseWait"); if (dialogBox.length > 0) { dialogBox.dialog('close'); }*/ } function recoverPasswordSubmit() { var f = $("#recoverPasswordForm"); if ($("#loginRecoverPassword").val() == ''){ $("#recoverPasswordError").html('<fl:getMessage code="M601B" alt="veuillez saisir votre login" js="true"/>'); $("#loginRecoverPassword").focus(); return; } if ($("#newRecoverPassword").val() == ''){ $("#recoverPasswordError").html('<fl:getMessage code="M601D" alt="Veuillez saisir votre nouveau mot de passe" js="true"/>'); $("#newRecoverPassword").focus(); return; } if ($("#confirmRecoverNewPassword").val() != $("#newRecoverPassword").val()){ $("#recoverRecoverPasswordError").html('<fl:getMessage code="M601E" alt="Veuillez confirmer votre nouveau mot de passe" js="true"/>'); $("#confirmNewRecoverPassword").focus(); return; } clearErrorMessages(); showPleaseWait(); var url = '<fl:webapp/>/recoverPwd.fl'; var data; data = {'login': encodeURIComponent($("#loginRecoverPassword").val()), 'token': encodeURIComponent("<%= token %>"), 'newPwd': encodeURIComponent($("#newRecoverPassword").val()) }; $.ajax({ url: url , data: data, dataType:"json", context: this, success: function(data, textStatus, jqXHR) { hidePleaseWait(); if (data.error) { $("#newRecoverPassword").val(""); $("#confirmRecoverNewPassword").val(""); $("#recoverPasswordError").html(data.error); } if (data.success) { $("#loginRecoverPassword").val(""); $("#newRecoverPassword").val(""); $("#loginRecoverPassword").val($("#loginRecoverPassword").val()); $("#newRecoverPassword").val(""); $("#confirmRecoverNewPassword").val(""); $("#loginSuccess").html(data.success); cancelRecoverPwd(); } }, error: function(jqXHR, textStatus, errorThrown) { hidePleaseWait(); console.log("error :"); console.log("jqXHR :"); console.log(jqXHR); console.log("textStatus :"); console.log(textStatus); console.log("errorThrown :"); console.log(errorThrown); } }); } </script> </head> <body> <div id="pleaseWait" style="position:absolute;left:50%;top:45%;display:none;" class="pleaseWaitContent" title="<fl:getMessage code="L81D8" language="<%=languageID%>" alt="Veuillez patienter"/>..."> <img src="<fl:webapp/>/skins/default/images/loginNowLoading.gif"/> <br/> <span id="pleaseWaitText"></span> </div> <img id="logo" class="logo" src="<fl:webapp/>/skins/default/images/logo.png"/> <div class="container" id="loginContainer"> <div class="containerError"> <%if (licError != null && licError.compareTo("2") == 0 ) { //if (true){%> <span class="error"><fl:getMessage code="L81DB" language="<%=languageID%>" alt="Vous ne possédez pas assez de licences flottantes disponibles."/></span><br/> <span class="error"><fl:getMessage code="L81DC" language="<%=languageID%>" alt="Veuillez réessayer ultérieurement."/></span><br/> <%}%> <%if(errorMsg != null){%> <span class="error"><%= errorMsg%></span><br/> <%}%> <span class="success" id="loginSuccess"></span><br/> </div> <form id="generalForm" method="post" action="<fl:webapp/>/login.fl"> <input type="hidden" name="forwardPage" value="<%= forwardPage == null ? "" : forwardPage %>"> <input type="hidden" name="resolutionX" value=""> <input type="hidden" name="resolutionY" value=""> <!--[if IE]> <fl:getMessage code="F206E" language="<%=languageID%>" alt="Identifiant"/><br/> <![endif]--> <input class="loginInput" name="login" id="login" placeHolder="<fl:getMessage code="F206E" language="<%=languageID%>" alt="Identifiant"/>" type="text" <% if("true".equalsIgnoreCase(vocalcomActivated)) {%> readonly="readonly" border="0"<% } %> value="<%= actorLogin == null ? "" : actorLogin %>"> <br/> <!--[if IE]> <fl:getMessage code="F100F" language="<%=languageID%>" alt="Mot de passe"/><br/> <![endif]--> <input class="loginInput" name="pwd" id="pwd" placeHolder="<fl:getMessage code="F100F" language="<%=languageID%>" alt="Mot de passe"/>" type="password" <% if("true".equalsIgnoreCase(vocalcomActivated)) {%> readonly="readonly" border="0" <% } %> value="<%= pwdLogin == null ? "" : pwdLogin %>"> <%if ("true".equalsIgnoreCase(vocalcomActivated)) { //if (true) {%> <br/> <input type="hidden" width="1" name="shownVocalcomProperties" value="true"> <!--[if IE]> Station Hermès<br/> <![endif]--> <input name="station" type="text" class="loginInput" placeHolder="Station Hermès" value="<%= vocalcomStation == null ? "" : vocalcomStation %>"> <%} %> <% //if (showGenesysProperties) { if (true) {%> <input type="hidden" name="<%= CTIHelper.PARAM_SHOWGENESYSPROPERTIES %>" value="true"> <% if (showAgentName) { //if (true) {%> <br/> <!--[if IE]> Agent name<br/> <![endif]--> <input placeHolder="Agent name" name="<%= CTIHelper.PARAM_GENESYSAGENTNAME %>" type="text" class="loginInput" value="<%= agentName == null ? "" : agentName %>"> <% } else { %> <%= agentName == null ? "" : agentName %> <input name="<%= CTIHelper.PARAM_GENESYSAGENTNAME %>" type="hidden" value="<%= agentName == null ? "" : agentName %>"> <% } %> <% if (showPlaceName) { //if (true) {%> <br/> <!--[if IE]> Place name<br/> <![endif]--> <input placeHolder="Place name" name="<%= CTIHelper.PARAM_GENESYSPLACENAME %>" type="text" class="loginInput" value="<%= placeName == null ? "" : placeName %>"> <% } else { %> <%= placeName == null ? "" : placeName %> <input name="<%= CTIHelper.PARAM_GENESYSPLACENAME %>" type="hidden" value="<%= placeName == null ? "" : placeName %>"> <% } %> <% if (showPhoneLogin) { //if (true) {%> <br/> <!--[if IE]> Phone login<br/> <![endif]--> <input placeHolder="Phone login" name="<%= CTIHelper.PARAM_GENESYSPHONELOGIN %>" type="text" class="loginInput" value="<%= phoneLogin == null ? "" : phoneLogin %>"> <% } else { %> <%= phoneLogin == null ? "" : phoneLogin %> <input name="<%= CTIHelper.PARAM_GENESYSPHONELOGIN %>" type="hidden" value="<%= phoneLogin == null ? "" : phoneLogin %>"> <% } %> <% if (showPhonePasscode) { //if (true) {%> <br/> <!--[if IE]> Phone passcode<br/> <![endif]--> <input placeHolder="Phone passcode" name="<%= CTIHelper.PARAM_GENESYSPHONEPASSCODE %>" type="text" class="loginInput" value="<%= phonePasscode == null ? "" : phonePasscode %>"> <% } else { %> <%= phonePasscode == null ? "" : phonePasscode %> <input name="<%= CTIHelper.PARAM_GENESYSPHONEPASSCODE %>" type="hidden" value="<%= phonePasscode == null ? "" : phonePasscode %>"> <% } %> <% if (showPhoneQueue) { //if (true) {%> <br/> <!--[if IE]> Phone queue<br/> <![endif]--> <input placeHolder="Phone queue" name="<%= CTIHelper.PARAM_GENESYSPHONEQUEUE %>" type="text" class="loginInput" value="<%= phoneQueue == null ? "" : phoneQueue %>"> <% } else { %> <%= phoneQueue == null ? "" : phoneQueue %> <input width="1" name="<%= CTIHelper.PARAM_GENESYSPHONEQUEUE %>" type="hidden" value="<%= phoneQueue == null ? "" : phoneQueue %>"> <% } %> <%}%> <% if (showAlgoriaProperties) { %> <br/> <input type="hidden" name="<%= CTIHelper.PARAM_SHOWALGORIAPROPERTIES %>" value="true"> <!--[if IE]> Device number<br/> <![endif]--> <input placeHolder="Device number" name="<%= CTIHelper.PARAM_ALGORIAPHONENUMBER %>" type="text" class="loginInput" value="<%= algoriaPhoneNumber == null ? "" : algoriaPhoneNumber %>"> <%} %> <a href="javascript:$('#generalForm').submit()" class="buttoninputLogin buttoninputLoginSmall buttoninputLogin-right" title="<fl:getMessage code="L81E2" language="<%=languageID%>" alt="Connexion"/>"> <img alt="<fl:getMessage code="L81E2" language="<%=languageID%>" alt="Connexion"/>" src="./skins/default/images/transparent.png" class="buttonLogin"> </a> <%if(edrEnabled && edrDuration > 0) { %> <br/> <input class="rememberMeInput" name="edrememberme" type="checkbox" <% if(request.getAttribute(LoginAction.EXPIRED_COOKIE_VALIDITY) != null) {%> checked="checked" <% } %> value="on"> <fl:getMessage code="L8159" language="<%=languageID%>" alt="Se souvenir de moi"/> (<%= edrDuration %>h) <%} %> </form> <div class="containerPasswordLink"> <a href="javascript:showChangePassword();"><fl:getMessage code="L60A6" language="<%=languageID%>" alt="Changer mon mot de passe"/></a>| <a href="javascript:showForgetPassword();"><fl:getMessage code="L60A7" language="<%=languageID%>" alt="J\'ai oublié mon mot de passe"/></a> </div> </div> <div class="container" id="changePasswordContainer" style="display:none;"> <div class="containerError"> <span id="changePasswordError" class="error"></span><br/> </div> <!--[if IE]> <fl:getMessage code="F206E" language="<%=languageID%>" alt="Identifiant"/><br/> <![endif]--> <input class="loginInput" name="loginChangePassword" id="loginChangePassword" placeHolder="<fl:getMessage code="F206E" language="<%=languageID%>" alt="Identifiant"/>" type="text"> <br/> <!--[if IE]> <fl:getMessage code="L81DD" language="<%=languageID%>" alt="Ancien mot de passe"/><br/> <![endif]--> <input class="loginInput" name="oldPassword" id="oldPassword" placeHolder="<fl:getMessage code="L81DD" language="<%=languageID%>" alt="Ancien mot de passe"/>" type="password"> <br/> <!--[if IE]> <fl:getMessage code="L81DE" language="<%=languageID%>" alt="Nouveau mot de passe"/><br/> <![endif]--> <input class="loginInput" name="newPassword" id="newPassword" placeHolder="<fl:getMessage code="L81DE" language="<%=languageID%>" alt="Nouveau mot de passe"/>" type="password"> <br/> <!--[if IE]> <fl:getMessage code="L81DF" language="<%=languageID%>" alt="Confirmer nouveau mot de passe"/><br/> <![endif]--> <input class="loginInput" name="confirmNewPassword" id="confirmNewPassword" placeHolder="<fl:getMessage code="L81DF" language="<%=languageID%>" alt="Confirmer nouveau mot de passe"/>" type="password"> <a href="javascript:changePasswordSubmit()" class="buttoninputLogin buttoninputLoginSmall buttoninputLogin-right" title="<fl:getMessage code="A0008" language="<%=languageID%>" alt="Modifier"/>"> <img alt="<fl:getMessage code="A0008" language="<%=languageID%>" alt="Modifier"/>" src="./skins/default/images/transparent.png" class="buttonLogin"> </a> <div class="containerCancelLink"> <a href="javascript:showLogin();"><fl:getMessage code="A2002" alt="Annuler"/></a> </div> </div> <div class="container" id="forgetPasswordContainer" style="display:none;"> <div class="containerError"> <span id="forgetPasswordError" class="error"></span><br/> </div> <!--[if IE]> <fl:getMessage code="L81E0" language="<%=languageID%>" alt="Entrez votre identifiant..."/><br/> <![endif]--> <input class="loginInput" name="loginForgetPassword" id="loginForgetPassword" placeHolder="<fl:getMessage code="L81E0" language="<%=languageID%>" alt="Entrez votre identifiant..."/>" type="text"> <br/> <!--[if IE]> <fl:getMessage code="L81E1" language="<%=languageID%>" alt="...ou votre adresse mail"/><br/> <![endif]--> <input class="loginInput" name="emailForgetPassword" id="emailForgetPassword" placeHolder="<fl:getMessage code="L81E1" language="<%=languageID%>" alt="...ou votre adresse mail"/>" type="text"> <a href="javascript:forgetPasswordSubmit()" class="buttoninputLogin buttoninputLoginSmall buttoninputLogin-right" title="<fl:getMessage code="L60CC" alt="Envoyer"/>"> <img alt="<fl:getMessage code="L60CC" alt="Envoyer"/>" src="./skins/default/images/transparent.png" class="buttonLogin"> </a> <div class="containerCancelLink"> <a href="javascript:showLogin();"><fl:getMessage language="<%=languageID%>" code="A2002" alt="Annuler"/></a> </div> </div> <div class="container" id="recoverPasswordContainer" style="display:none;"> <div class="containerError"> <span id="recoverPasswordError" class="error"></span></br> </div> <!--[if IE]> <fl:getMessage code="F206E" language="<%=languageID%>" alt="Identifiant"/><br/> <![endif]--> <input class="loginInput" name="loginRecoverPassword" id="loginRecoverPassword" placeHolder="<fl:getMessage code="F206E" language="<%=languageID%>" alt="Identifiant"/>" type="text"> <br/> <!--[if IE]> <fl:getMessage code="L81DE" language="<%=languageID%>" alt="Nouveau mot de passe"/><br/> <![endif]--> <input class="loginInput" name="newRecoverPassword" id="newRecoverPassword" placeHolder="<fl:getMessage code="L81DE" language="<%=languageID%>" alt="Nouveau mot de passe"/>" type="password"> <br/> <!--[if IE]> <fl:getMessage code="L81DF" language="<%=languageID%>" alt="Confirmer nouveau mot de passe"/><br/> <![endif]--> <input class="loginInput" name="confirmRecoverNewPassword" id="confirmRecoverNewPassword" placeHolder="<fl:getMessage code="L81DF" language="<%=languageID%>" alt="Confirmer nouveau mot de passe"/>" type="password"> <a href="javascript:recoverPasswordSubmit()" class="buttoninputLogin buttoninputLoginSmall buttoninputLogin-right" title="<fl:getMessage code="A0008" language="<%=languageID%>" alt="Modifier"/>"> <img alt="<fl:getMessage code="A0008" language="<%=languageID%>" alt="Modifier"/>" src="./skins/default/images/transparent.png" class="buttonLogin"> </a> <div class="containerCancelLink"> <a href="javascript:cancelRecoverPwd();"><fl:getMessage code="A2002" alt="Annuler"/></a> </div> </div> <div class="footer">Spring 2013 - Version 1.2.3</div> </body> </html> <% /****************************************************************************** * CVS Log File - This is no longer maintained! * * Revision 1.3 2004/12/14 17:30:09 brian * accent stuff * * Revision 1.2 2004/12/07 11:19:40 brian * Fix for bug FL460 #001 * -Problème de caractères * * Revision 1.1 2004/07/23 18:20:17 brian * Initial Revision * *****************************************************************************/ %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de