diff options
author | MaZderMind | 2015-04-06 15:03:38 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-06 15:03:38 +0200 |
commit | fd374f8b627bde637112cd90aee92e5c84301bbf (patch) | |
tree | c6b95970abaf8baadf3a5472cc1a8b7ee128da21 /view/closed.php | |
parent | c7c528ba8787acbdc4ba84d71cf6c4e502e57e68 (diff) |
Show all upcoming Events in closed View
Diffstat (limited to '')
-rw-r--r-- | view/closed.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/closed.php b/view/closed.php index e1b126c..3346aad 100644 --- a/view/closed.php +++ b/view/closed.php @@ -1,10 +1,12 @@ <?php $upcoming = new Upcoming(); +$events = $upcoming->getNextEvents(); echo $tpl->render(array( 'page' => 'closed', 'title' => 'See you soon … somewhere else!', - 'upcoming' => $upcoming->getNextEvent(), + 'next' => @$events[0], + 'events' => $events, )); |