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.36


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook/inc class.uiaddressbook.inc.php,1.36.2.15.2.3,1.36.2.15.2.4
Date: Tue, 01 Jul 2003 20:13:44 -0400

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

Modified Files:
      Tag: Version-0_9_16-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.15.2.3
retrieving revision 1.36.2.15.2.4
diff -C2 -r1.36.2.15.2.3 -r1.36.2.15.2.4
*** class.uiaddressbook.inc.php 27 Apr 2003 22:35:39 -0000      1.36.2.15.2.3
--- class.uiaddressbook.inc.php 2 Jul 2003 00:13:42 -0000       1.36.2.15.2.4
***************
*** 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





reply via email to

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