diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bf8db62135..e9558df2fe 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2011-03-22 Raul Mateos + + * extensions/resource_registration.php, + extensions/resource_exporation.php, extensions/agent_modules.php: + Cleaned code and updated page disclaimers. + + * include/functions_reporting.php: Removed SVN errors in code. + 2011-03-22 Miguel de Dios * include/functions_config.php: fixed the update "collection_max_size" diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index 07b7df1c5c..12b14081f9 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -164,22 +164,22 @@ function mainAgentsModules() { $new_hor_offset = $hor_offset-$block; echo "".print_image("images/darrowleft.png",true, array('title' => __('Previous modules')))." "; } - $nmodules = 0; + $nmodules = 0; foreach($modules_by_name as $module) { $nmodules++; - + if($nmodules <= $hor_offset || $nmodules > ($hor_offset+$block)) { continue; } - + $file_name = string2image(printTruncateText($module['name'],15, false, true, false, '...'), 115, 13, 3, 270, '#9EAC8B', 'FFF', 4, 0); echo ''.print_image($file_name, true, array('title' => $module['name'])).""; } - - if(($hor_offset + $block) < $nmodules) { - $new_hor_offset = $hor_offset+$block; - echo "".print_image("images/darrowright.png",true, array('title' => __('More modules')))." "; - } + + if(($hor_offset + $block) < $nmodules) { + $new_hor_offset = $hor_offset+$block; + echo "".print_image("images/darrowright.png",true, array('title' => __('More modules')))." "; + } $filter_agents = false; if($group_id > 0) { @@ -276,7 +276,7 @@ function mainAgentsModules() { echo ""; - echo "

" . __("The colours meaning:") . + echo "

" . __("The colours meaning:") . "