From 31083dc12dc0dee641169a4b6bc0648576f69ad0 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 8 Feb 2011 18:38:13 +0100 Subject: Show submitter in package details (fixes FS#15488). Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index c1c3e96f..16980a9d 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -24,6 +24,16 @@ else { $edit_cat = "Category: ".$row['Category']; } +if ($row["SubmitterUID"]) { + $submitter = username_from_id($row["SubmitterUID"]); + if ($SID) { + $submitter = '' . $submitter . ''; + } + +} else { + $submitter = "None"; +} + if ($row["MaintainerUID"]) { $maintainer = username_from_id($row["MaintainerUID"]); if ($SID) { @@ -61,6 +71,7 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[


+

-- cgit v1.2.3-24-g4f1b