[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php |
Date: |
Wed, 27 Dec 2006 05:40:57 +0000 |
CVSROOT: /sources/phpgroupware
Module name: addressbook
Changes by: Dave Hall <skwashd> 06/12/27 05:40:57
Modified files:
inc : class.uiaddressbook.inc.php
Log message:
remove createObject('phpgwapi.datetime) and replace with a reference to
the global phpgw object
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/class.uiaddressbook.inc.php?cvsroot=phpgroupware&r1=1.76&r2=1.77
Patches:
Index: class.uiaddressbook.inc.php
===================================================================
RCS file: /sources/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- class.uiaddressbook.inc.php 29 Nov 2006 14:26:31 -0000 1.76
+++ class.uiaddressbook.inc.php 27 Dec 2006 05:40:57 -0000 1.77
@@ -12,7 +12,7 @@
* option) any later version. *
\**************************************************************************/
-/* $Id: class.uiaddressbook.inc.php,v 1.76 2006/11/29 14:26:31 sigurdne Exp $
*/
+/* $Id: class.uiaddressbook.inc.php,v 1.77 2006/12/27 05:40:57 skwashd Exp $ */
class uiaddressbook
@@ -1241,7 +1241,7 @@
$userformat =&
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
if($userformat != $this->bo->bday_internformat)
{
- $datetime = CreateObject('phpgwapi.datetimefunctions');
+ $datetime =& $GLOBALS['phpgw']->datetime;
$fields['per_birthday'] =
$datetime->convertDate($fields['per_birthday'], $this->bo->bday_internformat,
$userformat);
}
$bday =
$this->jscal->input('entry[per_birthday]',$fields['per_birthday']);
@@ -2145,7 +2145,7 @@
$userformat =
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
if($userformat != $this->bo->bday_internformat)
{
- $datetime =
CreateObject('phpgwapi.datetimefunctions');
+ $datetime =&
$GLOBALS['phpgw']->datetime;
$entry['per_birthday'] =
$datetime->convertDate($entry['per_birthday'], $userformat,
$this->bo->bday_internformat);
}
@@ -2793,7 +2793,7 @@
$userformat =
$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat'];
if($userformat != $this->bo->bday_internformat)
{
- $datetime =
CreateObject('phpgwapi.datetimefunctions');
+ $datetime =& $GLOBALS['phpgw']->datetime;
$contacts['org_name'] = '<a href="' .
$contacts['org_link'] . '">'
. htmlentities($contacts['org_name']) .
'</a>';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] addressbook/inc class.uiaddressbook.inc.php,
Dave Hall <=