1
0
mirror of https://github.com/EGroupware/egroupware.git synced 2025-01-10 16:08:34 +01:00

Some more fixes to clean up some non-existent images.

This commit is contained in:
skeeter 2001-06-18 03:08:23 +00:00
parent 4546f7aaa1
commit 3669fe27c6

View File

@ -47,11 +47,21 @@
$applications .= ' target="' . $phpgw_info['flags']['navbar_target'] . '"';
}
$applications .= 'onMouseOver="' . $app[0] . '.src=\'' . $img_src_over . '\'" onMouseOut="' . $app[0] . '.src=\'' . $img_src_out . '\'">';
$applications .= $title . '</a></td></tr>';
$applications .= "\n";
if($img_src_over != '')
{
$applications .= ' onMouseOver="' . $app[0] . '.src=\'' . $img_src_over . '\'" ';
}
if($img_src_out != '')
{
$applications .= ' onMouseOut="' . $app[0] . '.src=\'' . $img_src_out . '\'"';
}
$applications .= '>'.$title.'</a></td></tr>'."\n";
}
$img_src_over = $phpgw->common->image($app[0],'navbar-over.gif');
if($img_src_over)
{
$pre_load[] = $img_src_over;
}
$pre_load[] = $phpgw->common->image($app[0],'navbar-over.gif');
}
$tpl->set_var('app_images',implode("','",$pre_load));