X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/882347cba815e99ba8e7ad28d077420aa986e7c5..0275acd4a61e80020aa589b21f82ea9cdc711859:/login/index.php diff --git a/login/index.php b/login/index.php index 9ebc4cb..5cfbded 100644 --- a/login/index.php +++ b/login/index.php @@ -39,15 +39,12 @@ if (empty($User)) { ob_clean(); require_once 'login/form.inc.php'; $Place['warn'] = $message; - $Place['title'] = 'Inloggen'; + $Article->title = 'Inloggen'; if (isset($_REQUEST['goto'])) { - require_once 'nieuws.inc.php'; $target = ltrim($_REQUEST['goto'], '/'); $target = new ArchiveArticle("$target.html"); - if ($target->file) { - if ($target->title) { - $Place['title'] .= ' voor ' . $target->title; - } + if ($target->title) { + $Article->title .= ' voor ' . $target->title; } } return TRUE;