From 9d7a0d686fbb96757208a77dc475c0010b1213da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rn=20=C3=85ne?= Date: Fri, 26 Aug 2016 23:30:32 +0200 Subject: [PATCH] Improve limit calculation for Social page. --- www/sosiale/index.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/www/sosiale/index.php b/www/sosiale/index.php index 7b65e30..f4b6978 100644 --- a/www/sosiale/index.php +++ b/www/sosiale/index.php @@ -28,11 +28,17 @@ $agenda = new \pvv\side\Agenda([
- + getNextOfEach(new \DateTimeImmutable) as $event) { ?>
-

getRelativeDate() ?> getName() ?>

+

+ getImageURL()) { ?> + + + getRelativeDate() ?> + getName() ?> +

  • Tid: getStart()->getTimeStamp())) ?>
  • Sted: getLocation() ?> @@ -40,13 +46,13 @@ $agenda = new \pvv\side\Agenda([
getDescription(); ?> - +

\n

") ?>

PĂ„minn meg

- 4) {$limit = 4;} else $limit = 2; ?> + 4) {$limit = 4;} else $limit = 2; ?>