X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/e6d26c20628195fde6f3edfb31e5db8d31551adf..f46f7a3b080b947af711ab35601c26f6423cbe8b:/nieuws/index.php?ds=inline 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('{(?<=