mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fixed not working generation of image url for templates
This commit is contained in:
parent
9a32f0dc9e
commit
ade5eb93ea
@ -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');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user