diff --git a/api/etemplate.php b/api/etemplate.php index 4b079ec5a4..e8bce13fb1 100644 --- a/api/etemplate.php +++ b/api/etemplate.php @@ -17,7 +17,7 @@ const ADD_ET2_PREFIX_REGEXP = '#<((/?)([vh]?box|date(-time[^\s]*|-duration|-sinc const ADD_ET2_PREFIX_LAST_GROUP = 6; // unconditional of legacy add et2- prefix to this widgets -const ADD_ET2_PREFIX_LEGACY_REGEXP = '#<(description|searchbox|label|avatar|lavatar|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|favorites)\s([^>]+)/>#m'; +const ADD_ET2_PREFIX_LEGACY_REGEXP = '#<(description|searchbox|textbox|label|avatar|lavatar|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|favorites)\s([^>]+)/>#m'; const ADD_ET2_PREFIX_LEGACY_LAST_GROUP = 2; // switch evtl. set output-compression off, as we can't calculate a Content-Length header with transparent compression diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 82ab7c9478..9220be523c 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3325,7 +3325,8 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext self.nextmatch.applyFilters({search: this.get_value()}); }, value: settings.search || '', - fix: !egwIsMobile() + fix: !egwIsMobile(), + placeholder: egw.lang("Search"), }; // searchbox widget this.et2_searchbox = loadWebComponent('et2-searchbox', searchbox_options, this);