mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix global problem, i hope
This commit is contained in:
parent
fb6044f7ff
commit
ddf22a95f5
@ -15,14 +15,14 @@
|
|||||||
{
|
{
|
||||||
function uimenuclass()
|
function uimenuclass()
|
||||||
{
|
{
|
||||||
$this->t = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('admin'));
|
$this->t = CreateObject('phpgwapi.Template',$GLOBALS['phpgw']->common->get_tpl_dir('admin'));
|
||||||
|
|
||||||
$this->t->set_file(array('menurow' => 'menurow.tpl'));
|
$this->t->set_file(array('menurow' => 'menurow.tpl'));
|
||||||
$this->t->set_block('menurow','menu_links','menu_links');
|
$this->t->set_block('menurow','menu_links','menu_links');
|
||||||
$this->t->set_block('menurow','link_row','link_row');
|
$this->t->set_block('menurow','link_row','link_row');
|
||||||
|
|
||||||
$this->rowColor[0] = $phpgw_info["theme"]["row_on"];
|
$this->rowColor[0] = $GLOBALS['phpgw_info']["theme"]["row_on"];
|
||||||
$this->rowColor[1] = $phpgw_info["theme"]["row_off"];
|
$this->rowColor[1] = $GLOBALS['phpgw_info']["theme"]["row_off"];
|
||||||
}
|
}
|
||||||
|
|
||||||
function section_item($pref_link='',$pref_text='', $bgcolor)
|
function section_item($pref_link='',$pref_text='', $bgcolor)
|
||||||
|
Loading…
Reference in New Issue
Block a user