X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/e6d26c20628195fde6f3edfb31e5db8d31551adf..d36426d95814cc0a5361c1310adbaff064d9b6f7:/nieuws/index.php diff --git a/nieuws/index.php b/nieuws/index.php index 18f4466..71048d5 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -11,10 +11,12 @@ 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['description'] = $article->teaser; $Place[1] = ' '.$article->date.''; print preg_replace('{(?<=