From 0e267a829934aa0ede4b4266ed5b0c7edcdd904d Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 5 Mar 2023 23:36:01 +0100 Subject: [PATCH] use dcPage open/close module --- src/Manage.php | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/src/Manage.php b/src/Manage.php index cc12400..def133d 100644 --- a/src/Manage.php +++ b/src/Manage.php @@ -300,17 +300,16 @@ class Manage extends dcNsProcess ); # Display - echo - '' . __('pacKman') . '' . - 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 - '' . + # --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 - ''; + dcPage::closeModule(); } }