Name the requested page before login, so it can be read by external sites
such as in Whatsapp or Facebook links. Assume titles do not contain restricted
details and may be retrieved freely.
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;
}