This commit is contained in:
parent
3218e7e684
commit
bb37522121
3 changed files with 10 additions and 10 deletions
|
@ -1 +1 @@
|
|||
Tue Oct 8 15:25:00 UTC 2024
|
||||
Tue Oct 8 15:30:30 UTC 2024
|
||||
|
|
BIN
join.fr.mo
BIN
join.fr.mo
Binary file not shown.
|
@ -104,10 +104,10 @@ mathspamtrap = document.getElementById("math-spam-trap").value; var
|
|||
agreetoterms = document.getElementById("agree-to-terms").checked; var email
|
||||
= document.getElementById("email").value; if(!agreetoterms) {
|
||||
alert("Registration requires agreement of Code of Conduct"); return false; }
|
||||
if(!email) { alert("Email cannot be empty"); return false; } if(mathspamtrap
|
||||
!= "9") { alert("Wrong math answer"); return false; } if(await
|
||||
checkDuplicate(email) === true) { alert("This email address has already
|
||||
requested an account"); return false; } var name =
|
||||
if(!email) { alert("Courriel ne peut pas être vide"); return false; }
|
||||
if(mathspamtrap != "9") { alert("Mauvaise réponse mathématique"); return
|
||||
false; } if(await checkDuplicate(email) === true) { alert("Ce courriel a
|
||||
déjà fait une demande de compte"); return false; } var name =
|
||||
document.getElementById("name").value; var name = name.replace (/^/,'Name:
|
||||
'); var aboutme = document.getElementById("about-me").value; var aboutme =
|
||||
aboutme.replace (/^/,'About me: '); var aboutme = aboutme.replace(/\r?\n/g,
|
||||
|
@ -121,11 +121,11 @@ baseurl.concat("&title=", email, "&description=", description);
|
|||
console.log('Description:', description); fetch(url, { method: 'POST',
|
||||
headers: { 'PRIVATE-TOKEN': 'glpat-RaoZSW_3XMhkGr19k6Wv', 'Content-Type':
|
||||
'application/json', }, }) .then(response => response.json()) .then(result
|
||||
=> { console.log('Success:', result); alert("Request submitted. A working
|
||||
group member will process your registration shortly. If you receive no
|
||||
contact within seven days of registration, please send an email to
|
||||
support@ilot.io"); }) .catch(error => { console.error('Error:', error) });
|
||||
}
|
||||
=> { console.log('Success:', result); alert("Demande soumise. Un membre du
|
||||
groupe de travail traitera votre inscription dans les plus brefs délais. Si
|
||||
vous n'êtes pas contacté dans les sept jours suivant votre inscription,
|
||||
veuillez envoyer un courriel à support@ilot.io."); }) .catch(error => {
|
||||
console.error('Error:', error) }); }
|
||||
</script>
|
||||
|
||||
<header class="text-center">
|
||||
|
|
Loading…
Add table
Reference in a new issue