X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/23d1415e31c8cb5db2756959e8951ca5f28c476d..6793210f7eeaadd0c0906173846a1b87d8fb0754:/issue/index.php diff --git a/issue/index.php b/issue/index.php index d07a786..419156f 100644 --- a/issue/index.php +++ b/issue/index.php @@ -14,9 +14,10 @@ if ($id) { $Article->title .= ': '.htmlspecialchars($Issue->subject); print "

{$Article->title}

\n"; print $Issue->body; + $author = $Issue->author ? new User('profile/'.$Issue->author, FALSE) : NULL; printf('

%s%s %s

'."\n", 'Geplaatst', - $Issue->author ? " door {$Issue->author}" : '', + $author ? " door {$author->name}" : '', showdate(preg_split('/\D/', $Issue->created)) ); if ($Issue->assign) { @@ -60,11 +61,12 @@ $query = $Db->query($sql, [$Page]); ob_start(); print '