From 544fe1c36cf194b69c3279d7c7344776c74a28d9 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 6 Feb 2015 13:15:15 +0100 Subject: [PATCH] Fixed the links of extension 'agents modules' when it is setted the ACL enterprise. TICKET: #1780 --- pandora_console/extensions/agents_modules.php | 39 ++++++++++++++++--- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index c05cc0cb95..5b322ce2c9 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -160,7 +160,7 @@ function mainAgentsModules() { if ($config["pure"] == 1) { $block = count($modules_by_name); } - + $filter_groups = array ('offset' => (int) $offset, 'limit' => (int) $config['block_size'], 'disabled' => 0,'id_agente'=>$agents); @@ -184,8 +184,22 @@ function mainAgentsModules() { if ($hor_offset > 0) { $new_hor_offset = $hor_offset-$block; - echo "" . - "".html_print_image("images/darrowleft.png",true, array('title' => __('Previous modules')))." "; + echo "" . + "" . + html_print_image("images/darrowleft.png", true, + array('title' => __('Previous modules'))) . + "" . + ""; } $nmodules = 0; foreach ($modules_by_name as $module) { @@ -208,7 +222,22 @@ function mainAgentsModules() { if (($hor_offset + $block) < $nmodules) { $new_hor_offset = $hor_offset+$block; - echo "".html_print_image("images/darrowright.png",true, array('title' => __('More modules')))." "; + echo "" . + "" . + html_print_image( + "images/darrowright.png", true, + array('title' => __('More modules'))) . + "" . + ""; } echo ""; @@ -306,7 +335,7 @@ function mainAgentsModules() { echo ""; echo "
"; - + echo ""; echo ""; echo "";
" . __('Legend') . "
" . __("Orange cell when the module has fired alerts") . "