mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Odd php3 fix for undefined constant, please test on php4
This commit is contained in:
parent
5a5d1c0a09
commit
3c92e4fb10
@ -397,7 +397,16 @@
|
||||
function create_tabs($tabs, $selected, $fontsize = '')
|
||||
{
|
||||
$output_text = '<table border="0" cellspacing="0" cellpadding="0"><tr>';
|
||||
$ir = PHPGW_IMAGES_DIR;
|
||||
|
||||
/* This is a php3 workaround */
|
||||
if(PHPGW_IMAGES_DIR == 'PHPGW_IMAGES_DIR')
|
||||
{
|
||||
$ir = ExecMethod('phpgwapi.phpgw.common.get_image_path', 'phpgwapi');
|
||||
}
|
||||
else
|
||||
{
|
||||
$ir = PHPGW_IMAGES_DIR;
|
||||
}
|
||||
|
||||
if ($fontsize)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user