[Rebranding] Open godmode/agentes
This commit is contained in:
parent
33abfa7f9d
commit
d663553e8d
|
@ -409,8 +409,8 @@ if($id_agente){
|
|||
}
|
||||
|
||||
$table->data[2][0] = __('Safe operation mode')
|
||||
. ui_print_help_tip(__('This mode allow Pandora FMS to disable all modules
|
||||
of this agent while the selected module is on CRITICAL status'), true);
|
||||
. ui_print_help_tip(__('This mode allow %s to disable all modules
|
||||
of this agent while the selected module is on CRITICAL status', get_product_name()), true);
|
||||
$table->data[2][1] = html_print_checkbox('safe_mode', 1, $safe_mode, true);
|
||||
$table->data[2][1] .= " " . __('Module') . " " . html_print_select ($safe_mode_modules, "safe_mode_module", $safe_mode_module, "", "", 0, true);
|
||||
}
|
||||
|
|
|
@ -1791,7 +1791,7 @@ if ($updateGIS) {
|
|||
"altitude" => $previusAgentGISData['stored_altitude'],
|
||||
"start_timestamp" => $previusAgentGISData['start_timestamp'],
|
||||
"end_timestamp" => date( 'Y-m-d H:i:s'),
|
||||
"description" => __('Save by Pandora Console'),
|
||||
"description" => __('Save by %s Console', get_product_name()),
|
||||
"manual_placement" => $previusAgentGISData['manual_placement'],
|
||||
"number_of_packages" => $previusAgentGISData['number_of_packages'],
|
||||
"tagente_id_agente" => $previusAgentGISData['tagente_id_agente']
|
||||
|
@ -1806,7 +1806,7 @@ if ($updateGIS) {
|
|||
"stored_altitude" => $lastAltitude,
|
||||
"start_timestamp" => date( 'Y-m-d H:i:s'),
|
||||
"manual_placement" => 1,
|
||||
"description" => __('Update by Pandora Console')),
|
||||
"description" => __('Update by %s Console', get_product_name())),
|
||||
array("tagente_id_agente" => $idAgente));
|
||||
}
|
||||
else {
|
||||
|
@ -1819,7 +1819,7 @@ if ($updateGIS) {
|
|||
"stored_latitude" => $lastLatitude,
|
||||
"stored_altitude" => $lastAltitude,
|
||||
"manual_placement" => 1,
|
||||
"description" => __('Insert by Pandora Console')
|
||||
"description" => __('Insert by %s Console', get_product_name())
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ $viewtab['active'] = false;
|
|||
$onheader = array('view' => $viewtab);
|
||||
|
||||
// Header
|
||||
ui_print_page_header (__('Agents defined in Pandora'), "images/agent_mc.png", false, "", true, $onheader);
|
||||
ui_print_page_header (__('Agents defined in %s', get_product_name()), "images/agent_mc.png", false, "", true, $onheader);
|
||||
|
||||
// Perform actions
|
||||
$agent_to_delete = (int)get_parameter('borrar_agente');
|
||||
|
|
|
@ -493,12 +493,7 @@ switch ($moduletype) {
|
|||
/* WARNING: type 7 is reserved on enterprise */
|
||||
default:
|
||||
if (enterprise_include ('godmode/agentes/module_manager_editor.php') === ENTERPRISE_NOT_HOOK) {
|
||||
ui_print_error_message(sprintf(__('DEBUG: Invalid module type specified in %s:%s'), __FILE__, __LINE__));
|
||||
echo __('Most likely you have recently upgraded from an earlier version of Pandora and either <br />
|
||||
1) forgot to use the database converter<br />
|
||||
2) used a bad version of the database converter (see Bugreport #2124706 for the solution)<br />
|
||||
3) found a new bug - please report a way to duplicate this error');
|
||||
|
||||
ui_print_error_message(sprintf(__('Invalid module type')));
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -522,9 +522,9 @@ $table->data[5][1] = "
|
|||
"</td>
|
||||
<td>".
|
||||
html_print_input_text ('once_date_from', $once_date_from, '', 10, 10, true, $disabled_in_execution) .
|
||||
ui_print_help_tip(__('Date format in Pandora is year/month/day'), true) .
|
||||
ui_print_help_tip(__('Date format is YY/MM/DD'), true) .
|
||||
html_print_input_text ('once_time_from', $once_time_from, '', 9, 9, true, $disabled_in_execution) .
|
||||
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>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -533,9 +533,9 @@ $table->data[5][1] = "
|
|||
"</td>
|
||||
<td>".
|
||||
html_print_input_text ('once_date_to', $once_date_to, '', 10, 10, true) .
|
||||
ui_print_help_tip(__('Date format in Pandora is year/month/day'), true) .
|
||||
ui_print_help_tip(__('Date format is YY/MM/DD'), true) .
|
||||
html_print_input_text ('once_time_to', $once_time_to, '', 9, 9, true) .
|
||||
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>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -603,7 +603,7 @@ $table->data[5][1] = "
|
|||
html_print_input_text (
|
||||
'periodically_time_from',
|
||||
$periodically_time_from, '', 7, 7, true, $disabled_in_execution) .
|
||||
ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds').
|
||||
ui_print_help_tip(__('Watch format is hours (24h):minutes:seconds.').
|
||||
".<br>".__('The end time must be higher than the start time'), true) .
|
||||
"</td>
|
||||
<td>" . __('To hour:') . "</td>
|
||||
|
@ -611,7 +611,7 @@ $table->data[5][1] = "
|
|||
html_print_input_text (
|
||||
'periodically_time_to',
|
||||
$periodically_time_to, '', 7, 7, true, $disabled_in_execution) .
|
||||
ui_print_help_tip(__('Time format in Pandora is hours(24h):minutes:seconds').
|
||||
ui_print_help_tip(__('Watch format is hours (24h):minutes:seconds.').
|
||||
".<br>".__('The end time must be higher than the start time'), true) .
|
||||
"</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue