X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/1a9bcec664787509cfa7ac83a2570e7090add55a..df00ab2b9618c2ae1038c643b01b05d443368ee9:/nieuws/index.php?ds=sidebyside diff --git a/nieuws/index.php b/nieuws/index.php index cdb3892..b54d5bd 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -13,16 +13,17 @@ if ($page and !is_numeric($page)) { $Place['image'] = "https://lijtweg.nl/".$article->thumb('600x'); } if ($replyform) { - include 'nieuws/replies.php'; + print placeholder_include('nieuws/replies'); } return 1; } if ($year) { ob_clean(); + $match = $Page; $title = "Nieuws"; if (is_numeric($year) and $year > 999) { - $match = "$Page/$year/"; + $match .= "/$year"; if (is_numeric($page)) { $title .= ' '.$monthname[intval($page)]; $match .= sprintf('%02d-', $page); @@ -30,48 +31,15 @@ if ($year) { $title .= ' '.$year; } elseif ($year === '19') { - $match = "$Page/19??/"; + $match .= "/19??"; $title .= " vóór 2000"; } print "