From 2b3d6d7026ca2090f792a4e4e06af5131a58aa18 Mon Sep 17 00:00:00 2001 From: Markus Date: Sun, 19 Aug 2018 15:33:10 +0200 Subject: [PATCH] Add info pages for individual events --- src/pvv/side/simpleevent.php | 2 +- www/hendelser/index.php | 1 - www/hendelser/info.php | 61 ++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 www/hendelser/info.php diff --git a/src/pvv/side/simpleevent.php b/src/pvv/side/simpleevent.php index b8d3aec..10fd006 100644 --- a/src/pvv/side/simpleevent.php +++ b/src/pvv/side/simpleevent.php @@ -41,7 +41,7 @@ class SimpleEvent extends Event { } public function getURL() { - return ''; + return ('/hendelser/info.php?id=' . $this->id); } public function getImageURL() { diff --git a/www/hendelser/index.php b/www/hendelser/index.php index d2435ee..eacc177 100644 --- a/www/hendelser/index.php +++ b/www/hendelser/index.php @@ -16,7 +16,6 @@ $translation = ['I dag', 'I morgen', 'Denne uka', 'Neste uke', 'Denne måneden',
Hendelses­verk­stedet
-