Added standard headers
This commit is contained in:
parent
dbb7fe364f
commit
0dc1ec449c
|
@ -1,9 +1,8 @@
|
|||
<?php
|
||||
/**
|
||||
* Extension to manage a list of gateways and the node address where they should
|
||||
* point to.
|
||||
* User edition.
|
||||
*
|
||||
* @category Extensions
|
||||
* @category Operation
|
||||
* @package Pandora FMS
|
||||
* @subpackage Community
|
||||
* @version 1.0.0
|
||||
|
@ -29,6 +28,7 @@
|
|||
|
||||
global $config;
|
||||
|
||||
$headerTitle = __('User detail editor');
|
||||
// Load the header.
|
||||
require $config['homedir'].'/operation/users/user_edit_header.php';
|
||||
|
||||
|
|
|
@ -113,17 +113,23 @@ if (is_metaconsole()) {
|
|||
$tab_name = 'User Notifications';
|
||||
}
|
||||
|
||||
ui_print_page_header(
|
||||
__('User detail editor'),
|
||||
// Header.
|
||||
ui_print_standard_header(
|
||||
$headerTitle,
|
||||
'images/user.png',
|
||||
false,
|
||||
$helpers,
|
||||
false,
|
||||
$buttons,
|
||||
false,
|
||||
'',
|
||||
GENERIC_SIZE_TEXT,
|
||||
'',
|
||||
__('Workspace').ui_print_breadcrums($tab_name)
|
||||
[
|
||||
[
|
||||
'link' => '',
|
||||
'label' => __('Workspace'),
|
||||
],
|
||||
[
|
||||
'link' => '',
|
||||
'label' => __('Edit user'),
|
||||
],
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ global $config;
|
|||
require_once $config['homedir'].'/include/functions_notifications.php';
|
||||
|
||||
// Load the header.
|
||||
$headerTitle = __('User notifications');
|
||||
require $config['homedir'].'/operation/users/user_edit_header.php';
|
||||
|
||||
if (get_parameter('change_label', 0)) {
|
||||
|
|
Loading…
Reference in New Issue