summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimo <simo>2005-10-17 03:24:16 +0200
committersimo <simo>2005-10-17 03:24:16 +0200
commit6fe2f0e14b3f093ff6012c85fd1b5d2b86d47669 (patch)
tree88047bcb87f20cd53e6a8d24d05cf9cd7d42d6c7
parent9d789fe82cd893a24635b00cb884ffee47af6564 (diff)
downloadaur-6fe2f0e14b3f093ff6012c85fd1b5d2b86d47669.tar.gz
aur-6fe2f0e14b3f093ff6012c85fd1b5d2b86d47669.tar.xz
Added link to user's packages in profile
-rw-r--r--web/lang/en/acctfuncs_po.inc2
-rw-r--r--web/lib/acctfuncs.inc4
2 files changed, 6 insertions, 0 deletions
diff --git a/web/lang/en/acctfuncs_po.inc b/web/lang/en/acctfuncs_po.inc
index 4f96b8be..3a65b89a 100644
--- a/web/lang/en/acctfuncs_po.inc
+++ b/web/lang/en/acctfuncs_po.inc
@@ -87,4 +87,6 @@ $_t["en"]["Missing User ID"] = "Missing User ID";
$_t["en"]["Developer"] = "Developer";
+$_t["en"]["View this user's packages"] = "View this user's packages";
+
?> \ No newline at end of file
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 8021cc67..b84e2e6b 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -636,6 +636,10 @@ function display_account_info($U="",$T="",
print " <td align='left'>".$I."</td>\n";
print " </tr>\n";
+ print " <tr>\n";
+ print " <td colspan='2'><a href='/packages.php?K=".$U."&SeB=m'>".__("View this user's packages")."</a></td>\n";
+ print " </tr>\n";
+
print "</table>\n";
print "</center>\n";
return;