mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
added some compatibility, by allowing to still use the old display_section function
This commit is contained in:
parent
eadf885246
commit
90ceda0ed1
@ -28,6 +28,12 @@
|
||||
function mainscreen()
|
||||
{
|
||||
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
|
||||
|
||||
function display_section($appname,$file,$file2='')
|
||||
{
|
||||
$GLOBALS['phpgw']->common->display_mainscreen($appname,$file2 ? $file2 : $file);
|
||||
}
|
||||
|
||||
$GLOBALS['phpgw']->hooks->process('admin');
|
||||
|
||||
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list' => $GLOBALS['phpgw']->common->output));
|
||||
|
Loading…
Reference in New Issue
Block a user