mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
replacing all possible variants of br-tag with "\n"
This commit is contained in:
parent
77099cf331
commit
9816c79b72
@ -348,8 +348,8 @@ class preferences_settings
|
||||
$content[$tab][] = array(
|
||||
'name' => $setting['name'],
|
||||
'type' => $setting['type'],
|
||||
'label' => str_replace('<br>', "\n", $setting['label']),
|
||||
'help' => str_replace('<br>', "\n", $setting['help']),
|
||||
'label' => preg_replace('|<br[ /]*>|i', "\n", $setting['label']),
|
||||
'help' => preg_replace('|<br[ /]*>|i', "\n", $setting['help']),
|
||||
'size' => $setting['size'], // old eT
|
||||
'default' => !empty($default) ? lang('Default').': '.$default : null,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user