[Rebranding] Open godmode/<others>

This commit is contained in:
fermin831 2018-05-10 15:43:46 +02:00
parent d663553e8d
commit 358847ecef
11 changed files with 12 additions and 16 deletions

View File

@ -30,7 +30,7 @@ if (! check_acl ($config['id_user'], 0, "PM")) {
exit;
}
ui_print_page_header (__('Pandora audit')." &raquo; ".__('Review Logs'), "images/gm_log.png", false, "", true );
ui_print_page_header (__('%s audit', get_product_name())." &raquo; ".__('Review Logs'), "images/gm_log.png", false, "", true );
$offset = get_parameter ("offset", 0);
$tipo_log = get_parameter ("tipo_log", 'all');

View File

@ -538,11 +538,11 @@ if ($step == 2) {
$table->data[0][3] = html_print_checkbox ('special_day', 1, $special_day, true);
$table->data[1][0] = __('Time from') . ' ' .
ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true);
ui_print_help_tip(__('Watch format is hours (24h):minutes:seconds'), true);
$table->data[1][1] = html_print_input_text ('time_from', $time_from, '', 7, 8,
true);
$table->data[1][2] = __('Time to') . ' ' .
ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true);
ui_print_help_tip(__('Watch format is hours (24h):minutes:seconds'), true);
$table->data[1][3] = html_print_input_text ('time_to', $time_to, '', 7, 8,
true);

View File

@ -193,7 +193,7 @@ if (defined('METACONSOLE')) {
}
else {
ui_print_page_header (__("Groups defined in Pandora"),
ui_print_page_header (__("Groups defined in %s", get_product_name()),
"images/group.png", false, "", true, "");
$sec = 'gagente';

View File

@ -52,7 +52,7 @@ if (is_ajax ()) {
if (!is_metaconsole()) {
// Header
ui_print_page_header (__("Module groups defined in Pandora"), "images/module_group.png", false, "", true, "");
ui_print_page_header (__("Module groups defined in %s", get_product_name()), "images/module_group.png", false, "", true, "");
}
$create_group = (bool) get_parameter ('create_group');
$update_group = (bool) get_parameter ('update_group');

View File

@ -59,8 +59,6 @@ if ($edit_graph) {
$graphInTgraph = db_get_row_sql("SELECT * FROM tgraph WHERE id_graph = " . $id_graph);
$stacked = $graphInTgraph['stacked'];
$period = $graphInTgraph['period'];
$name = $graphInTgraph['name'];
$description = $graphInTgraph['description'];
$id_group = $graphInTgraph['id_group'];
$width = $graphInTgraph['width'];
$height = $graphInTgraph['height'];
@ -80,7 +78,6 @@ else {
$id_agent = 0;
$id_module = 0;
$id_group = 0;
$name = "Pandora FMS combined graph";
$width = 550;
$height = 210;
$period = SECONDS_1DAY;

View File

@ -888,7 +888,7 @@ You can of course remove the warnings, that's why we include the source and do n
<td>
<?php
echo __('Time from') .
ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true);
ui_print_help_tip(__('Watch format is hours (24h):minutes:seconds'), true);
?>
</td>
<td colspan="6"><?php html_print_input_text ('time_from', $time_from, '', 7, 8);?></td>
@ -897,7 +897,7 @@ You can of course remove the warnings, that's why we include the source and do n
<td>
<?php
echo __('Time to') .
ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds'), true);
ui_print_help_tip(__('Watch format is hours (24h):minutes:seconds'), true);
?>
</td>
<td colspan="6"><?php html_print_input_text ('time_to', $time_to, '', 7, 8);?></td>

View File

@ -328,7 +328,7 @@ $table->data["all_8"][2] = '<span id="parent_column_2_item_in_visual_map">' .
__('Item in the map') . '</span>' .
'<span id="parent_column_2_relationship">' .
ui_print_help_tip(
__('The parent relationships in Pandora will be drawn in the map.'), true) .
__('The parenting relationships in %s will be drawn on the map.', get_product_name()), true) .
'</span>';
$table->data["all_8"][3] = '<span id="parent_column_3_item_in_visual_map">' .
html_print_select($parents, 'item_in_the_map', 0, '',

View File

@ -186,11 +186,10 @@ if (!$modify){
ui_print_page_header (__('Manage recontask'), "", false, "recontask", true);
}
$is_windows = strtoupper(substr(PHP_OS, 0, 3)) == 'WIN';
if ($is_windows) {
echo '<div class="notify">';
echo __('Warning') . ": " . __("By default, in Windows, Pandora FMS only support Standard network sweep, not custom scripts");
echo __('Warning') . ": " . __("By default, in Windows, %s only support Standard network sweep, not custom scripts", get_product_name());
echo '</div>';
}

View File

@ -82,7 +82,7 @@ elseif (isset($_GET["server_remote"])) {
}
else {
// Header
ui_print_page_header (__('Pandora servers'), "images/gm_servers.png", false, "servers", true);
ui_print_page_header (__('%s servers', get_product_name()), "images/gm_servers.png", false, "servers", true);
// Move SNMP modules back to the enterprise server
if (isset($_GET["server_reset_snmp_enterprise"])) {

View File

@ -561,7 +561,7 @@ else {
$sec = 'advanced';
}
else {
ui_print_page_header (__('Plugins registered in Pandora FMS'), "images/gm_servers.png", false, "", true);
ui_print_page_header (__('Plug-ins registered on %s', get_product_name()), "images/gm_servers.png", false, "", true);
$is_windows = strtoupper(substr(PHP_OS, 0, 3)) == 'WIN';
if ($is_windows) {

View File

@ -225,7 +225,7 @@ if (($create != "") OR ($view != "")) {
echo '</form></table>';
}
else {
ui_print_page_header (__('Recon scripts registered in Pandora FMS'), "images/gm_servers.png", false, "", true);
ui_print_page_header (__('Recon scripts registered on %s', get_product_name()), "images/gm_servers.png", false, "", true);
// Update reconscript
if (isset($_GET["update_reconscript"])) { // if modified any parameter