2013-05-10 Miguel de Dios <miguel.dedios@artica.es>

* operation/snmpconsole/snmp_browser.php: fixed the url to pure.
	
	Fixes: #2212




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-05-10 12:28:26 +00:00
parent e07b3e4aef
commit fcf7e18a2f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-05-10 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_browser.php: fixed the url to pure.
Fixes: #2212
2013-05-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Added to Server performance

View File

@ -26,7 +26,7 @@ if (is_ajax()) {
$action = (string) get_parameter ("action", "");
$target_ip = (string) get_parameter ("target_ip", '');
$community = (string) get_parameter ("community", '');
// SNMP browser
if ($action == "snmptree") {
$starting_oid = (string) get_parameter ("starting_oid", '.');
@ -66,7 +66,7 @@ if (! check_acl ($config['id_user'], 0, "AR")) {
}
// Header
$url = 'index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_browser&refr=' . $config["refr"] . '&pure=' . $config["pure"];
$url = 'index.php?sec=snmpconsole&sec2=operation/snmpconsole/snmp_browser&pure=' . $config["pure"];
if ($config["pure"]) {
// Windowed
$link['text'] = '<a target="_top" href="'.$url.'&pure=0&refr=30">' . html_print_image("images/normal_screen.png", true, array("title" => __('Normal screen'))) . '</a>';