X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/087428a7f2e31e2d9269084ba2a2f3b114a8c8d7..b95195ed4540a07ac0f31c363101698ada841d67:/nieuws/index.php 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('

%s

'."\n", $page, $year); - printtoc("$page/??"); + printtoc($page); } -if ($pages = glob("$Page/19??/??/*.html")) { +if ($pages = glob("$Page/19??/*.html")) { printf('

%s

'."\n", "$Page/oud", 'Eerder'); printtoc($pages); }