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