From 493455d3e046ad4a195c2c6d9165937b16732051 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 13 Jun 2022 08:20:53 +0200 Subject: [PATCH] enable Nathan's new taglist/select multiple now for all taglist, but taglist-thumbnail --- api/etemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/etemplate.php b/api/etemplate.php index 23e3db8ac5..3033001e8f 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|label|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|link-apps|favorites)\s([^>]+)/>#m'; +const ADD_ET2_PREFIX_LEGACY_REGEXP = '#<(description|label|image|vfs-mime|vfs-uid|vfs-gid|link|link-[a-z]+|favorites)\s([^>]+)/>#m'; // switch evtl. set output-compression off, as we can't calculate a Content-Length header with transparent compression ini_set('zlib.output_compression', 0); @@ -264,7 +264,7 @@ function send_template() if ($matches[1] === 'taglist') { - if (empty($matches[2]) || in_array(substr($matches[2], 1), ['cat'])) + if (empty($matches[2]) || !in_array(substr($matches[2], 1), ['thumbnail'])) { $matches[1] = 'select'; }