mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Merge branch 'ent-11548-widget-module-in-a-table-es-ilegible' into 'develop'
Ent 11548 widget module in a table es ilegible See merge request artica/pandorafms!6089
This commit is contained in:
commit
91615f5bd6
@ -351,12 +351,12 @@ class ModuleTableValueWidget extends Widget
|
|||||||
];
|
];
|
||||||
|
|
||||||
$fields = [
|
$fields = [
|
||||||
'
' => __('Carriage Return'),
|
htmlentities('

', ENT_QUOTES) => __('Carriage Return'),
|
||||||
'|' => __('Vertical Bar'),
|
'|' => __('Vertical Bar'),
|
||||||
';' => __('Semicolon'),
|
';' => __('Semicolon'),
|
||||||
':' => __('Colon'),
|
':' => __('Colon'),
|
||||||
',' => __('Commas'),
|
',' => __('Commas'),
|
||||||
' ' => __('Blank'),
|
htmlentities(' ', ENT_QUOTES) => __('Blank'),
|
||||||
];
|
];
|
||||||
|
|
||||||
$inputs[] = [
|
$inputs[] = [
|
||||||
@ -407,11 +407,11 @@ class ModuleTableValueWidget extends Widget
|
|||||||
$size_text = $this->values['sizeLabel'];
|
$size_text = $this->values['sizeLabel'];
|
||||||
|
|
||||||
$data_module = modules_get_last_value($id_module);
|
$data_module = modules_get_last_value($id_module);
|
||||||
$value = (string) $data_module;
|
$value = nl2br((string) $data_module);
|
||||||
|
|
||||||
$value = str_replace(
|
$value = str_replace(
|
||||||
io_safe_output($this->values['separator']),
|
'<br />',
|
||||||
'<br/>',
|
nl2br(io_safe_output(html_entity_decode($this->values['separator']))),
|
||||||
$value
|
$value
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user