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.12,1.12.2.1


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: hr index.php,1.12,1.12.2.1
Date: Sat, 14 Sep 2002 21:18:45 -0400

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

Modified Files:
      Tag: Version-0_9_14-branch
        index.php 
Log Message:
Fixed e-mail bug in hr where e-mail addresses weren't showing up.


Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/hr/index.php,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -C2 -r1.12 -r1.12.2.1
*** index.php   4 Jan 2002 04:27:54 -0000       1.12
--- index.php   15 Sep 2002 01:18:42 -0000      1.12.2.1
***************
*** 247,255 ****
                        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">';
                        }
                }
--- 247,255 ----
                        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_home'].'</a>';
                        }
                }
***************
*** 257,264 ****
                {
                        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'] .'">';
                        }
                }
--- 257,264 ----
                {
                        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_home'].'</a>';
                        }
                }





reply via email to

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