aboutsummaryrefslogtreecommitdiff
path: root/view/allclosed.php
diff options
context:
space:
mode:
authorVOC2015-11-13 19:48:45 +0100
committerVOC2015-11-13 19:48:45 +0100
commit92f4fa13749566f6c4378f2c9e80774e8320b825 (patch)
treef17c6da85da6edba9c7be10138687518ee534d50 /view/allclosed.php
parent32fd126b3fa937389efd1457e9d05daff9f3b347 (diff)
parent29af764323dc474c14e05985eeabd3a06ef19c86 (diff)
Merge branch 'mandators'
Diffstat (limited to '')
-rw-r--r--view/allclosed.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/allclosed.php b/view/allclosed.php
new file mode 100644
index 0000000..869cbc1
--- /dev/null
+++ b/view/allclosed.php
@@ -0,0 +1,12 @@
+<?php
+
+$upcoming = new Upcoming();
+$events = $upcoming->getNextEvents();
+
+echo $tpl->render(array(
+ 'page' => 'allclosed',
+ 'title' => 'See you soon … somewhere else!',
+
+ 'next' => @$events[0],
+ 'events' => $events,
+));