use dcPage open/close module

2.28
Jean-Christian Paul Denis 2023-03-05 23:36:01 +01:00
parent 5c4d067d41
commit 0e267a8299
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 9 additions and 12 deletions

View File

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