[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php,1.36.2.17,1.36.2.18 |
Date: |
Tue, 01 Jul 2003 20:15:45 -0400 |
Update of /cvsroot/phpgroupware/addressbook/inc
In directory subversions:/tmp/cvs-serv23282
Modified Files:
Tag: Version-0_9_14-branch
class.uiaddressbook.inc.php
Log Message:
xss fix, running the content of the address-label-function through strip_html
Index: class.uiaddressbook.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php,v
retrieving revision 1.36.2.17
retrieving revision 1.36.2.18
diff -C2 -r1.36.2.17 -r1.36.2.18
*** class.uiaddressbook.inc.php 6 Apr 2003 15:00:15 -0000 1.36.2.17
--- class.uiaddressbook.inc.php 2 Jul 2003 00:15:43 -0000 1.36.2.18
***************
*** 871,878 ****
}
}
- elseif($column == 'label' && $coldata)
- {
- $data .=
$this->contacts->formatted_address($fields[0]['id'],'',False);
- }
elseif ($column == 'url' && $coldata)
{
--- 871,874 ----
***************
*** 892,895 ****
--- 888,896 ----
}
$data = $coldata.'</a>';
+ }
+ elseif ($column == 'bday')
+ {
+ list($month,$day,$year) =
explode('/',$coldata);
+ $data =
$GLOBALS['phpgw']->common->dateformatorder($year,$month,$day,True);
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php,1.36.2.17,1.36.2.18,
Ralf Becker <address@hidden> <=