mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
#8898 Added options icon
This commit is contained in:
parent
9b3661bca1
commit
08da6de1da
@ -200,6 +200,21 @@ if ($edit_networkmap) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$button = [];
|
||||||
|
if ($edit_networkmap) {
|
||||||
|
$button['map'] = [
|
||||||
|
'active' => false,
|
||||||
|
'text' => '<a href="index.php?sec=network&sec2=operation/agentes/pandora_networkmap&tab=view&id_networkmap='.$id.'">'.html_print_image(
|
||||||
|
'images/op_network.png',
|
||||||
|
true,
|
||||||
|
[
|
||||||
|
'title' => __('View map'),
|
||||||
|
'class' => 'invert_filter',
|
||||||
|
]
|
||||||
|
).'</a>',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
// Header.
|
// Header.
|
||||||
ui_print_standard_header(
|
ui_print_standard_header(
|
||||||
__('Network maps editor'),
|
__('Network maps editor'),
|
||||||
@ -207,7 +222,7 @@ ui_print_standard_header(
|
|||||||
false,
|
false,
|
||||||
'network_map_enterprise_edit',
|
'network_map_enterprise_edit',
|
||||||
false,
|
false,
|
||||||
[],
|
$button,
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
'link' => '',
|
'link' => '',
|
||||||
|
@ -2292,6 +2292,17 @@ if ($networkmap === false) {
|
|||||||
]
|
]
|
||||||
).'</a>',
|
).'</a>',
|
||||||
];
|
];
|
||||||
|
$buttons['option'] = [
|
||||||
|
'active' => false,
|
||||||
|
'text' => '<a href="index.php?sec=network&sec2=operation/agentes/pandora_networkmap&tab=edit&edit_networkmap=1&id_networkmap='.$id.'">'.html_print_image(
|
||||||
|
'images/setup.png',
|
||||||
|
true,
|
||||||
|
[
|
||||||
|
'title' => __('Options'),
|
||||||
|
'class' => 'invert_filter',
|
||||||
|
]
|
||||||
|
).'</a>',
|
||||||
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user