Fix links to addressbook view

This commit is contained in:
Miles Lott 2001-10-24 18:45:01 +00:00
parent 5d153ce550
commit 01363822fa
2 changed files with 4 additions and 4 deletions

View File

@ -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>';

View File

@ -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";
} }