X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b04f76050d54c67844d5d4026993f6fab0edeae5..83209975037c6fadba1fd0555e37e95c17fe6099:/issue/index.php?ds=sidebyside diff --git a/issue/index.php b/issue/index.php index 8c58f41..0c18142 100644 --- a/issue/index.php +++ b/issue/index.php @@ -1,11 +1,11 @@ path, '/')); if ($id and ctype_digit($id)) { $Page->title = "Issue #$id"; - $Page->path = "/$id"; # minimal reference + $Page->link = $Page->handler . ($Page->path = "/$id"); # minimal reference $Issue = $Db->query( 'SELECT * FROM issues WHERE page = ? AND id = ?', [$Page->handler, $id] )->fetch(); @@ -16,6 +16,7 @@ if ($id and ctype_digit($id)) { $Page->title .= ': '.htmlspecialchars($Issue->subject); $Page->teaser = $Issue->body; $Page->body = $replies; # find image + if ($Page->api) return; print "

{$Page->title}

\n"; print '