diff options
author | MaZderMind | 2016-08-21 15:57:39 +0200 |
---|---|---|
committer | MaZderMind | 2016-08-21 15:58:01 +0200 |
commit | 913881497ed83503b461d0b554d62d330757f006 (patch) | |
tree | ce99d169961dc7b48cd8236de03155ed73af257c | |
parent | 61773c808c4f058ac41a78cfcce96456ccd80a4b (diff) |
refresh schedule-view regularly
-rw-r--r-- | template/page.phtml | 4 | ||||
-rw-r--r-- | view/schedule.php | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/template/page.phtml b/template/page.phtml index 73a12ad..3969c12 100644 --- a/template/page.phtml +++ b/template/page.phtml @@ -18,6 +18,10 @@ <meta name="robots" content="index,follow" /> + <? if(isset($refresh)): ?> + <meta http-equiv="refresh" content="<?=h($refresh)?>; URL=<?=h($canonicalurl)?>" /> + <? endif ?> + <? if($conference->hasAuthor()): ?> <meta name="author" content="<?=h($conference->getAuthor())?>" /> <? endif ?> diff --git a/view/schedule.php b/view/schedule.php index 776536b..4b2746d 100644 --- a/view/schedule.php +++ b/view/schedule.php @@ -4,5 +4,6 @@ echo $tpl->render(array( 'page' => 'schedule', 'title' => 'Schedule-Übersicht', + 'refresh' => 15*60, 'schedule' => new Schedule(), )); |