summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2006-08-10 03:42:35 +0200
committerpjmattal <pjmattal>2006-08-10 03:42:35 +0200
commitf76a38ad7669e044205ab544016d953243d36b29 (patch)
tree91fd417548b4cf2671a49baada13654d05643aeb /web/lib
parent1e9149b1708037bec8d371924550b5a55abb5f5b (diff)
downloadaur-f76a38ad7669e044205ab544016d953243d36b29.tar.gz
aur-f76a38ad7669e044205ab544016d953243d36b29.tar.xz
committed dsa's user stats and user links patch
this will require some translation updates
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 0d86ee40..e57ceba9 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -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");