| ||||||||||||||
| ||||||||||||||
| newAdmin | Fin correcte de la requête Demande d'inscription professionnel | ||||||
| Syntaxe | Finer() | ||||||
| Paramètres |
| ||||||
| Fonctions util. | Néant |
| Code Perl |
sub Finer {
if ($wwAppel=~/new1/) {
local $msg = "Votre demande a été correctement prise en compte.";
print "Content-type: text/html\n\n<html>\n<head>\n<title></title>\n</head>\n<body onLoad=\"alert(\'".$msg."\'); window.location.replace(\'../..\')\">\n \n</body>\n</html>\n";
} else {
print "Content-type: text/html\n\n<html>\n<head>\n<title></title>\n</head>\n<body onLoad=\"window.parent.base.sendErrer(\'".$wwMsg."\')\">\n \n</body>\n</html>\n";
}
}
|
| Code JavaScript |
function Finer() {
if (wwAppel.match(/new1/)) {
var msg = "Votre demande a été correctement prise en compte.";
eval("alert(\'"+msg+"\'); window.parent.client.location.replace(\'client-index.html\')");
} else {
with(window.parent.client.erreur) {with(window.document) {
window.parent.base.sendErrer(wwMsg[0]);
}}
}
}
|