phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: addressbook/inc hook_home.inc.php,1.15,1.16


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook/inc hook_home.inc.php,1.15,1.16
Date: Mon, 19 Aug 2002 08:42:08 -0400

Update of /cvsroot/phpgroupware/addressbook/inc
In directory subversions:/tmp/cvs-serv10721/addressbook/inc

Modified Files:
        hook_home.inc.php 
Log Message:
Fix home.php hooks display



Index: hook_home.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/hook_home.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** hook_home.inc.php   19 Aug 2002 12:23:43 -0000      1.15
--- hook_home.inc.php   19 Aug 2002 12:42:06 -0000      1.16
***************
*** 23,27 ****
                && 
$GLOBALS['phpgw_info']['user']['preferences']['addressbook']['mainscreen_showbirthdays'])
        {
!               echo "\n<!-- Birthday info -->\n";
  
                $c = CreateObject('phpgwapi.contacts');
--- 23,27 ----
                && 
$GLOBALS['phpgw_info']['user']['preferences']['addressbook']['mainscreen_showbirthdays'])
        {
!               $tmp = "\n<!-- Birthday info -->\n";
  
                $c = CreateObject('phpgwapi.contacts');
***************
*** 72,79 ****
                                'link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view&ab_id='
 .  $val['id'])
                        );
- //                    $tmp = '<a href="'
- //                            . 
$GLOBALS['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";
                }
  
--- 72,75 ----
***************
*** 88,102 ****
                                'link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view&ab_id='.$val['id'])
                        );
- //                    $tmp = '<a href="'
- //                            . 
$GLOBALS['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";
                }
! //            if(count($portalbox->data))
! //            {
!                       echo $portalbox->draw();
! //            }
                unset($portalbox);
!               echo "\n<!-- Birthday info -->\n";
        }
  ?>
--- 84,96 ----
                                'link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.view&ab_id='.$val['id'])
                        );
                }
!               if(count($portalbox->data))
!               {
!                       $tmp = $portalbox->draw();
!               }
                unset($portalbox);
!               $tmp .= "\n<!-- Birthday info -->\n";
!               $GLOBALS['phpgw']->template->set_var('phpgw_body',$tmp,True);
!               unset($tmp);
        }
  ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]