mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Href added for link to view the entry with the matching birthday
This commit is contained in:
parent
1b977f6e28
commit
513aa81135
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user