mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix links to addressbook view
This commit is contained in:
parent
5d153ce550
commit
01363822fa
@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
while(list($key,$val) = @each($bdays))
|
while(list($key,$val) = @each($bdays))
|
||||||
{
|
{
|
||||||
$portalbox->data[] = array('text'=>lang("Today is x's birthday!", $val['n_given'] . ' ' . $val['n_family']),'link'=>$GLOBALS['phpgw']->link('/addressbook/view.php','ab_id=' . $val['id']));
|
$portalbox->data[] = array('text'=>lang("Today is x's birthday!", $val['n_given'] . ' ' . $val['n_family']),'link'=>$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view&ab_id=' . $val['id']));
|
||||||
// $tmp = '<a href="'
|
// $tmp = '<a href="'
|
||||||
// . $GLOBALS['phpgw']->link('/addressbook/view.php','ab_id=' . $val['id']) . '">'
|
// . $GLOBALS['phpgw']->link('/addressbook/view.php','ab_id=' . $val['id']) . '">'
|
||||||
// . $val['n_given'] . ' ' . $val['n_family'] . '</a>';
|
// . $val['n_given'] . ' ' . $val['n_family'] . '</a>';
|
||||||
@ -81,7 +81,7 @@
|
|||||||
|
|
||||||
while(list($key,$val) = @each($bdays))
|
while(list($key,$val) = @each($bdays))
|
||||||
{
|
{
|
||||||
$portalbox->data[] = array('text'=>lang("Tommorow is x's birthday!",$val['n_given'].' '.$val['n_family']),'link'=>$GLOBALS['phpgw']->link('/addressbook/view.php','ab_id='.$val['id']));
|
$portalbox->data[] = array('text'=>lang("Tommorow is x's birthday!",$val['n_given'].' '.$val['n_family']),'link'=>$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view&ab_id='.$val['id']));
|
||||||
// $tmp = '<a href="'
|
// $tmp = '<a href="'
|
||||||
// . $GLOBALS['phpgw']->link('/addressbook/view.php','ab_id=' . $val['id']) . '">'
|
// . $GLOBALS['phpgw']->link('/addressbook/view.php','ab_id=' . $val['id']) . '">'
|
||||||
// . $val['n_given'] . ' ' . $val["n_family"] . '</a>';
|
// . $val['n_given'] . ' ' . $val["n_family"] . '</a>';
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
while(list($key,$val) = @each($bdays))
|
while(list($key,$val) = @each($bdays))
|
||||||
{
|
{
|
||||||
$tmp = '<a href="'
|
$tmp = '<a href="'
|
||||||
. $phpgw->link('/addressbook/view.php','ab_id=' . $val['id']) . '">'
|
. $phpgw->link('/.php','menuaction=addressbook.uiaddressbook.view&ab_id=' . $val['id']) . '">'
|
||||||
. $val['n_given'] . ' ' . $val['n_family'] . '</a>';
|
. $val['n_given'] . ' ' . $val['n_family'] . '</a>';
|
||||||
echo '<tr><td align="left">' . lang("Today is x's birthday!", $tmp) . "</td></tr>\n";
|
echo '<tr><td align="left">' . lang("Today is x's birthday!", $tmp) . "</td></tr>\n";
|
||||||
}
|
}
|
||||||
@ -55,7 +55,7 @@
|
|||||||
while(list($key,$val) = @each($bdays))
|
while(list($key,$val) = @each($bdays))
|
||||||
{
|
{
|
||||||
$tmp = '<a href="'
|
$tmp = '<a href="'
|
||||||
. $phpgw->link('/addressbook/view.php','ab_id=' . $val['id']) . '">'
|
. $phpgw->link('/index.php','menuaction=addressbook.uiaddressbook.view&ab_id=' . $val['id']) . '">'
|
||||||
. $val['n_given'] . ' ' . $val['n_family'] . '</a>';
|
. $val['n_given'] . ' ' . $val['n_family'] . '</a>';
|
||||||
echo '<tr><td align="left">' . lang("Tomorrow is x's birthday.", $tmp) . "</td></tr>\n";
|
echo '<tr><td align="left">' . lang("Tomorrow is x's birthday.", $tmp) . "</td></tr>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user