From 176e85a6f5d6274e96a175d57b007c7afe677299 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 20 Oct 2019 06:16:49 +0200 Subject: [PATCH] issue: display ticket creation date --- issue/index.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/issue/index.php b/issue/index.php index 2c50624..6b1c3dc 100644 --- a/issue/index.php +++ b/issue/index.php @@ -14,9 +14,15 @@ if ($id) { $Article->title .= ': '.htmlspecialchars($row->subject); print "

{$Article->title}

\n"; print $row->body; + printf('

%s%s %s

'."\n", + 'Geplaatst', + $row->author ? " door {$row->author}" : '', + showdate(preg_split('/\D/', $row->created)) + ); if ($row->closed) { - printf('

%s %s

'."\n", - 'Opgelost', showdate(preg_split('/\D/', $row->closed)) + printf('

%s%s %s

'."\n", + 'Opgelost', '', + showdate(preg_split('/\D/', $row->closed)) ); } $Args = "/$id"; # minimal reference -- 2.30.0