diff options
author | pjmattal <pjmattal> | 2006-08-10 03:42:35 +0200 |
---|---|---|
committer | pjmattal <pjmattal> | 2006-08-10 03:42:35 +0200 |
commit | f76a38ad7669e044205ab544016d953243d36b29 (patch) | |
tree | 91fd417548b4cf2671a49baada13654d05643aeb /web/lib | |
parent | 1e9149b1708037bec8d371924550b5a55abb5f5b (diff) | |
download | aur-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.inc | 6 |
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"); |