forked from extern/egroupware
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))
|
while(list($key,$val) = @each($bdays))
|
||||||
{
|
{
|
||||||
$tmp = $val["n_given"] . " " . $val["n_family"];
|
$tmp = "<a href=\""
|
||||||
echo "<tr><td>" . lang("Today is x's birthday!", $tmp) . "</td></tr>\n";
|
. $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,
|
$tomorrow = $phpgw->common->show_date(mktime(0,0,0,
|
||||||
@ -58,8 +60,10 @@
|
|||||||
|
|
||||||
while(list($key,$val) = @each($bdays))
|
while(list($key,$val) = @each($bdays))
|
||||||
{
|
{
|
||||||
$tmp = $val["n_given"] . " " . $val["n_family"];
|
$tmp = "<a href=\""
|
||||||
echo "<tr><td>" . lang("Tomorrow is x's birthday.", $tmp) . "</td></tr>\n";
|
. $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";
|
echo "\n<!-- Birthday info -->\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user