Assimilate hendelser into the new standard

This commit is contained in:
Markus Wang Halvorsen 2018-02-24 17:56:42 +01:00
parent ebe3ce0e1e
commit 5412414ce1
1 changed files with 40 additions and 40 deletions

View File

@ -5,17 +5,18 @@ $translation = ['I dag', 'I morgen', 'Denne uka', 'Neste uke', 'Denne måneden',
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="no"> <html lang="no">
<head>
<title>Hendelsesverkstedet</title> <title>Hendelsesverkstedet</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<link rel="stylesheet" href="../css/normalize.css"> <link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/style.css"> <link rel="stylesheet" href="../css/style.css">
<link rel="stylesheet" href="../css/events.css"> <link rel="stylesheet" href="../css/events.css">
</head>
<header>Hendelses&shy;verk&shy;stedet</header> <body>
<main> <main>
<article> <h2>Hendelser</h2>
<?php <?php
$description_paragraphs = 1; //description length $description_paragraphs = 1; //description length
@ -38,18 +39,17 @@ foreach($agenda->getNextDays() as $period => $events) {
<p><?= implode($description, "<br>") ?></p> <p><?= implode($description, "<br>") ?></p>
<ul class="subtext"> <ul class="subtext">
<li>Tid: <strong><?= Agenda::getFormattedDate($event->getStart()) ?></strong> <li>Tid: <strong><?= Agenda::getFormattedDate($event->getStart()) ?></strong></li>
<li>Sted: <strong><?= $event->getLocation() ?></strong> <li>Sted: <strong><?= $event->getLocation() ?></strong></li>
<li>Arrangør: <strong><?= $event->getOrganiser() ?></strong> <li>Arrangør: <strong><?= $event->getOrganiser() ?></strong></li>
</ul> </ul>
</li>
<?php } ?> <?php } ?>
</ul> </ul>
<?php } ?> <?php } ?>
<?php } ?> <?php } ?>
</article>
</main> </main>
</body>
<nav> <nav>
<?= navbar(1, 'hendelser'); ?> <?= navbar(1, 'hendelser'); ?>