From 7d65b8970e54db438710167b44957bd73ee17e8a Mon Sep 17 00:00:00 2001 From: raulmateos Date: Tue, 17 Aug 2010 17:58:39 +0000 Subject: [PATCH] 2010-08-17 Raul Mateos * extensions/agents_modules.php, extensions/module_groups.php: Use "status" instead "state". Change the order of colours, to maintain coherence with other pages. Few cosmetic and gramatical changes. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/extensions/agents_modules.php | 18 +++++++++--------- pandora_console/extensions/module_groups.php | 14 +++++++------- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 07dcb7f0f1..18e2199f6c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-08-17 Raúl Mateos + + * extensions/agents_modules.php, extensions/module_groups.php: Use + "status" instead "state". Change the order of colours, to maintain + coherence with other pages. Few cosmetic and gramatical changes. + 2010-08-17 Sergio Martin * godmode/agentes/massive_operations.php: Fixed the default tab diff --git a/pandora_console/extensions/agents_modules.php b/pandora_console/extensions/agents_modules.php index 4a5390694d..d50c3b3ff9 100644 --- a/pandora_console/extensions/agents_modules.php +++ b/pandora_console/extensions/agents_modules.php @@ -111,7 +111,7 @@ function mainAgentsModules() { echo ''; - echo ""; + echo ""; if($hor_offset > 0) { $new_hor_offset = $hor_offset-$block; @@ -227,23 +227,23 @@ function mainAgentsModules() { "
    " . '
  •  
    ' . - __("Orange cell when the module have fired alerts.") . + __("Orange cell when the module has fired alerts") . '
  • ' . '
  •  
    ' . - __("Red cell when the module have critical state.") . + __("Red cell when the module has a critical status") . '
  • ' . '
  •  
    ' . - __("Yellow cell when the module have warning state.") . - '
  • ' . - '
  • -
     
    ' . - __("Grey cell when the module have unknown state.") . + __("Yellow cell when the module has a warning status") . '
  • ' . '
  •  
    ' . - __("Green cell when the module have normal state.") . + __("Green cell when the module has a normal status") . + '
  • ' . + '
  • +
     
    ' . + __("Grey cell when the module has an unknown status") . '
  • ' . "
" . "

"; diff --git a/pandora_console/extensions/module_groups.php b/pandora_console/extensions/module_groups.php index 4e7518529a..6bb4576637 100644 --- a/pandora_console/extensions/module_groups.php +++ b/pandora_console/extensions/module_groups.php @@ -135,19 +135,19 @@ function mainModuleGroups() { "
    " . '
  •  
    ' . - __("Red cell when the module group and agent have at least one module in critical state and the others in any state.") . + __("Red cell when the module group and agent have at least one module in critical status and the others in any status") . '
  • ' . '
  •  
    ' . - __("Yellow cell when the module group and agent have at least one in warning state and the others in grey or green state.") . - '
  • ' . - '
  • -
     
    ' . - __("Grey cell when the module group and agent have at least one in unknown state and the others in green state.") . + __("Yellow cell when the module group and agent have at least one in warning status and the others in grey or green status") . '
  • ' . '
  •  
    ' . - __("Green cell when the module group and agent have all modules in OK state.") . + __("Green cell when the module group and agent have all modules in OK status") . + '
  • ' . + '
  • +
     
    ' . + __("Grey cell when the module group and agent have at least one in unknown status and the others in green status") . '
  • ' . "
" . "

";
".__("Agents")." \\ ".__("Modules")."".__("Agents")." / ".__("Modules")."