mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02: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()
|
function mainscreen()
|
||||||
{
|
{
|
||||||
$GLOBALS['phpgw']->xslttpl->add_file('app_data');
|
$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']->hooks->process('admin');
|
||||||
|
|
||||||
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list' => $GLOBALS['phpgw']->common->output));
|
$GLOBALS['phpgw']->xslttpl->set_var('phpgw',array('list' => $GLOBALS['phpgw']->common->output));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user