[Rebranding] Open operation/agents

This commit is contained in:
Fermin 2018-05-11 15:17:53 +02:00
parent 9cf7fee2c0
commit 29f56df1fd
5 changed files with 8 additions and 16 deletions

View File

@ -264,7 +264,7 @@ if (!empty($result_groups)) {
else {
$hint = '';
if (enterprise_hook('agents_is_using_secondary_groups')) {
$hint = ui_print_help_tip(__("This Pandora installation are using the secondary groups feature. For this reason, an agent can be counted several times."));
$hint = ui_print_help_tip(__("This %s installation are using the secondary groups feature. For this reason, an agent can be counted several times.", get_product_name()));
}
echo $link . $group_name . "</a>" . $hint;
}

View File

@ -80,7 +80,7 @@ $interface_traffic_modules = array(
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pandora FMS Graph (<?php echo agents_get_alias($agent_id) . ' - ' . $interface_name; ?>)</title>
<title><?php echo __('%s Interface Graph', get_product_name()) . ' (' .agents_get_alias($agent_id) . ' - ' . $interface_name; ?>)</title>
<link rel="stylesheet" href="../../include/styles/pandora_minimal.css" type="text/css" />
<link rel="stylesheet" href="../../include/styles/jquery-ui-1.10.0.custom.css" type="text/css" />
<script type='text/javascript' src='../../include/javascript/pandora.js'></script>
@ -228,7 +228,7 @@ $interface_traffic_modules = array(
$side_layer_params = array();
// TOP TEXT
$side_layer_params['top_text'] = "<div style='color: white; width: 100%; text-align: center; font-weight: bold; vertical-align: top;'>" . html_print_image('/images/config.disabled.png', true, array('width' => '16px'),false,false,false,true) . ' ' . __('Pandora FMS Graph configuration menu') . "</div>";
$side_layer_params['top_text'] = "<div style='color: white; width: 100%; text-align: center; font-weight: bold; vertical-align: top;'>" . html_print_image('/images/config.disabled.png', true, array('width' => '16px'),false,false,false,true) . ' ' . __('Graph configuration menu') . "</div>";
$side_layer_params['body_text'] = "<div class='menu_sidebar_outer'>";
$side_layer_params['body_text'] .=__('Please, make your changes and apply with the <i>Reload</i> button');

View File

@ -68,7 +68,7 @@ echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pandora FMS Realtime Module Graph</title>
<title><?php echo __("%s Realtime Module Graph", get_product_name());?></title>
<link rel="stylesheet" href="../../include/styles/pandora_minimal.css" type="text/css" />
<link rel="stylesheet" href="../../include/styles/jquery-ui-1.10.0.custom.css" type="text/css" />
<script type='text/javascript' src='../../include/javascript/pandora.js'></script>
@ -95,11 +95,3 @@ echo '<link rel="stylesheet" href="../../include/styles/pandora.css" type="text/
</body>
</html>
<?php
// Echo the script tags of the datepicker and the timepicker
// Modify the user language cause the ui.datepicker language files use - instead _
$custom_user_language = str_replace('_', '-', $user_language);
ui_require_jquery_file("ui.datepicker-" . $custom_user_language, "include/javascript/i18n/", true);
ui_include_time_picker(true);
?>

View File

@ -63,7 +63,7 @@ if (empty($last_data)) {
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pandora FMS Snapshot data view for module (<?php echo $label; ?>)</title>
<title><?php echo __("%s Snapshot data view for module (%s)", get_product_name(), $label); ?></title>
<script type='text/javascript' src='../../include/javascript/jquery-1.7.1.js'></script>
</head>
<body style='background:#000; color: #ccc;'>

View File

@ -77,7 +77,7 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Pandora FMS Graph (<?php echo $alias . ' - ' . $label; ?>)</title>
<title><?php echo __("%s Graph", get_product_name()) . ' (' . $alias . ' - ' . $label; ?>)</title>
<link rel="stylesheet" href="../../include/styles/pandora_minimal.css" type="text/css" />
<link rel="stylesheet" href="../../include/styles/jquery-ui-1.10.0.custom.css" type="text/css" />
<script type='text/javascript' src='../../include/javascript/pandora.js'></script>
@ -297,7 +297,7 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
$params = array();
// TOP TEXT
//Use the no_meta parameter because this image is only in the base console
$params['top_text'] = "<div style='color: white; width: 100%; text-align: center; font-weight: bold; vertical-align: top;'>" . html_print_image('images/wrench_blanco.png', true, array('width' => '16px'), false, false, true) . ' ' . __('Pandora FMS Graph configuration menu') . ui_print_help_icon ("graphs",true, $config["homeurl"], "images/help_w.png", true) . "</div>";
$params['top_text'] = "<div style='color: white; width: 100%; text-align: center; font-weight: bold; vertical-align: top;'>" . html_print_image('images/wrench_blanco.png', true, array('width' => '16px'), false, false, true) . ' ' . __('Graph configuration menu') . ui_print_help_icon ("graphs",true, $config["homeurl"], "images/help_w.png", true) . "</div>";
$params['body_text'] = "<div class='menu_sidebar_outer'>";
$params['body_text'] .=__('Please, make your changes and apply with the <i>Reload</i> button');
@ -385,7 +385,7 @@ $alias = db_get_value ("alias","tagente","id_agente",$id_agent);
(bool)$draw_events, true, $disabled);
if ($disabled) {
$data[1] .= ui_print_help_tip(
__('Show events is disabled because this Pandora node is set the event replication.'), true);
__("'Show events' is disabled because this %s node is set to event replication.", get_product_name()), true);
}
$table->data[] = $data;
$table->rowclass[] = '';