X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/159ee0f3d812c9681a00c37f6a2bcaf8a1de83bc..10356b51f95050d0aec0cd1807d5ba1ec46d475a:/issue/index.php?ds=sidebyside diff --git a/issue/index.php b/issue/index.php index 82fa39e..cefe00f 100644 --- a/issue/index.php +++ b/issue/index.php @@ -5,34 +5,36 @@ require_once 'database.inc.php'; if ($id and ctype_digit($id)) { $Article->title = "Issue #$id"; - + $Args = "/$id"; # minimal reference $Issue = $Db->query( 'SELECT * FROM issues WHERE page = ? AND id = ?', [$Page, $id] )->fetch(); if (!$Issue) throw new Exception('Issuenummer niet gevonden'); + $replies = placeholder_include('reply'); # handle updates + $Article->title .= ': '.htmlspecialchars($Issue->subject); print "
%s%s %s
'."\n", - 'Geplaatst', - $author ? " door {$author->html}" : '', - showdate(preg_split('/\D/', $Issue->created)) - ); + print "%s aan %s
'."\n", - 'Toegewezen', htmlspecialchars($Issue->assign) - ); + print '%s%s %s
'."\n", - 'Opgelost', '', - showdate(preg_split('/\D/', $Issue->closed)) - ); + print '