added some compatibility, by allowing to still use the old display_section function

This commit is contained in:
Ralf Becker 2003-04-26 08:56:28 +00:00
parent eadf885246
commit 90ceda0ed1

View File

@ -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));