phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: infolog/inc hook_addressbook_view.inc.php,1.8,1.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/inc hook_addressbook_view.inc.php,1.8,1.9
Date: Thu, 17 Oct 2002 19:31:52 -0400

Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv32482

Modified Files:
        hook_addressbook_view.inc.php 
Log Message:
some fixed to enable infolog with etemplates to run in 0.9.14


Index: hook_addressbook_view.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/hook_addressbook_view.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** hook_addressbook_view.inc.php       16 Oct 2002 00:23:39 -0000      1.8
--- hook_addressbook_view.inc.php       17 Oct 2002 23:31:24 -0000      1.9
***************
*** 13,17 ****
  
        $save_app = $GLOBALS['phpgw_info']['flags']['currentapp']; 
!       $GLOBALS['phpgw_info']['flags']['currentapp'] = 'infolog'; 
  
        $GLOBALS['phpgw']->translation->add_app('infolog');
--- 13,17 ----
  
        $save_app = $GLOBALS['phpgw_info']['flags']['currentapp']; 
!       $GLOBALS['phpgw_info']['flags']['currentapp'] = 'infolog';
  
        $GLOBALS['phpgw']->translation->add_app('infolog');
***************
*** 26,29 ****
--- 26,31 ----
        $GLOBALS['phpgw']->template->set_var('phpgw_body',$out,True);
  */
+       $GLOBALS['phpgw_info']['etemplate']['hooked'] = True;
+ 
        $infolog = CreateObject('infolog.uiinfolog');
        $infolog->index(0,'addressbook',$GLOBALS['ab_id'],array(
***************
*** 31,33 ****
                'ab_id' => $GLOBALS['ab_id']
        ));
!       $GLOBALS['phpgw_info']['flags']['currentapp'] = $save_app;
--- 33,37 ----
                'ab_id' => $GLOBALS['ab_id']
        ));
!       $GLOBALS['phpgw_info']['flags']['currentapp'] = $save_app; 
!       unset($GLOBALS['phpgw_info']['etemplate']['hooked']);
! 





reply via email to

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