phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.123.2.9.2.7


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.common.inc.php,1.123.2.9.2.7,1.123.2.9.2.8
Date: Sat, 17 May 2003 16:30:14 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv3903

Modified Files:
      Tag: Version-0_9_16-branch
        class.common.inc.php 
Log Message:
fixed display_fullname for missing parts of the name

Index: class.common.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.common.inc.php,v
retrieving revision 1.123.2.9.2.7
retrieving revision 1.123.2.9.2.8
diff -C2 -r1.123.2.9.2.7 -r1.123.2.9.2.8
*** class.common.inc.php        5 May 2003 06:29:06 -0000       1.123.2.9.2.7
--- class.common.inc.php        17 May 2003 20:30:12 -0000      1.123.2.9.2.8
***************
*** 407,414 ****
                        }
  
                        switch($display)
                        {
                                case 'all':
!                                       $name = '['.$lid.'] ';
                                        // fall-through
                                case 'lastname':
--- 407,418 ----
                        }
  
+                       $name = '';
                        switch($display)
                        {
                                case 'all':
!                                       if ($lid)
!                                       {
!                                               $name = '['.$lid.'] ';
!                                       }
                                        // fall-through
                                case 'lastname':
***************
*** 416,424 ****
                                        break;
                                case 'firstall':
!                                       $name = $firstname . ' ' . $lastname . 
' ['.$lid.']';
!                                       break;
                                case 'firstname':
                                default:
!                                       $name = $firstname . ' ' . $lastname;
                                        break;
                        }
--- 420,431 ----
                                        break;
                                case 'firstall':
!                                       if ($lid) 
!                                       {
!                                               $name = ' ['.$lid.']';
!                                       }
!                                       // fall-through
                                case 'firstname':
                                default:
!                                       $name = $firstname . ' ' . $lastname . 
$name;
                                        break;
                        }





reply via email to

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