1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664
|
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cp.adidas.com/web//content/web/eCom/stylesheets/fonts.css" />
<link rel="stylesheet" href="https://cp.adidas.com/web//content/web/eCom/stylesheets/style.css" />
<link href="https://cp.adidas.com/web//content/web/eCom/css/01-regular-login.css" rel="stylesheet" type="text/css" />
<link href="https://cp.adidas.com/web//content/web/eCom/css/05-forgot-password.css" rel="stylesheet" type="text/css" />
<link href="https://cp.adidas.com/web//content/web/eCom/css/common.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cp.adidas.com/web//content/web/eCom/stylesheets/fontUpdate.css" />
<title>Connexion</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex, nofollow" />
<meta name="robots" content="noarchive" />
<script type="text/javascript">
var fullDate = new Date();
var twoDigitMonth = fullDate.getMonth()+""; twoDigitMonth = parseInt(twoDigitMonth); twoDigitMonth = twoDigitMonth+1;
twoDigitMonth = twoDigitMonth.toString();if(twoDigitMonth.length==1) twoDigitMonth="0" +twoDigitMonth;
var twoDigitDate = fullDate.getDate()+"";if(twoDigitDate.length==1) twoDigitDate="0" +twoDigitDate;
var currentDate = twoDigitDate + twoDigitMonth + fullDate.getFullYear().toString().substring(2, 4);
var locale = 'fr_FR';
var arr = locale.split('_');
var languageCode = arr[0].toUpperCase();
var countryCode = arr[1];
if (countryCode == 'GB'){
countryCode = 'UK';
}
var app = 'ADIDAS';
var profileName = 'adidasglobal';
var environmentName = '';
var env = 'https://cp.adidas.com/web/';
if((env.indexOf("dev.") != -1) || (env.indexOf("localhost") != -1)){
env = 'STAGING';
environmentName = 'dev';
}
else if (env.indexOf("qa.") != -1){
env = 'STAGING';
environmentName = 'qa';
}
else{
env = 'PRODUCTION';
environmentName = 'prod';
}
var isMobile = 'web';
if( isMobile == "web"){
isMobile = '';
}
else{
isMobile = 'TRUE';
}
var formName = 'LOGIN';
var formError = '';
var formErrorMsg = '';
if (formErrorMsg != '') {
formError = 'USERNAME|PASSWORD';
}
</script>
<script type="text/javascript" src="//tags.tiqcdn.com/utag/adidas/adidasglobal/prod/utag.sync.js"></script>
</head>
<body>
<script type="text/javascript">
var utag_data = {
environment: env,
site_name: app,
country: countryCode,
language: languageCode,
is_mobile: isMobile,
is_sso: "TRUE",
page_name: "LOGIN",
page_type: "ACCOUNT",
is_customizable: "",
breadcrumb: [ "HOME","SIGN IN OR REGISTER" ],
date: currentDate,
logged_in: "",
customer_id: "ab0S8RHTLnU1vggZNe13r9Qoqe",
dw_test_id: "",
dw_segment_id: "",
foresee_dir: "",
form_name: formName ,
form_error: formError
};
(function(a,b,c,d){
a='//tags.tiqcdn.com/utag/adidas/'+profileName+'/'+environmentName+'/utag.js';
b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true;
a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
})();
</script>
<div class="accountlogin login" id="main">
<div class="logincustomers block loginblock" id="login" style="position:relative;">
<h2 class="headline">Connexion</h2>
<div class="returningcustomers">
<form id="signinForm" method="post" target="innerFrame">
<fieldset>
<div class="errorcommon">Error Message</div>
<div class="formfield username style">
<div class="value">
<input id="username" name="username" class="textinput required trimspace" maxlength="50" data-placeholder="* Adresse e-mail" placeholder="* ADRESSE E-MAIL" type="text" value="" />
<span id="invalid" style="display:none">L'adresse e-mail nest pas valide</span>
</div>
</div>
<div class="formfield password style">
<div class="value ">
<input id="password" class="textinputpw required" value="" name="password" autocomplete="off" maxlength="50" data-placeholder="* Mot de passe" placeholder="* MOT DE PASSE" type="password" />
<span id="pwderr" style="display:none">Veuillez saisir votre mot de passe</span>
</div>
</div>
<div class="formfield rememberme">
<div class="checkbox">
<input class="checkinput" type="checkbox" name="rememberme" id="rememberme" value="true" />
<label for="rememberme">Mémoriser</label>
</div>
</div>
<div class="loginaction formactions">
<button class="co-btn_primary" id="signinSubmit" value="Sign in" name="signinSubmit"><span>Se connecter</span></button>
</div>
<a class="forgotpassword showdialog" id="PasswordReset" title="Mot de passe oublié ?">Mot de passe oublié ?</a>
<br /><br />
<a id="usernameCookieLink" href="javascript:void(0);" onclick="deleteCookie('UsernameCookie');">Not Email?</a>
<input type="hidden" name="IdpAdapterId" value="adidasIdP10" />
<input type="hidden" name="SpSessionAuthnAdapterId" value="https://cp.adidas.com/web/" />
<!--TODO: taken latest file from dev, not there in SCV-->
<input type="hidden" name="PartnerSpId" value="sp:demandware" />
<input type="hidden" name="validator_id" value="adieComDWfr" />
<input type="hidden" name="TargetResource" value="https://www.adidas.fr/on/demandware.store/Sites-adidas-FR-Site/fr_FR/MyAccount-ResumeLogin?target=account" />
<input type="hidden" name="InErrorResource" value="https://www.adidas.fr/on/demandware.store/Sites-adidas-FR-Site/fr_FR/null" />
<input type="hidden" name="loginUrl" value="https://cp.adidas.fr/web/eCom/fr_FR/loadsignin" />
<input type="hidden" id="cd" name="cd" value="eCom|fr_FR|cp.adidas.fr|null" />
<input type="hidden" id="remembermeParam" name="remembermeParam" value="" />
<input type="hidden" id="app" name="app" value="eCom" />
<input type="hidden" id="locale" name="locale" value="fr_FR" />
<input type="hidden" id="domain" name="domain" value="cp.adidas.fr" />
<!-- <input type="hidden" id="coremetricsClientId" name="coremetricsClientId" th:value="${clientId}"/>
<input type="hidden" id="coremetricsClientServer" name="coremetricsClientServer" th:value="${clientServer}" />
<input type="hidden" id="coremetricsClientName" name="coremetricsClientName" th:value="${clientName}" />
<input type="hidden" id="coremetricsEluminate" name="coremetricsEluminate" th:value="${eluminate}"/> -->
<input type="hidden" id="email" name="email" value="" />
<input type="hidden" id="pfRedirectBaseURL" name="pfRedirectBaseURL_test" value="https://cp.adidas.fr" />
<input type="hidden" id="pfStartSSOURL" name="pfStartSSOURL_test" value="https://cp.adidas.fr/idp/startSSO.ping" />
<input type="hidden" id="resumeURL" name="resumeURL_test" value="" />
<input type="hidden" id="FromFinishRegistraion" name="FromFinishRegistraion" value="" />
</fieldset>
<input type="hidden" name="CSRFToken" value="f23278f7-a5ed-499a-9a66-9046dd47e488" /></form>
<!--
<table style="float:left">
<tr>
<td th:each="entry: ${socialConnectorsToShow}">
<a th:href="${entry.value}"> <img th:src="@{'/content/web/eCom/images/' +${entry.key} + '.jpg'} " /> </a>
</td>
</tr>
</table>
-->
</div>
</div>
<!-- The signin form response is targeted to this Iframe so that the redirects happen in innerFrame and are not visible to user -->
<iframe width="0" name="innerFrame" height="0" src="https://cp.adidas.com/web//content/innerFrame.html"></iframe>
<!-- Forgot password -->
<div class="accountlogin login simpledialog" id="main" style="display:none">
<div class="block" style="position:relative;">
<h2 class="headline ui-dialog-title">Mot de passe oublié ?</h2>
<div class="PasswordResetDialog ui-dialog-content ui-widget-content">
<div class="passwordreset">
<p>Donne ladresse e-mail de ton compte pour recevoir un courrier électronique afin de réinitialiser ton mot de passe.</p>
<form>
<fieldset>
<div class="formfield passwordemail">
<div class="value">
<input class="textinput resetemail required" id="requestpassword_email" name="requestpassword_email" placeholder="* ADRESSE E-MAIL" maxlength="50" type="text" />
<span id="emailforgot" style="display:none">Veuillez saisir une adresse e-mail valide</span>
</div>
</div>
<div class="formactions">
<button class="send btn_tertiary" id="sendBtn" type="button" value="Submit" name="requestpassword_send"><span>Envoyer</span></button>
<button class="cancel btn_tertiary" type="button" value="Close" name="requestpassword_cancel"><span>Fermer</span></button>
</div>
</fieldset>
</form>
</div>
<div id="confirmationcontainer" class="confirmationcontainer" style="display:none;">
<p>Vérifie ta boite e-mail, tu vas recevoir un message avec un lien pour réinitialiser ton mot de passe.</p>
<button class="cancel btn_tertiary" type="button" id="confirmBtn" value="Close"><span>Fermer</span></button>
</div>
</div>
</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript"><!--
if(typeof(jQuery) === 'undefined'){
document.write('<script src="/web/content/js/jquery-1.11.0.min.js" type="text/javascript"></script>');
}
//--></script>
<script src="/web/content/web/eCom/js/fancyfields-minified.js"></script>
<script src="/web/content/web/eCom/js/postmessage.js"></script>
<script src="/web/content/js/jquery.cookie.js"></script>
<script>
$('#signinForm').fancyfields();
</script>
<script>
/*<![CDATA[*/
//$('input, textarea').placeholder();
var reqParamTarget = '';
/*var targetType;
if(reqParamTarget == "account")
targetType="ACCOUNT";
else
targetType="ACCOUNT";*/
if(window.console){
console.log("reqParamTarget PAGE="+reqParamTarget);
}
//$('*').find(".block").removeClass("overlay");
$(".forgotpassword").click(function() {
/*if(cpCmProperties() != null){
var exploreAttrParams = new Array();
exploreAttrParams[15] = 'Anonymous';
if(reqParamTarget == "account") {
tagPageview("ACCOUNT: LOGIN|FORGOT PASSWORD", "ACCOUNT|LOGIN", null,null,cpCmProperties(exploreAttrParams,"PageviewTag"));
}else {
tagPageview("CHECKOUT: LOGIN|FORGOT PASSWORD", "CHECKOUT|LOGIN", null,null,cpCmProperties(exploreAttrParams,"PageviewTag"));
}
}*/
var forgotPwdTitle = 'R\u00E9initialiser le mot de passe';
$(".loginaction").hide();
$(".loginblock").hide();
$(".simpledialog").show();
loadDynamiciframe();
$(".ui-dialog-title").text(forgotPwdTitle);
$(".simpledialog .PasswordResetDialog .confirmationcontainer").hide();
$(".simpledialog .PasswordResetDialog .passwordreset").show();
$(".errorclient").removeClass("errorclient");
$(".errorcommon").removeClass("errorcommonshow");
utag.view({
page_name: "FORGOT PASSWORD",
page_type: "ACCOUNT"
});
if($("#username").val()!=''){
var useremail=$("#username").val();
$("#requestpassword_email").val(useremail);
loadDynamiciframe();
}
});
$(".cancel, .ui-dialog-titlebar-close").click(function() {
$(".loginaction").show();
$(".simpledialog").hide();
$(".loginblock").show();
$("#requestpassword_email").val("");
loadDynamiciframe();
});
$(".send").click(function() {
var email = $("#requestpassword_email").val();
if (email == '' || !/^[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,8}$/.test(email)) {
$("#requestpassword_email").parent().addClass("errorclient");
formError = "EMAIL";
formName = "FORGOT PASSWORD";
utag.link({
event: "FORM ERRORS",
form_name: formName,
form_error: formError
});
return false;
}
utag.view({
page_name: "FORGOT PASSWORD|THANKYOU",
page_type: "ACCOUNT"
});
var forgotPwdURL = '/web/eCom/fr_FR/forgotpassword';
forgotPwdURL = forgotPwdURL+'?email='+$("#requestpassword_email").val();
// Start ACRM-1128 : Handling forgot password redirection based upon response from Controller
$.ajax({
type: "GET",
url: forgotPwdURL,
async: true,
success: function(data,textStatus, xhr){
if(xhr.status==200){
var forgotPwdThankq = 'Merci';
$(".ui-dialog-title").text(forgotPwdThankq);
$(".simpledialog .PasswordResetDialog .passwordreset").hide();
$(".simpledialog .PasswordResetDialog .confirmationcontainer").show();
}
else {
var forgotPwdError = 'L\'adresse e-mail saisie n\'est pas valide, veuillez r\u00E9essayer ';
$("#emailforgot").text(forgotPwdError);
$("#requestpassword_email").parent().addClass("errorclient");
}
},
error: function(){
var forgotPwdError = 'L\'adresse e-mail saisie n\'est pas valide, veuillez r\u00E9essayer ';
$("#emailforgot").text(forgotPwdError);
$("#requestpassword_email").parent().addClass("errorclient");
}
});
// End ACRM-1128 : Handling forgot password redirection based upon response from Controller
/* if(cpCmProperties() != null){
var exploreAttrParams=new Array();
exploreAttrParams[15]='Anonymous';
if(reqParamTarget == "account"){
tagPageview("ACCOUNT: LOGIN|FORGOT PASSWORD|THANKYOU", "ACCOUNT|LOGIN", null,null,cpCmProperties(exploreAttrParams,"PageviewTag"));
}else{
tagPageview("CHECKOUT: LOGIN|FORGOT PASSWORD|THANKYOU", "CHECKOUT|LOGIN", null,null,cpCmProperties(exploreAttrParams,"PageviewTag"));
}
}*/
});
$("#signinSubmit").click(function() {
var detailEntered = true;
formError = '';
if ($("#username").val() == '') {
$("#username").parent().addClass("errorclient");
var emailMandatoryMsg = 'Veuillez saisir une adresse e-mail valide';
$("#invalid").text(emailMandatoryMsg);
detailEntered = false;
formError = "EMAIL";
}
if ($("#password").val() == '') {
$("#password").parent().addClass("errorclient");
detailEntered = false;
/* if(cpCmProperties(exploreAttrParams) != null){
if(reqParamTarget == "account"){
tagElement("ACCOUNT: LOGIN", "FORM ERRORS", cpCmProperties(exploreAttrParams,"ElementTag"));
}else{
tagElement("CHECKOUT: LOGIN", "FORM ERRORS", cpCmProperties(exploreAttrParams,"ElementTag"));
}
}*/
if (formError!='')
formError = formError+"|PASSWORD";
else formError = "PASSWORD";
}
var email = $("#username").val();
if(email!=""){
if(!/^[\w-\.]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]{2,8}$/.test(email)){
$("#username").parent().addClass("errorclient");
var emailInvalidMsg = 'L\'adresse e-mail n\u2019est pas valide';
$("#invalid").text(emailInvalidMsg);
if (formError!='' && formError.indexOf("EMAIL") == -1)
formError = formError+"|EMAIL";
else formError = "EMAIL";
detailEntered = false;
//return false;
}}
if (!detailEntered) {
//$(".value").addClass("errorclient");
loadDynamiciframe();
return false;
}else {
//Commented showing loadingdiv code as decision is taken not to show the loading div
//$("#loadImagediv").show().css("z-index", "1001").css("left",140).css("top",140).css("position","absolute");
//$('*').find(".block").addClass("overlay");
//$(".required").readonly=true;
//$("#PasswordReset").click(function(event){
//event.preventDefault();
// return false;
//})
//Disable the input fields and the checkbox once submit button is clicked
$(".required").prop('readonly','readonly');
$(".ffCheckboxWrapper").children().prop('disabled',true);
$(".forgotpassword").click(function(){
$(".loginaction").show();
$(".simpledialog").hide();
loadDynamiciframe();
});
//show progress on the whole logincustomers div
//$('.logincustomers').css({cursor:'progress'});
//$('.co-btn_primary').css({cursor:'progress'});
//Show Loading GIF image on the login div once the submit button is clicked
$('#login').addClass("loader-medium-black-ie");
$('.formfield').css({"opacity":"0.50"});
$('.formactions').css({"opacity":"0.50"});
//if the errorcommon is shown- hide it.
$(".errorcommon").removeClass("errorcommonshow");
loadDynamiciframe();
}
var resumeURL = '';
var pfStartSSOURL = 'https://cp.adidas.fr/idp/startSSO.ping';
var pfBaseURL = 'https://cp.adidas.fr';
if(resumeURL == null || resumeURL == '') {
$('#signinForm').attr('action', pfStartSSOURL);
} else {
$('#signinForm').attr('action', pfBaseURL+resumeURL);
}
if(formError=='')
$('#signinForm').submit();
else {
utag.link({
event: "FORM ERRORS",
form_name: formName,
form_error: formError
});
//return false;
}
});
$("#username").focus(function() {
$(this).parent().removeClass("value errorclient").addClass("value");
loadDynamiciframe();
// $(this).siblings("#invalid").hide();
});
$("#password").focus(function() {
$(this).parent().removeClass("value errorclient").addClass("value");
loadDynamiciframe();
// $(this).siblings("#pwderr").hide();
});
$("#requestpassword_email").focus(function() {
// Start ACRM-1128 : Handling forgot password redirection based upon response from Controller
var emailMandatoryMsg = 'Veuillez saisir une adresse e-mail valide';
$("#emailforgot").text(emailMandatoryMsg);
// End ACRM-1128 : Handling forgot password redirection based upon response from Controller
$(this).parent().removeClass("value errorclient").addClass("value");
loadDynamiciframe();
});
$(".ffCheckboxWrapper").click(function() {
var application = 'eCom';
var locale = 'fr_FR';
var domain = 'cp.adidas.fr';
if ($(this).hasClass('on')) {
$("#cd").val(application+'|'+locale+'|'+domain+'|true')
} else {
$("#cd").val(application+'|'+locale+'|'+domain+'|false')
}
});
function changeParentLocIfInnerFrame() {
// This code change the parent frame location with the
try {
if(window.console){
console.log("URL: " +window.location.href);
}
var queryString = "";
var urlString = window.location.href;
var qMarkIndex = urlString.indexOf('?');
if(qMarkIndex != -1 ){
queryString = urlString.slice(qMarkIndex + 1);
urlString = urlString.slice(0, qMarkIndex);
}
var parentLocation = parent.location.href;
var parentQMarkIndex = parentLocation.indexOf('?');
if(parentQMarkIndex != -1){
parentLocation = parentLocation.slice(0, parentQMarkIndex);
}
if(window != window.top) {
if(window.console){
console.log("URL: " +urlString + "; Query string is " + queryString + "; Parent Location:" +parentLocation + " parent and child equal?" + (urlString === parentLocation));
}
if(urlString === parentLocation){
parent.location.href = parentLocation + '?'+ queryString;
}
}
}catch(e){
if(window.console){
console.log("error while processsing parent locations : probable permission denied " + e);
}
}
}
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0){
var cookieVal = c.substring(nameEQ.length,c.length);
return cookieVal;
}
}
return null;
}
function setUserNameFromCookie(){
var errorParam = true;
if(errorParam){
var usernameCookie = decodeURIComponent(getCookie("UsernameCookie"));
if(usernameCookie!==null && usernameCookie!='' && usernameCookie!='null'){
$("#username").val($.trim(usernameCookie));
var notText = 'Tu n\u2019es pas';
var dedodedNotText= decodeURIComponent(notText);
$("#usernameCookieLink").text(dedodedNotText+" "+$.trim(usernameCookie)+"?");
$("#usernameCookieLink").show();
loadDynamiciframe();
}
}
}
function deleteCookie(name) {
$.removeCookie(name,{domain:$("#domain").val(),secure: true,path:'/'});
location.reload();
}
function afterJSDownload() {
if(window.console){
console.log("by this time all js file should have been downloaded");
}
//remove cursor if the property is existing.
$('.logincustomers').css({cursor:''});
$('.co-btn_primary').css({cursor:''});
//jquery trim the spaces for field with .trimspace
$('input.trimspace').blur(function( e ) {
$(this).val($.trim($(this).val()));
});
/*if(cpCmProperties() != null){
var exploreAttrParams=new Array();
exploreAttrParams[15]='Anonymous';
if(reqParamTarget == "account"){
tagPageview("ACCOUNT: LOGIN|LOGIN", "ACCOUNT|LOGIN", null,null,cpCmProperties(exploreAttrParams,"PageviewTag"));
}else{
tagPageview("CHECKOUT: LOGIN|LOGIN", "CHECKOUT|LOGIN", null,null,cpCmProperties(exploreAttrParams,"PageviewTag"));
}
}*/
if ($("#remembermeParam").val() == 'true') {
document.getElementById("rememberme").checked = true;
loadDynamiciframe();
} else {
document.getElementById("rememberme").checked = false;
loadDynamiciframe();
}
var usernameParam = '';
var usernameSession = null;
var errorMessage = 'Vous avez d\u00E9j\u00E0 un compte. Veuillez utiliser les fonctionnalit\u00E9s de mot de passe pour cr\u00E9er votre mot de passe.';
var errorParam = '';
if (errorParam != '') {
//changes the parent location if this is in an innerFrame.
changeParentLocIfInnerFrame();
$(".errorcommon").text(errorParam);
$(".errorcommon").addClass("errorcommonshow");
/* if(cpCmProperties() != null){
var exploreAttrParams=new Array();
exploreAttrParams[16]='Email';
exploreAttrParams[17]=$("#username").val();
if(reqParamTarget == "account") {
tagElement("ACCOUNT: LOGIN","FORM ERRORS",cpCmProperties(exploreAttrParams,"ElementTag"));
}else {
tagElement("CHECKOUT: LOGIN","FORM ERRORS",cpCmProperties(exploreAttrParams,"ElementTag"));
}
}
if(cpCmProperties() != null) {
var exploreAttrParams = new Array();
exploreAttrParams[16]='Password';
exploreAttrParams[17]=$("#password").val();
if(reqParamTarget == "account") {
tagElement("ACCOUNT: LOGIN","FORM ERRORS",cpCmProperties(exploreAttrParams,"ElementTag"));
} else {
tagElement("CHECKOUT: LOGIN","FORM ERRORS",cpCmProperties(exploreAttrParams,"ElementTag"));
}
} */
return false;
}
if (usernameParam != '') {
$("#username").val($.trim(usernameParam));
} else if (usernameSession != null && usernameSession != '') {
$("#username").val($.trim(usernameSession));
$(".errorcommon").text(errorMessage);
$(".errorcommon").addClass("errorcommonshow");
loadDynamiciframe();
}
}
$(document).ready(function(){
$("#usernameCookieLink").hide();
setUserNameFromCookie();
//$(".rememberme").hide();
afterJSDownload();
var errorParam = '';
if (errorParam != '') {
utag_data.event = "FORM ERRORS";
utag_data.form_name = "LOGIN";
utag_data.form_error = formError;
}
});
function loadDynamiciframe() {
try {
pm({
target: window.parent,
type: "change_sso_frame_height",
data: {"height":jQuery('#main').outerHeight()}
});
} catch(e) {
}
}
$( window ).resize(function() {
loadDynamiciframe();
});
$(window).load(function() {
loadDynamiciframe();
});
/*]]>*/
</script>
<script src="/web/content/web/eCom/js/placeholder.min.js"></script>
<script src="/web/content/js/jquery.cookie.js"></script>
</body></html> |
Partager