summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authortardo <tardo@nagi-fanboi.net>2007-09-22 23:14:14 +0200
committertardo <tardo@nagi-fanboi.net>2007-09-22 23:14:14 +0200
commitadafc112f6f14a5ab7249a622da5d74a8f52a3ed (patch)
tree6b7b4ff43da4067dd3a2026c7d862015a32b6a39 /web
parent61ddbc18e7836a3b2e334b23ea637a2a0eea9006 (diff)
downloadaur-adafc112f6f14a5ab7249a622da5d74a8f52a3ed.tar.gz
aur-adafc112f6f14a5ab7249a622da5d74a8f52a3ed.tar.xz
Add link to TU's homepage in "Flagged safe by". FS 4138.
Simple feature request. Not sure what purpose it serves. Signed-off-by: tardo <tardo@nagi-fanboi.net>
Diffstat (limited to 'web')
-rw-r--r--web/lang/en/pkgfuncs_po.inc2
-rw-r--r--web/lib/pkgfuncs.inc2
2 files changed, 3 insertions, 1 deletions
diff --git a/web/lang/en/pkgfuncs_po.inc b/web/lang/en/pkgfuncs_po.inc
index b6a704bb..4ab3cd60 100644
--- a/web/lang/en/pkgfuncs_po.inc
+++ b/web/lang/en/pkgfuncs_po.inc
@@ -153,4 +153,6 @@ $_t["en"]["unknown"] = "unknown";
$_t["en"]["Required by"] = "Required by";
+$_t["en"]["The above files have been verified (by %h%s%h) and are safe to use."] = "The above files have been verified (by %h%s%h) and are safe to use.";
+
?>
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 395200b1..3bbfcb77 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -395,7 +395,7 @@ function package_details($id=0, $SID="") {
print "<tr>\n";
print " <td colspan='2'>";
if ($row["Safe"]) {
- print "<span class='f7'>".__("The above files have been verified (by %s) and are safe to use.", array(username_from_id($row["VerifiedBy"])))."</span></td>";
+ print "<span class='f7'>".__("The above files have been verified (by %h%s%h) and are safe to use.", array("<a href='/account.php?Action=AccountInfo&ID=".$row["VerifiedBy"]."'>", username_from_id($row["VerifiedBy"]), "</a>"))."</span></td>";
} else {
print "<span class='f6'>".__("Be careful! The above files may contain malicious code that can damage your system.")."</span></td>";
}