/***************************************************************************
- * Copyright (C) 2003-2007 Polytechnique.org *
+ * Copyright (C) 2003-2008 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
}
}
-function sendTestEmail(forlife)
+function sendTestEmail(token, forlife)
{
- Ajax.update_html(null, 'emails/test' + (forlife == null ? '' : '/' + forlife),
+ Ajax.update_html(null, 'emails/test' + (forlife == null ? '' : '/' + forlife) + '?token=' + token,
function() {
showTempMessage('mail_sent', "Un mail a été envoyé avec succès"
+ (forlife == null ? " sur ton adresse." : " sur l'adresse de " + forlife),