had to make several changes and cleanups for php3 compatibility

This commit is contained in:
seek3r 2001-05-31 08:50:44 +00:00
parent 3b841e393b
commit 1ff5b9ab09
2 changed files with 5 additions and 5 deletions

View File

@ -368,7 +368,7 @@
if ($phpgw_info['server']['force_theme'] == 'user_choice') if ($phpgw_info['server']['force_theme'] == 'user_choice')
{ {
@include(PHPGW_SERVER_ROOT . '/phpgwapi/themes/' . $phpgw_info['user']['preferences']['common']['theme'] . '.theme'); include(PHPGW_SERVER_ROOT . '/phpgwapi/themes/' . $phpgw_info['user']['preferences']['common']['theme'] . '.theme');
if ($phpgw_info['theme']['bg_color'] == '') if ($phpgw_info['theme']['bg_color'] == '')
{ {
@ -386,7 +386,7 @@
} }
else else
{ {
@include(PHPGW_SERVER_ROOT . '/phpgwapi/themes/' . $phpgw_info['server']['force_theme'] . '.theme'); include(PHPGW_SERVER_ROOT . '/phpgwapi/themes/' . $phpgw_info['server']['force_theme'] . '.theme');
if ($phpgw_info['theme']['bg_color'] == '') if ($phpgw_info['theme']['bg_color'] == '')
{ {
/* Looks like there was a problem finding that theme. Try the default */ /* Looks like there was a problem finding that theme. Try the default */

View File

@ -88,7 +88,7 @@
'session_logintime' => array('type' => 'varchar', 'precision' => 4), 'session_logintime' => array('type' => 'varchar', 'precision' => 4),
'session_dla' => array('type' => 'varchar', 'precision' => 4), 'session_dla' => array('type' => 'varchar', 'precision' => 4),
'session_action' => array('type' => 'varchar', 'precision' => 255), 'session_action' => array('type' => 'varchar', 'precision' => 255),
'session_flags' => array('type' => 'char', 'precision' => 2), 'session_flags' => array('type' => 'char', 'precision' => 2)
), ),
'pk' => array(), 'pk' => array(),
'fk' => array(), 'fk' => array(),
@ -160,7 +160,7 @@
'phpgw_nextid' => array( 'phpgw_nextid' => array(
'fd' => array( 'fd' => array(
'id' => array('type' => 'int', 'precision' => 4, 'nullable' => true), 'id' => array('type' => 'int', 'precision' => 4, 'nullable' => true),
'appname' => array('type' => 'varchar', 'precision' => 25, 'nullable' => false), 'appname' => array('type' => 'varchar', 'precision' => 25, 'nullable' => false)
), ),
'pk' => array(), 'pk' => array(),
'fk' => array(), 'fk' => array(),
@ -184,6 +184,6 @@
'fk' => array(), 'fk' => array(),
'ix' => array(), 'ix' => array(),
'uc' => array() 'uc' => array()
), )
); );
?> ?>