nieuws: call placeholder for year lists
[minimedit.git] / nieuws.php
index 6bf66160fa594a6c56d24da89b3eaf93a176adc0..7127a545332171b144ebdb457396e5c1e38a5330 100644 (file)
@@ -1,4 +1,9 @@
 <?php
 include_once 'nieuws.inc.php';
-$articles = (ltrim($Args, '/') ?: 'nieuws') . '/????';
+$articles = (ltrim($Args, '/') ?: 'nieuws');
+if (strpos($articles, '/') === FALSE) {
+       $articles .= '/????';
+}
+ob_start();
 shownews($articles, @$Place['n'] ?: 5);
+print getoutput();