Href added for link to view the entry with the matching birthday

This commit is contained in:
Miles Lott 2001-04-08 14:21:39 +00:00
parent 1b977f6e28
commit 513aa81135

View File

@ -44,8 +44,10 @@
while(list($key,$val) = @each($bdays))
{
$tmp = $val["n_given"] . " " . $val["n_family"];
echo "<tr><td>" . lang("Today is x's birthday!", $tmp) . "</td></tr>\n";
$tmp = "<a href=\""
. $phpgw->link("/addressbook/view.php","ab_id=" . $val["id"]) . "\">"
. $val["n_given"] . " " . $val["n_family"]."</a>";
echo "<tr><td align=\"left\">" . lang("Today is x's birthday!", $tmp) . "</td></tr>\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 "<tr><td>" . lang("Tomorrow is x's birthday.", $tmp) . "</td></tr>\n";
$tmp = "<a href=\""
. $phpgw->link("/addressbook/view.php","ab_id=" . $val["id"]) . "\">"
. $val["n_given"] . " " . $val["n_family"]."</a>";
echo "<tr><td align=\"left\">" . lang("Tomorrow is x's birthday.", $tmp) . "</td></tr>\n";
}
echo "\n<!-- Birthday info -->\n";
}