phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php, 1.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php, 1.36.2.15.2.6, 1.36.2.15.2.7
Date: Fri, 22 Aug 2003 08:54:22 -0400

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

Modified Files:
      Tag: Version-0_9_16-branch
        class.uiaddressbook.inc.php 
Log Message:
small fix for the infolog-hook in addressbook/view:
- use a referenz of $GLOBALS['phpgw']->template not a copy
- parse content of view screen to var 'phpgw_body' and not 'out'
- corrected spelling of field 'email_home_type' to suppress it correct in view
Maybe it's all not necessary with the new addressbook, but for now it helps :-)


Index: class.uiaddressbook.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php,v
retrieving revision 1.36.2.15.2.6
retrieving revision 1.36.2.15.2.7
diff -C2 -r1.36.2.15.2.6 -r1.36.2.15.2.7
*** class.uiaddressbook.inc.php 8 Aug 2003 11:50:33 -0000       1.36.2.15.2.6
--- class.uiaddressbook.inc.php 22 Aug 2003 12:54:19 -0000      1.36.2.15.2.7
***************
*** 59,63 ****
  
                        $this->bo       = 
CreateObject('addressbook.boaddressbook',True);
!                       $this->template = $GLOBALS['phpgw']->template;
                        $this->contacts = CreateObject('phpgwapi.contacts');
                        $this->cat      = CreateObject('phpgwapi.categories');
--- 59,63 ----
  
                        $this->bo       = 
CreateObject('addressbook.boaddressbook',True);
!                       $this->template = &$GLOBALS['phpgw']->template;
                        $this->contacts = CreateObject('phpgwapi.contacts');
                        $this->cat      = CreateObject('phpgwapi.categories');
***************
*** 822,826 ****
  
                        unset($qfields['email_type']);          // noone is 
useing that any more
!                       unset($qfields['privat_email_type']);
  
                        @reset($qfields);
--- 822,826 ----
  
                        unset($qfields['email_type']);          // noone is 
useing that any more
!                       unset($qfields['email_home_type']);
  
                        @reset($qfields);
***************
*** 981,985 ****
                        $this->template->set_var('access_link',$access_link);
  
!                       $this->template->pfp('out','view_t');
  
                        $GLOBALS['phpgw']->hooks->process(array(
--- 981,985 ----
                        $this->template->set_var('access_link',$access_link);
  
!                       $this->template->pfp('phpgw_body','view_t');
  
                        $GLOBALS['phpgw']->hooks->process(array(





reply via email to

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