X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/20ead233cabc8fefcd86bd99f08dadc261669300..dcb2ed9fe57d7562633916f98034ade1d0ab0ade:/login/index.php diff --git a/login/index.php b/login/index.php index 8b4c223..c7d705d 100644 --- a/login/index.php +++ b/login/index.php @@ -39,6 +39,17 @@ if (empty($User)) { ob_clean(); require_once 'login/form.inc.php'; $Place['warn'] = $message; + $Place['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; + } + } + } return TRUE; }