File src/www/admin/email.php artifact 0a473d143d part of check-in 07c00c16ddfde3e303856cdb65fd4ce3d2737cdd
<?php namespace Garradin; require_once __DIR__ . '/../../include/init.php'; $tpl = Template::getInstance(); if (!empty($_GET['optout'])) { $email = new Email; $email->setRejectedStatus($_GET['optout'], $email::REJET_OPTOUT, 'Demande de désinscription'); $tpl->assign('title', 'Confirmation'); $tpl->assign('error', 'Votre adresse a bien été désinscrite, vous ne recevrez plus de messages de notre part.'); } $tpl->display('error.tpl');