Author: ralfbecker
New Revision: 30601
URL: http://www.egroupware.org/viewvc/egroupware?rev=30601&view=rev
Log:
fixed not working generation of image url for templates
Modified:
trunk/phpgwapi/inc/class.about.inc.php
Modified: trunk/phpgwapi/inc/class.about.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/phpgwapi/inc/class.about.inc.php?rev=30601&r1=30600&r2=30601&view=diff
— trunk/phpgwapi/inc/class.about.inc.php (original)
+++ trunk/phpgwapi/inc/class.about.inc.php Tue Jun 8 10:50:15 2010
@@ -219,7 +219,7 @@
function _getParsedTemplateInfo($info)
{
// 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['maintainer'] = $this->_getHtmlPersonalInfo($info, 'maintainer');
ThinkGeek and WIRED’s GeekDad team up for the Ultimate
GeekDad Father’s Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs