| ||||||||||||||
| ||||||||||||||
| mailAdmin | Fin correcte de la requête Demande de codes professionnel | ||||||
| Syntaxe | Finer() | ||||||
| Paramètres |
| ||||||
| Fonctions util. | Néant |
| Code Perl |
sub Finer {
if ($wwAppel=~/mail1/) {
print "Content-type: text/html\n\n<html>\n<head>\n<title></title>\n</head>\n<body onLoad=\"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(/mail1/)) {
window.parent.client.location.replace("client-index.html");
} else{
with(window.parent.client.erreur) {with(window.document) {
window.parent.base.sendErrer(wwMsg[0]);
}}
}
}
|