Commit 31083dc1 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Show submitter in package details (fixes FS#15488).


Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
parent e3bde91f
......@@ -24,6 +24,16 @@ else {
$edit_cat = "Category: ".$row['Category'];
}
if ($row["SubmitterUID"]) {
$submitter = username_from_id($row["SubmitterUID"]);
if ($SID) {
$submitter = '<a href="account.php?Action=AccountInfo&amp;ID=' . $row['SubmitterUID'] . '">' . $submitter . '</a>';
}
} 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[
<p>
<span class='f3'><?php echo $edit_cat ?></span><br />
<span class='f3'><?php echo __('Submitter') .': ' . $submitter ?></span><br />
<span class='f3'><?php echo __('Maintainer') .': ' . $maintainer ?></span><br />
<span class='f3'><?php echo $votes ?></span>
</p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment