projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prevents warnings in flags template.
[platal.git]
/
include
/
reminder
/
no_redirection.inc.php
diff --git
a/include/reminder/no_redirection.inc.php
b/include/reminder/no_redirection.inc.php
index
9555959
..
863119f
100644
(file)
--- a/
include/reminder/no_redirection.inc.php
+++ b/
include/reminder/no_redirection.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-20
09
Polytechnique.org *
+ * Copyright (C) 2003-20
10
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-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)
}
public static function IsCandidate(User &$user, $candidate)