fixed href to pngfix.js

This commit is contained in:
Pim Snel 2003-10-23 15:20:19 +00:00
parent b12b903d8c
commit 0aa579faab
2 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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]-->