From: Mischa POSLAWSKY Date: Mon, 26 Nov 2018 18:19:25 +0000 (+0100) Subject: nieuws: toc option to prepend images X-Git-Tag: v3.9~21 X-Git-Url: http://git.shiar.nl/minimedit.git/commitdiff_plain/1428caff970f73f026f1467c7741798ca7c9272c nieuws: toc option to prepend images Show yearly archive as gallery. --- diff --git a/nieuws.inc.php b/nieuws.inc.php index 1565c63..40313e4 100644 --- a/nieuws.inc.php +++ b/nieuws.inc.php @@ -130,14 +130,24 @@ function shownews($input, $limit = 1000) } } -function printtoc($input) +function printtoc($input, $class = FALSE) { if (!is_array($input)) $input = glob("$input/*.html"); - print '