X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Freminder.inc.php;h=346d97e1d2185e2051418a14123c3697c7156be3;hb=a87530eada179ec7a5eea8a6238ede8c1d442e52;hp=bc1334bd059cb6b9464156c1bd85e7ef33b663db;hpb=02d5e4dc5ff6477ba2430cd08492e351e65cd234;p=platal.git diff --git a/include/reminder.inc.php b/include/reminder.inc.php index bc1334b..346d97e 100644 --- a/include/reminder.inc.php +++ b/include/reminder.inc.php @@ -1,6 +1,6 @@ changeTpl('reminder/notification.tpl', NO_SKIN); $page->assign('previous_reminder', $this->title()); } @@ -114,7 +114,7 @@ abstract class Reminder // when the reminder is the only output of a page. public function DisplayStandalone(&$page, $previous_reminder = null) { - header('Content-Type: text/html; charset=utf-8'); + pl_content_headers("text/html"); $page->changeTpl('reminder/base.tpl', NO_SKIN); $this->Prepare($page); if ($previous_reminder) { @@ -148,6 +148,9 @@ abstract class Reminder return 'ajax/reminder/' . $this->name; } + // Returns the url for the information page. + public function info() { return ''; } + // Static status update methods ------------------------------------------- // Marks the candidate reminder as having been accepted for user |user_id|.