X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder%2Femail_warning.inc.php;h=1b8f90179903ecbcae0b0135a1d62334a675b8a2;hb=2a3f4f5730d9b23564ab6ef8f94d0a0a2ddf888d;hp=f20cdb56d09b0a99ed009961d8f504cd4683ce61;hpb=64087a3430249f84d999be01219697c925c5c7f7;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)