Added standard headers

This commit is contained in:
José González 2021-04-30 14:44:03 +02:00
parent dbb7fe364f
commit 0dc1ec449c
3 changed files with 17 additions and 10 deletions

View File

@ -1,9 +1,8 @@
<?php <?php
/** /**
* Extension to manage a list of gateways and the node address where they should * User edition.
* point to.
* *
* @category Extensions * @category Operation
* @package Pandora FMS * @package Pandora FMS
* @subpackage Community * @subpackage Community
* @version 1.0.0 * @version 1.0.0
@ -29,6 +28,7 @@
global $config; global $config;
$headerTitle = __('User detail editor');
// Load the header. // Load the header.
require $config['homedir'].'/operation/users/user_edit_header.php'; require $config['homedir'].'/operation/users/user_edit_header.php';

View File

@ -113,17 +113,23 @@ if (is_metaconsole()) {
$tab_name = 'User Notifications'; $tab_name = 'User Notifications';
} }
ui_print_page_header( // Header.
__('User detail editor'), ui_print_standard_header(
$headerTitle,
'images/user.png', 'images/user.png',
false, false,
$helpers, $helpers,
false, false,
$buttons, $buttons,
false, [
'', [
GENERIC_SIZE_TEXT, 'link' => '',
'', 'label' => __('Workspace'),
__('Workspace').ui_print_breadcrums($tab_name) ],
[
'link' => '',
'label' => __('Edit user'),
],
]
); );
} }

View File

@ -33,6 +33,7 @@ global $config;
require_once $config['homedir'].'/include/functions_notifications.php'; require_once $config['homedir'].'/include/functions_notifications.php';
// Load the header. // Load the header.
$headerTitle = __('User notifications');
require $config['homedir'].'/operation/users/user_edit_header.php'; require $config['homedir'].'/operation/users/user_edit_header.php';
if (get_parameter('change_label', 0)) { if (get_parameter('change_label', 0)) {