mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Added standard headers
This commit is contained in:
parent
dbb7fe364f
commit
0dc1ec449c
@ -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';
|
||||||
|
|
||||||
|
@ -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'),
|
||||||
|
],
|
||||||
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -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)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user