fixed not working generation of image url for templates

This commit is contained in:
Ralf Becker 2010-06-08 08:50:15 +00:00
parent 9a32f0dc9e
commit ade5eb93ea

View File

@ -219,7 +219,7 @@ class about
function _getParsedTemplateInfo($info) function _getParsedTemplateInfo($info)
{ {
// define the return array // define the return array
$info['image'] = file_exists(EGW_SERVER_ROOT.'/'.$info['icon']) ? '/'.$info['icon'] : common::image('thisdoesnotexist',array('navbar','nonav')); $info['image'] = file_exists(EGW_SERVER_ROOT.'/'.$info['icon']) ? $GLOBALS['egw_info']['server']['webserver_url'].'/'.$info['icon'] : common::image('thisdoesnotexist',array('navbar','nonav'));
$info['author'] = $this->_getHtmlPersonalInfo($info, 'author'); $info['author'] = $this->_getHtmlPersonalInfo($info, 'author');
$info['maintainer'] = $this->_getHtmlPersonalInfo($info, 'maintainer'); $info['maintainer'] = $this->_getHtmlPersonalInfo($info, 'maintainer');