Ajout des modules initiaux
darcs-hash:20070124114812-f46e9-171ef12f1e1b89ae005adf4aab6f6535fb9289e6.gz
This commit is contained in:
parent
8713311bc1
commit
ed3ab40ccd
80 changed files with 4852 additions and 5 deletions
41
intranet/modules/monCompte/static/moncompte.js
Normal file
41
intranet/modules/monCompte/static/moncompte.js
Normal file
|
@ -0,0 +1,41 @@
|
|||
function askForName(oldName) {
|
||||
var c = '';
|
||||
while ( c == '')
|
||||
c = prompt("Votre nom :",oldName);
|
||||
if (c == null)
|
||||
return false;
|
||||
else
|
||||
window.location.href= 'changeNomAdherent?nouveauNom=' + c;
|
||||
}
|
||||
|
||||
|
||||
function askForSurname(oldSurname) {
|
||||
var c = '';
|
||||
while ( c == '')
|
||||
c = prompt("Votre prénom :",oldSurname);
|
||||
if (c == null)
|
||||
return false;
|
||||
else
|
||||
window.location.href= 'changePrenomAdherent?nouveauPrenom=' + c;
|
||||
}
|
||||
|
||||
function askForTel(oldTel) {
|
||||
var c = '';
|
||||
while ( c == '')
|
||||
c = prompt("Votre numéro de téléphone :",oldTel);
|
||||
if (c == null)
|
||||
return false;
|
||||
else
|
||||
window.location.href= 'changeTelAdherent?nouveauTel=' + c;
|
||||
}
|
||||
|
||||
|
||||
function newAlias() {
|
||||
var c = '';
|
||||
while ( c == '')
|
||||
c = prompt("Nouvel alias :");
|
||||
if (c == null)
|
||||
return false;
|
||||
else
|
||||
window.location.href= 'newAlias?alias=' + c + "#mailTab";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue