use dcPage open/close module

This commit is contained in:
Jean-Christian Paul Denis 2023-03-05 23:36:01 +01:00
parent 5c4d067d41
commit 0e267a8299
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -300,17 +300,16 @@ class Manage extends dcNsProcess
);
# Display
echo
'<html><head><title>' . __('pacKman') . '</title>' .
dcPage::openModule(
__('pacKman'),
dcPage::jsPageTabs() .
dcPage::jsModuleLoad(self::$pid . '/js/packman.js');
dcPage::jsModuleLoad(self::$pid . '/js/packman.js') .
# --BEHAVIOR-- packmanAdminHeader
dcCore::app()->callBehavior('packmanAdminHeader');
dcCore::app()->callBehavior('packmanAdminHeader')
);
echo
'</head><body>' .
dcPage::breadcrumb([
__('Plugins') => '',
__('pacKman') => '',
@ -365,8 +364,6 @@ class Manage extends dcNsProcess
dcCore::app()->callBehavior('packmanAdminTabs');
dcPage::helpBlock('pacKman');
echo
'</body></html>';
dcPage::closeModule();
}
}