diff options
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 0d86ee4..e57ceba 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"); |