summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino <andrea@archlinux.org>2010-03-10 23:00:12 +0100
committerLoui Chang <louipc.ist@gmail.com>2010-03-10 18:58:47 -0500
commit5091b11dad08ee7039dd62aa35d9b10b29f068a8 (patch)
tree7fb85a0a29c0aa1eb1eeda5599caeaee03a64514
parent3568ad8bd8b193f19f89ccc2e3875a4ee88006e8 (diff)
downloadaurweb-5091b11dad08ee7039dd62aa35d9b10b29f068a8.tar.xz
add link to account profile in out-of-date notification
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
-rw-r--r--web/lib/pkgfuncs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index a4a2dfc..37e4319 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -621,7 +621,7 @@ function pkg_flag ($atype, $ids, $action = True) {
if (mysql_num_rows($result)) {
while ($row = mysql_fetch_assoc($result)) {
# construct email
- $body = "Your package " . $row['Name'] . " has been flagged out of date by " . $f_name . ". You may view your package at:\nhttp://aur.archlinux.org/packages.php?ID=" . $row['ID'];
+ $body = "Your package " . $row['Name'] . " has been flagged out of date by " . $f_name . " [1]. You may view your package at:\nhttp://aur.archlinux.org/packages.php?ID=" . $row['ID'] . "\n\n[1] - http://aur.archlinux.org/account.php?Action=AccountInfo&ID=" . $f_uid;
$body = wordwrap($body, 70);
$headers = "To: ".$row['Email']."\nReply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR\n";
@mail(' ', "AUR Out-of-date Notification for ".$row['Name'], $body, $headers);