diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog
index 5b839f2b46..c97dcb99f9 100644
--- a/pandora_console/ChangeLog
+++ b/pandora_console/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-21 Raul Mateos
+
+ * extensions/*.php: Changed title for all extensions, improving common
+ apparence. By the way... It's my brithday!!!
+
2009-11-19 Miguel de Dios
* include/functions.php: change the "safe_input" for estandarize the input
diff --git a/pandora_console/extensions/dbmanager.php b/pandora_console/extensions/dbmanager.php
index 3dd143defc..d411856cea 100644
--- a/pandora_console/extensions/dbmanager.php
+++ b/pandora_console/extensions/dbmanager.php
@@ -55,7 +55,7 @@ function dbmgr_extension_main () {
$sql = (string) get_parameter ('sql');
- echo "Database interface
";
+ echo "".__('Extensions'). " » ".__('Database interface')."
";
echo '';
echo "This is an advanced extension to interface with Pandora FMS database directly from WEB console using native SQL sentences. Please note that you can damage your Pandora FMS installation if you don't know exactly what are you doing, this means that you can severily damage your setup using this extension. This extension is intended to be used only by experienced users with a depth knowledgue of Pandora FMS internals.";
echo '
';
diff --git a/pandora_console/extensions/hello.php b/pandora_console/extensions/hello.php
index 870204654a..a76859fce0 100644
--- a/pandora_console/extensions/hello.php
+++ b/pandora_console/extensions/hello.php
@@ -16,12 +16,12 @@
function hello_extension_main () {
/* Here you can do almost all you want! */
- echo "Hello world!
";
+ echo "".__('Extensions'). " » Hello world!
";
echo "This is a sample of minimal extension in the operation view";
}
function test() {
- echo "Hello administration world
";
+ echo "".__('Extensions'). " » Hello administration world
";
echo "This is a sample of minimal extension in the godmode view";
}
diff --git a/pandora_console/extensions/module_groups.php b/pandora_console/extensions/module_groups.php
index 19c4456e7f..ad1f21e626 100644
--- a/pandora_console/extensions/module_groups.php
+++ b/pandora_console/extensions/module_groups.php
@@ -38,9 +38,10 @@ function mainModuleGroups() {
WHERE id_module_group = %d AND disabled IS FALSE AND delete_pending IS FALSE)
GROUP BY estado";
- echo "" . __("Combine table of agent group and module group") . "
";
+ echo "".__('Extensions'). " » ";
+ echo __("Combined table of agent group and module group") . "
";
- echo "" . __("This table show in columns the modules group and for rows agents group. The cell show all modules") . "
";
+ echo "" . __("This table shows in columns the modules group and in rows agents group. The cell shows all modules") . "
";
$agentGroups = get_user_groups ($config['id_user']);
@@ -119,17 +120,23 @@ function mainModuleGroups() {
echo "" . __("The colours meaning:") .
"
" .
'-
-
' .
- __("Grey when the cell for this model group and agent group hasn't modules.") . " " .
+
' .
+ __("Red when the cell for this model group and agent has at least one module in critical state and the others in any state.") .
+ '' .
'-
-
' .
- __("Green when the cell for this model group and agent has OK state all modules.") . " " .
- '
' .
- __("Red when the cell for this model group and agent has at least one module in critical state and the rest in any state.") . " " .
- '
' .
- __("Yellow when the cell for this model group and agent has at least one in warning state and the rest in green state.") . " " .
+
' .
+ __("Yellow when the cell for this model group and agent has at least one in warning state and the others in green state.") .
+ '' .
+ '-
+
' .
+ __("Green when the cell for this model group and agent has OK state all modules.") .
+ ' ' .
+ '-
+
' .
+ __("Grey when the cell for this model group and agent group haven't modules.") .
+ ' ' .
"
" .
- "
";
+ "";
}
add_operation_menu_option("Modules groups", 'estado', 'module_groups/icon_menu.png');
diff --git a/pandora_console/extensions/plugin_registration.php b/pandora_console/extensions/plugin_registration.php
index 64c4e940f3..5ad2a3c41d 100644
--- a/pandora_console/extensions/plugin_registration.php
+++ b/pandora_console/extensions/plugin_registration.php
@@ -16,7 +16,7 @@
function pluginreg_extension_main () {
global $config;
- echo "Plugin registration
";
+ echo "".__('Extensions'). " » ".__('Plugin registration')."
";
echo "";
echo __("This extension makes registration of server plugins more easy. Here you can upload a server plugin in Pandora FMS 3.x zipped format (.pspz). Please refer to documentation on how to obtain and use Pandora FMS Server Plugins.
You can get more plugins in our
Public Resource Library");
diff --git a/pandora_console/extensions/update_manager/main.php b/pandora_console/extensions/update_manager/main.php
index 53e3c05949..5837d191f7 100644
--- a/pandora_console/extensions/update_manager/main.php
+++ b/pandora_console/extensions/update_manager/main.php
@@ -22,7 +22,7 @@ $db =& um_db_connect ('mysql', $config['dbhost'], $config['dbuser'],
$settings = um_db_load_settings ();
-echo '
'.__('Update manager').'
';
+echo '
'.__('Extensions'). " » ". __('Update manager').'
';
if ($settings->customer_key == FREE_USER) {
echo '
';