X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder%2Femail_warning.inc.php;h=1b8f90179903ecbcae0b0135a1d62334a675b8a2;hb=b6ba1a0417b6fc73f3d1701146373b4bec0d1428;hp=f20cdb56d09b0a99ed009961d8f504cd4683ce61;hpb=8230e9f8eff954fb1103c8bdcf0d22557d419ae7;p=platal.git diff --git a/include/reminder/email_warning.inc.php b/include/reminder/email_warning.inc.php index f20cdb5..1b8f901 100644 --- a/include/reminder/email_warning.inc.php +++ b/include/reminder/email_warning.inc.php @@ -28,13 +28,17 @@ class ReminderEmailWarning extends Reminder } } - protected function GetDisplayText() {} - - public function Display(&$page) + public function template() + { + return 'reminder/email_warning.tpl'; + } + public function title() + { + return "Problème avec ta redirections d'emails"; + } + public function warning() { - header('Content-Type: text/html; charset=utf-8'); - $page->changeTpl('reminder/email_warning.tpl', NO_SKIN); - $page->assign('baseurl', $this->GetBaseUrl()); + return true; } public static function IsCandidate(User &$user, $candidate)