X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/772961fd4e9be46ad340cad1e55ee5f28cc5b968..467fdea52c27dcf01e79cb96068134403afff660:/nieuws/index.php diff --git a/nieuws/index.php b/nieuws/index.php index 0840015..f6e63a4 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -13,10 +13,10 @@ if ($page and !is_numeric($page)) { $Page->title = $edit; } if ($Page->dateparts) { - $Place[1] = ' '.$Page->date.''; + $Page->place[1] = ' '.$Page->date.''; } else { - $Place[1] = ''; + $Page->place[1] = ''; } print preg_replace('{(?<=

)(.*?)(?=

)}', ($edit ?: '\1').' [[1]]', $Page->raw); if ($User->admin("edit {$Page->link}")) { @@ -41,7 +41,7 @@ if ($page and !is_numeric($page)) { } } if ($replyform) { - print placeholder_include('reply'); + print $Page->widget('reply'); } return; } @@ -67,6 +67,6 @@ if ($year) { } print "

$title

\n\n"; - print placeholder_include('nieuws', [$match]); + print $Page->widget('nieuws', [$match]); return; }