mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
2013-09-27 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php godmode/events/events.php: Fix some sec parameters to higlight correct menu sections when events sections are active * godmode/agentes/agent_wizard.snmp_explorer.php: Change error message to help user to understand result of snmp walk * godmode/agentes/module_manager_editor_network.php: Increase the modal window of snmp walk git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bb2d94f88c
commit
4dc7e90a88
@ -1,3 +1,16 @@
|
|||||||
|
2013-09-27 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* operation/events/events.php
|
||||||
|
godmode/events/events.php: Fix some sec parameters to
|
||||||
|
higlight correct menu sections when events sections are
|
||||||
|
active
|
||||||
|
|
||||||
|
* godmode/agentes/agent_wizard.snmp_explorer.php: Change error
|
||||||
|
message to help user to understand result of snmp walk
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager_editor_network.php: Increase
|
||||||
|
the modal window of snmp walk
|
||||||
|
|
||||||
2013-09-26 Miguel de Dios <miguel.dedios@artica.es>
|
2013-09-26 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/javascript/jquery.pandora.js: change the style of dialog
|
* include/javascript/jquery.pandora.js: change the style of dialog
|
||||||
|
@ -631,7 +631,7 @@ html_print_submit_button(__('SNMP Walk'), 'snmp_walk', false, array('class' => '
|
|||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
|
||||||
if ($snmpwalk && $fail) {
|
if ($snmpwalk && $fail) {
|
||||||
ui_print_error_message(__('Unable to do SNMP walk'));
|
ui_print_error_message('<br>' . __('No data found') . '<br><br>' . __('If the device is a network device, try with the SNMP Interfaces wizard'));
|
||||||
}
|
}
|
||||||
|
|
||||||
unset($table);
|
unset($table);
|
||||||
|
@ -329,8 +329,8 @@ function snmpBrowserWindow () {
|
|||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
background: "black"
|
background: "black"
|
||||||
},
|
},
|
||||||
width: 700,
|
width: 730,
|
||||||
height: 400
|
height: 430
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,16 +31,16 @@ $section = (string) get_parameter ("section", "filter");
|
|||||||
// Draws header
|
// Draws header
|
||||||
$buttons['view'] = array('active' => false,
|
$buttons['view'] = array('active' => false,
|
||||||
'text' => '<a href="index.php?sec=eventos&sec2=operation/events/events&pure='.$config['pure'].'">' .
|
'text' => '<a href="index.php?sec=eventos&sec2=operation/events/events&pure='.$config['pure'].'">' .
|
||||||
html_print_image("images/operation.png", true, array("title" => __('View events'))) . '</a>',
|
html_print_image("images/events_list.png", true, array("title" => __('Event list'))) . '</a>',
|
||||||
'operation' => true);
|
'operation' => true);
|
||||||
|
|
||||||
$buttons['filter'] = array('active' => false,
|
$buttons['filter'] = array('active' => false,
|
||||||
'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&section=filter&pure='.$config['pure'].'">' .
|
'text' => '<a href="index.php?sec=eventos&sec2=godmode/events/events&section=filter&pure='.$config['pure'].'">' .
|
||||||
html_print_image("images/filter_mc.png", true, array ("title" => __('Create filter'))) . '</a>');
|
html_print_image("images/filter_mc.png", true, array ("title" => __('Create filter'))) . '</a>');
|
||||||
|
|
||||||
if (check_acl ($config["id_user"], 0, "PM")) {
|
if (check_acl ($config["id_user"], 0, "PM")) {
|
||||||
$buttons['responses'] = array('active' => false,
|
$buttons['responses'] = array('active' => false,
|
||||||
'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&section=responses&pure='.$config['pure'].'">' .
|
'text' => '<a href="index.php?sec=eventos&sec2=godmode/events/events&section=responses&pure='.$config['pure'].'">' .
|
||||||
html_print_image("images/event_responses.png", true, array ("title" => __('Event responses'))) . '</a>');
|
html_print_image("images/event_responses.png", true, array ("title" => __('Event responses'))) . '</a>');
|
||||||
|
|
||||||
if (! defined ('METACONSOLE')) {
|
if (! defined ('METACONSOLE')) {
|
||||||
|
@ -293,7 +293,7 @@ if ($config["pure"] == 0 || $meta) {
|
|||||||
if (check_acl ($config["id_user"], 0, "EW")) {
|
if (check_acl ($config["id_user"], 0, "EW")) {
|
||||||
// Manage events
|
// Manage events
|
||||||
$manage_events['active'] = false;
|
$manage_events['active'] = false;
|
||||||
$manage_events['text'] = '<a href="index.php?sec=geventos&sec2=godmode/events/events&section=filter&pure='.$config['pure'].'">' .
|
$manage_events['text'] = '<a href="index.php?sec=eventos&sec2=godmode/events/events&section=filter&pure='.$config['pure'].'">' .
|
||||||
html_print_image("images/setup.png", true, array ("title" => __('Manage events'))) . '</a>';
|
html_print_image("images/setup.png", true, array ("title" => __('Manage events'))) . '</a>';
|
||||||
|
|
||||||
$manage_events['godmode'] = true;
|
$manage_events['godmode'] = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user