diff --git a/about.php b/about.php
index d387207f62..bd0cae8062 100644
--- a/about.php
+++ b/about.php
@@ -151,21 +151,45 @@ function about_display($info)
{
$infos = array('email' => $info[$key.'_email'],'name' => $infos);
}
+ elseif(!is_array($infos) && isset($info[$key.'_url']))
+ {
+ $infos = array('url' => $info[$key.'_url'],'name' => $infos);
+ }
if (is_array($infos))
{
- $names = explode('
',$infos['name']);
- $emails = split('@|
',$infos['email']);
- if (count($names) < count($emails)/2)
+ if ($infos['email'])
{
- $names = '';
+ $names = explode('
',$infos['name']);
+ $emails = split('@|
',$infos['email']);
+ if (count($names) < count($emails)/2)
+ {
+ $names = '';
+ }
+ $infos = '';
+ while (list($user,$domain) = $emails)
+ {
+ if ($infos) $infos .= '
';
+ $name = $names ? array_shift($names) : $user;
+ $infos .= "$name";
+ array_shift($emails); array_shift($emails);
+ }
}
- $infos = '';
- while (list($user,$domain) = $emails)
- {
- if ($infos) $infos .= '
';
- $name = $names ? array_shift($names) : $user;
- $infos .= "$name";
- array_shift($emails); array_shift($emails);
+ elseif($infos['url'])
+ {
+ $img = $info[$key.'_img'];
+ if ($img)
+ {
+ $img_url = $GLOBALS['phpgw']->common->image('phpgwapi',$img);
+ if (!$img_url)
+ {
+ $img_url = $GLOBALS['phpgw']->common->image($info['name'],$img);
+ }
+ $infos = '
'.$infos['name'].' |