tel_type can't be null.
[platal.git] / include / reminder / no_redirection.inc.php
index 9555959..dd936fa 100644 (file)
@@ -28,13 +28,21 @@ class ReminderNoRedirection extends Reminder
         }
     }
 
-    protected function GetDisplayText() {}
-
-    public function Display(&$page)
+    public function template()
+    {
+        return 'reminder/no_redirection.tpl';
+    }
+    public function title()
+    {
+        return "Problème avec ta redirection d'emails";
+    }
+    public function warning()
+    {
+        return true;
+    }
+    public function info()
     {
-        header('Content-Type: text/html; charset=utf-8');
-        $page->changeTpl('reminder/no_redirection.tpl', NO_SKIN);
-        $page->assign('baseurl', $this->GetBaseUrl());
+        return 'Xorg/MesAdressesDeRedirection';
     }
 
     public static function IsCandidate(User &$user, $candidate)