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:
zarzuelo 2013-09-27 10:18:27 +00:00
parent bb2d94f88c
commit 4dc7e90a88
5 changed files with 20 additions and 7 deletions

View File

@ -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>
* include/javascript/jquery.pandora.js: change the style of dialog

View File

@ -631,7 +631,7 @@ html_print_submit_button(__('SNMP Walk'), 'snmp_walk', false, array('class' => '
echo "</div>";
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);

View File

@ -329,8 +329,8 @@ function snmpBrowserWindow () {
opacity: 0.5,
background: "black"
},
width: 700,
height: 400
width: 730,
height: 430
});
}

View File

@ -31,16 +31,16 @@ $section = (string) get_parameter ("section", "filter");
// Draws header
$buttons['view'] = array('active' => false,
'text' => '<a href="index.php?sec=eventos&sec2=operation/events/events&amp;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);
$buttons['filter'] = array('active' => false,
'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&amp;section=filter&amp;pure='.$config['pure'].'">' .
'text' => '<a href="index.php?sec=eventos&sec2=godmode/events/events&amp;section=filter&amp;pure='.$config['pure'].'">' .
html_print_image("images/filter_mc.png", true, array ("title" => __('Create filter'))) . '</a>');
if (check_acl ($config["id_user"], 0, "PM")) {
$buttons['responses'] = array('active' => false,
'text' => '<a href="index.php?sec=geventos&sec2=godmode/events/events&amp;section=responses&amp;pure='.$config['pure'].'">' .
'text' => '<a href="index.php?sec=eventos&sec2=godmode/events/events&amp;section=responses&amp;pure='.$config['pure'].'">' .
html_print_image("images/event_responses.png", true, array ("title" => __('Event responses'))) . '</a>');
if (! defined ('METACONSOLE')) {

View File

@ -293,7 +293,7 @@ if ($config["pure"] == 0 || $meta) {
if (check_acl ($config["id_user"], 0, "EW")) {
// Manage events
$manage_events['active'] = false;
$manage_events['text'] = '<a href="index.php?sec=geventos&sec2=godmode/events/events&amp;section=filter&amp;pure='.$config['pure'].'">' .
$manage_events['text'] = '<a href="index.php?sec=eventos&sec2=godmode/events/events&amp;section=filter&amp;pure='.$config['pure'].'">' .
html_print_image("images/setup.png", true, array ("title" => __('Manage events'))) . '</a>';
$manage_events['godmode'] = true;