X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/087428a7f2e31e2d9269084ba2a2f3b114a8c8d7..a2c83a578e6cc08c477121e958f9ed4859797550:/nieuws/index.php?ds=inline
diff --git a/nieuws/index.php b/nieuws/index.php
index bbc002a..05c995a 100644
--- a/nieuws/index.php
+++ b/nieuws/index.php
@@ -1,9 +1,9 @@
$title\n\n";
print '
'."\n\n";
- shownews($match);
+ 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);
}