phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: hr index.php,1.13,1.14


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: hr index.php,1.13,1.14
Date: Sat, 14 Sep 2002 21:12:39 -0400

Update of /cvsroot/phpgroupware/hr
In directory subversions:/tmp/cvs-serv17614

Modified Files:
        index.php 
Log Message:
Fixed bug where e-mail addresses didn't show in hr.


Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/hr/index.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** index.php   20 May 2002 01:41:51 -0000      1.13
--- index.php   15 Sep 2002 01:12:36 -0000      1.14
***************
*** 254,262 ****
                        if($fields[0]['email'])
                        {
!                               $profile_work_email = '<a 
href="'.$GLOBALS['phpgw']->link('/email/compose.php','to='.urlencode($fields[0]['email'])).'"
 target="_new">';
                        }
                        if ($fields[0]["email_home"])
                        {
!                               $profile_work_email = '<a 
href="'.$GLOBALS['phpgw']->link('/email/compose.php','to='.urlencode($fields[0]['email_home'])).'"
 target="_new">';
                        }
                }
--- 254,262 ----
                        if($fields[0]['email'])
                        {
!                               $profile_work_email = '<a 
href="'.$GLOBALS['phpgw']->link('/email/compose.php','to='.urlencode($fields[0]['email'])).'"
 target="_new">'.$fields[0]['email'].'</a>';
                        }
                        if ($fields[0]["email_home"])
                        {
!                               $profile_home_email = '<a 
href="'.$GLOBALS['phpgw']->link('/email/compose.php','to='.urlencode($fields[0]['email_home'])).'"
 target="_new">'.$fields[0]['email'].'</a>';
                        }
                }
***************
*** 265,273 ****
                        if($fields[0]['email'])
                        {
!                               $profile_work_email='<a href="mailto:'. 
$fields[0]['email'] .'">';
                        }
                        if($fields[0]['email_home'])
                        {
!                               $profile_home_email='<a href="mailto:'. 
$fields[0]['email_home'] .'">';
                        }
                }
--- 265,273 ----
                        if($fields[0]['email'])
                        {
!                               $profile_work_email='<a href="mailto:'. 
$fields[0]['email'] .'">'.$fields[0]['email'].'</a>';
                        }
                        if($fields[0]['email_home'])
                        {
!                               $profile_home_email='<a href="mailto:'. 
$fields[0]['email_home'] .'">'.$fields[0]['email'].'</a>';
                        }
                }





reply via email to

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