Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Marcus Andersson
aurweb
Commits
31083dc1
Commit
31083dc1
authored
Feb 08, 2011
by
Lukas Fleischer
Browse files
Show submitter in package details (fixes FS#15488).
Signed-off-by:
Lukas Fleischer
<
archlinux@cryptocrack.de
>
parent
e3bde91f
Changes
1
Hide whitespace changes
Inline
Side-by-side
web/template/pkg_details.php
View file @
31083dc1
...
...
@@ -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&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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment