[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgroupware about.php,1.14.2.1,1.14.2.2
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgroupware about.php,1.14.2.1,1.14.2.2 |
Date: |
Sun, 16 Mar 2003 08:15:33 -0500 |
Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv18500
Modified Files:
Tag: Version-0_9_14-branch
about.php
Log Message:
update
Index: about.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/about.php,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -C2 -r1.14.2.1 -r1.14.2.2
*** about.php 16 Mar 2003 11:56:08 -0000 1.14.2.1
--- about.php 16 Mar 2003 13:15:05 -0000 1.14.2.2
***************
*** 52,62 ****
if (isset($info[$key]))
{
$infos = $info[$key];
! if (is_array($infos))
{
! list($user,$domain) =
explode('@',$infos['email']);
! $infos = "<a href='mailto:$user -AT- $domain'
onClick=\"document.location='mailto:$user'+'@'+'$domain'; return
false;\">$infos[name]</a>";
}
! $s .= "<tr><td width='50%'
align='right'>$val</td><td>$infos</td></tr>\n";
}
}
--- 52,83 ----
if (isset($info[$key]))
{
+ $s .= "<tr><td width='50%' align='right'>$val</td><td>";
$infos = $info[$key];
! for ($n = 0; is_array($info[$key][$n]) && ($infos =
$info[$key][$n]) || !$n; ++$n)
{
! if (!is_array($infos) &&
isset($info[$key.'_email']))
! {
! $infos = array('email' =>
$info[$key.'_email'],'name' => $infos);
! }
! if (is_array($infos))
! {
! $names = explode('<br>',$infos['name']);
! $emails =
split('@|<br>',$infos['email']);
! if (count($names) < count($emails)/2)
! {
! $names = '';
! }
! $infos = '';
! while (list($user,$domain) = $emails)
! {
! if ($infos) $infos .= '<br>';
! $name = $names ?
array_shift($names) : $user;
! $infos .= "<a
href='mailto:$user -AT- $domain'
onClick=\"document.location='mailto:$user'+'@'+'$domain'; return
false;\">$name</a>";
! array_shift($emails);
array_shift($emails);
! }
! }
! $s .= ($n ? '<br>' : '') . $infos;
}
! $s .= "</td></tr>\n";
}
}
***************
*** 65,69 ****
return $s;
}
! $included = True;
}
}
--- 86,90 ----
return $s;
}
! $api_only = !($included =
file_exists(PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php"));
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgroupware about.php,1.14.2.1,1.14.2.2,
Ralf Becker <address@hidden> <=