mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch 'ent-5673-Mala-visualizacion-de-modulos-con-caracteres-japones' into 'develop'
Fixed errors encoding See merge request artica/pandorafms!3234
This commit is contained in:
commit
86afda25fe
@ -703,6 +703,10 @@ foreach ($modules as $module) {
|
||||
$module_interval2 = $module['module_interval'];
|
||||
$module_group2 = $module['id_module_group'];
|
||||
|
||||
if ($module['id_modulo'] == MODULE_DATA && $module['id_policy_module'] != 0) {
|
||||
$nombre_modulo = utf8_decode($module['nombre']);
|
||||
}
|
||||
|
||||
$data = [];
|
||||
|
||||
if (!$checked) {
|
||||
@ -834,7 +838,7 @@ foreach ($modules as $module) {
|
||||
|
||||
$data[6] = ui_print_status_image($status, htmlspecialchars($title), true);
|
||||
|
||||
// MAX / MIN values
|
||||
// MAX / MIN values.
|
||||
if ($module['id_tipo_modulo'] != 25) {
|
||||
$data[7] = ui_print_module_warn_value(
|
||||
$module['max_warning'],
|
||||
|
@ -1013,10 +1013,8 @@ if (check_login()) {
|
||||
$data[3] .= ' <a class="relations_details" href="ajax.php?page=operation/agentes/estado_monitores&get_relations_tooltip=1&id_agente_modulo='.$module['id_agente_modulo'].'">'.html_print_image('images/link2.png', true, ['id' => 'relations-details-'.$module['id_agente_modulo'], 'class' => 'img_help']).'</a> ';
|
||||
}
|
||||
|
||||
|
||||
$data[4] = ui_print_string_substr($module['descripcion'], 60, true, 8);
|
||||
|
||||
|
||||
if ($module['datos'] != strip_tags($module['datos'])) {
|
||||
$module_value = io_safe_input($module['datos']);
|
||||
} else {
|
||||
|
@ -123,7 +123,6 @@ function treeview_printModuleTable($id_module, $server_data=false, $no_head=fals
|
||||
$row['data'] = $module_group;
|
||||
$table->data['module_group'] = $row;
|
||||
|
||||
// Description.
|
||||
$row = [];
|
||||
$row['title'] = __('Description');
|
||||
$row['data'] = ui_print_truncate_text(
|
||||
|
Loading…
x
Reference in New Issue
Block a user