X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/fe92ec8f17c832c4a663aea399dc90a4c09ce6b1..a8043eb39a6d27156f7166cc5b2bf405dc8ea180:/nieuws/index.php?ds=sidebyside
diff --git a/nieuws/index.php b/nieuws/index.php
index b28f72b..05c995a 100644
--- a/nieuws/index.php
+++ b/nieuws/index.php
@@ -1,9 +1,9 @@
$title\n\n";
print '
'."\n\n";
- shownews($match, 100);
+ shownews(glob($match.'*.html'));
print "
\n\n";
return 1;
}
@@ -38,10 +37,10 @@ print ''."\n\n";
foreach (array_reverse(glob("$Page/2???")) as $page) {
$year = basename($page, '.html');
printf('
'."\n", $page, $year);
- printtoc("$page/??");
+ printtoc($page);
}
-if ($pages = glob("$Page/19??/??/*.html")) {
+if ($pages = glob("$Page/19??/*.html")) {
printf('
'."\n", "$Page/oud", 'Eerder');
printtoc($pages);
}