From 513aa81135001db80addb2c3f1d3c70465c44ea3 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 8 Apr 2001 14:21:39 +0000 Subject: [PATCH] Href added for link to view the entry with the matching birthday --- addressbook/inc/hook_home.inc.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/addressbook/inc/hook_home.inc.php b/addressbook/inc/hook_home.inc.php index 616672d23f..8ff11bd58f 100644 --- a/addressbook/inc/hook_home.inc.php +++ b/addressbook/inc/hook_home.inc.php @@ -44,8 +44,10 @@ while(list($key,$val) = @each($bdays)) { - $tmp = $val["n_given"] . " " . $val["n_family"]; - echo "" . lang("Today is x's birthday!", $tmp) . "\n"; + $tmp = "link("/addressbook/view.php","ab_id=" . $val["id"]) . "\">" + . $val["n_given"] . " " . $val["n_family"].""; + echo "" . lang("Today is x's birthday!", $tmp) . "\n"; } $tomorrow = $phpgw->common->show_date(mktime(0,0,0, @@ -58,8 +60,10 @@ while(list($key,$val) = @each($bdays)) { - $tmp = $val["n_given"] . " " . $val["n_family"]; - echo "" . lang("Tomorrow is x's birthday.", $tmp) . "\n"; + $tmp = "link("/addressbook/view.php","ab_id=" . $val["id"]) . "\">" + . $val["n_given"] . " " . $val["n_family"].""; + echo "" . lang("Tomorrow is x's birthday.", $tmp) . "\n"; } echo "\n\n"; }