X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/1150da9a36d521bcff52ff08b784f7a5608aa5fa..a6e2e74ced2c2a0aa816b2002c5d7d037b45f436:/nieuws/index.php diff --git a/nieuws/index.php b/nieuws/index.php index 1a52011..4ffaa23 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -11,10 +11,11 @@ if (!empty($User['admin'])) { if ($page and !is_numeric($page)) { $edit = !empty($User['admin']) ? htmlspecialchars(@$_GET['edit']) : NULL; $article = new ArchiveArticle("$Page$Args.html"); + $Place['title'] = $edit ?: $article->title; $Place[1] = ' '.$article->date.''; print preg_replace('{(?<=
Tags: %s
\n", - implode("\n\t", $taglist) - ); + if ($taglist) { + printf(' '."\n", + implode("\n\t", $taglist) + ); + } } if ($replyform) { print placeholder_include('nieuws/replies');