mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
fixed href to pngfix.js
This commit is contained in:
parent
b12b903d8c
commit
0aa579faab
@ -25,6 +25,9 @@
|
||||
{
|
||||
$theme_css = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/css/idots.css';
|
||||
}
|
||||
|
||||
$pngfix = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/js/pngfix.js';
|
||||
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
$tpl->set_file(array('head' => 'head.tpl'));
|
||||
@ -35,6 +38,7 @@
|
||||
$var = Array (
|
||||
'img_icon' => PHPGW_IMAGES_DIR . '/favicon.ico',
|
||||
'img_shortcut' => PHPGW_IMAGES_DIR . '/favicon.ico',
|
||||
'pngfix' => $pngfix,
|
||||
'charset' => $GLOBALS['phpgw']->translation->charset(),
|
||||
'font_family' => $GLOBALS['phpgw_info']['theme']['font'],
|
||||
'website_title' => $GLOBALS['phpgw_info']['server']['site_title'].$app,
|
||||
|
@ -37,7 +37,7 @@
|
||||
{java_script}
|
||||
<!-- This solves the Internet Explorer PNG-transparency bug, but only for IE 5.5 and higher -->
|
||||
<!--[if gte IE 5.5000]>
|
||||
<SCRIPT src="phpgwapi/templates/idots/js/pngfix.js" type=text/javascript>
|
||||
<SCRIPT src="{pngfix}" type=text/javascript>
|
||||
</SCRIPT>
|
||||
<![endif]-->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user