X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fjavascript%2Fdo_challenge_response.js;h=77ad25347edaf703982efa8434e9027c02f12e47;hb=ad5091f25bd1aa18c1c8e84832147ff1b466d416;hp=8120894348ca8b167802288a6b3930259a4b72ef;hpb=e613b04c5ad24b2369581f8f94a84fb435d7d4cd;p=platal.git diff --git a/htdocs/javascript/do_challenge_response.js b/htdocs/javascript/do_challenge_response.js index 8120894..77ad253 100644 --- a/htdocs/javascript/do_challenge_response.js +++ b/htdocs/javascript/do_challenge_response.js @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2003-2006 Polytechnique.org * + * Copyright (C) 2003-2008 Polytechnique.org * * http://opensource.polytechnique.org/ * * * * This program is free software; you can redistribute it and/or modify * @@ -34,7 +34,7 @@ function correctUserName() { // jean paul dupont -> jean-paul.dupont if (mots.length == 3 && mots[0].toUpperCase() == 'JEAN') { u.value = mots[0]+"-"+mots[1]+"."+mots[2]; return true; } - alert('Ton email ne doit pas contenir de blanc.\nLe format standard est\n\nprenom.nom.promotion\n\nSi ton nom ou ton prenom est composé,\nsépare les mots par des -'); + alert('Ton email ne doit pas contenir de blanc.\nLe format standard est\n\nprenom.nom.promotion\n\nSi ton nom ou ton prenom est composé,\nsépare les mots par des -'); return false; } @@ -59,3 +59,4 @@ function doChallengeResponse() { document.forms.loginsub.submit(); } +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: