committed dsa's user stats and user links patch

this will require some translation updates
This commit is contained in:
pjmattal 2006-08-10 01:42:35 +00:00
parent 1e9149b170
commit f76a38ad76
5 changed files with 86 additions and 2 deletions

View file

@ -1075,7 +1075,11 @@ function pkg_search_page($SID="") {
# if (isset($tus[$row["MaintainerUID"]])) {
# print $tus[$row["MaintainerUID"]]["Username"];
if (isset($users[$row["MaintainerUID"]])) {
print $users[$row["MaintainerUID"]]["Username"];
# Add a link to the user packages, e.g, if you click on the Solve the sorting problem, so we can force the
# maintainer name, you will be redirected to a page with the user packages.
# Added by: dsa <dsandrade@gmail.com>
$user = $users[$row["MaintainerUID"]]["Username"];
print "<a href='packages.php?K=".$user."&SeB=m'>".$users[$row["MaintainerUID"]]["Username"]."</a>";
} else {
print "<span style='color: blue; font-style: italic;'>";
print __("orphan");