X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/087428a7f2e31e2d9269084ba2a2f3b114a8c8d7..dde4370bbccc727390ced098abfed22cfbab6534:/nieuws/index.php diff --git a/nieuws/index.php b/nieuws/index.php index bbc002a..51cab26 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -1,9 +1,9 @@ 999) { + $match = "$Page/$year/"; + if (is_numeric($page)) { + $title .= ' '.$monthname[intval($page)]; + $match .= sprintf('%02d-', $page); + } + $title .= ' '.$year; } - else { - $title = "Nieuws vóór 2000"; - $match = "$Page/19??/??"; + elseif ($year === '19') { + $match = "$Page/19??/"; + $title .= " vóór 2000"; } print "