aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authorMaZderMind2015-04-06 15:03:38 +0200
committerMaZderMind2015-04-06 15:03:38 +0200
commitfd374f8b627bde637112cd90aee92e5c84301bbf (patch)
treec6b95970abaf8baadf3a5472cc1a8b7ee128da21 /view
parentc7c528ba8787acbdc4ba84d71cf6c4e502e57e68 (diff)
Show all upcoming Events in closed View
Diffstat (limited to 'view')
-rw-r--r--view/closed.php4
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,
));