diff --git a/pandora_console/extensions/dbmanager.php b/pandora_console/extensions/dbmanager.php index 76c076e0af..ffcc2fdb72 100644 --- a/pandora_console/extensions/dbmanager.php +++ b/pandora_console/extensions/dbmanager.php @@ -76,10 +76,6 @@ function dbmgr_extension_main() global $config; - if (is_metaconsole() === true) { - open_meta_frame(); - } - if (!is_user_admin($config['id_user'])) { db_pandora_audit( AUDIT_LOG_ACL_VIOLATION, @@ -92,7 +88,21 @@ function dbmgr_extension_main() $sql = (string) get_parameter('sql'); $node_id = (int) get_parameter('node_id', -1); - ui_print_page_header(__('Database interface'), 'images/gm_db.png', false, false, true); + // Header. + ui_print_standard_header( + __('Database interface'), + 'images/gm_db.png', + false, + '', + true, + [], + [ + [ + 'link' => '', + 'label' => __('Extensions'), + ], + ] + ); if (is_metaconsole() === true) { $img = '../../images/warning_modern.png'; @@ -285,10 +295,6 @@ function dbmgr_extension_main() html_print_table($table); echo ''; - if (is_metaconsole()) { - close_meta_frame(); - } - } diff --git a/pandora_console/godmode/setup/license.php b/pandora_console/godmode/setup/license.php index 062b897eb2..7378a0b0f2 100644 --- a/pandora_console/godmode/setup/license.php +++ b/pandora_console/godmode/setup/license.php @@ -42,22 +42,24 @@ if (! check_acl($config['id_user'], 0, 'PM')) { $update_settings = (bool) get_parameter_post('update_settings'); -if (is_metaconsole()) { - // Metaconsole. - ui_require_javascript_file_enterprise('load_enterprise', true); - enterprise_include_once('include/functions_license.php'); -} else { - ui_print_page_header( - __('License management'), - 'images/extensions.png', - false, - '', - true - ); +ui_require_javascript_file_enterprise('load_enterprise', is_metaconsole() === true); +enterprise_include_once('include/functions_license.php'); - ui_require_javascript_file_enterprise('load_enterprise'); - enterprise_include_once('include/functions_license.php'); -} +// Header. +ui_print_standard_header( + __('License management'), + 'images/extensions.png', + false, + '', + true, + [], + [ + [ + 'link' => '', + 'label' => __('License'), + ], + ] +); enterprise_include_once('include/functions_crypto.php'); @@ -135,81 +137,201 @@ if (enterprise_installed()) { '; +echo '
'; if (is_metaconsole()) { ui_require_css_file('pandora_enterprise', ENTERPRISE_DIR.'/include/styles/'); ui_require_css_file('register', 'include/styles/'); @@ -220,7 +342,6 @@ if (is_metaconsole()) { } if (enterprise_hook('print_activate_licence_dialog') == ENTERPRISE_NOT_HOOK) { - echo ''; echo '