From 23035406aacd8dddf4d249e1d73cbbe6e1b5942d Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 24 May 2026 21:56:55 +0100 Subject: Fix jstab compile error in inc_2: always open jstabs, conditionalise Videos tab only Smarty validates block tag pairs at compile time so {jstab} cannot be wrapped in {if}. jstabs/Pictures tab are always present; Videos jstab is conditional inside the already-open jstabs block. Co-Authored-By: Claude Sonnet 4.6 --- gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl b/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl index 3d49bcb..a13630f 100644 --- a/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl +++ b/gallery_views/galleriffic/fisheye_galleriffic_inc_2.tpl @@ -20,7 +20,8 @@ {/if} {/foreach} -{if $hasVideos}{jstabs}{jstab title="Pictures"}{/if} +{jstabs} +{jstab title="Pictures"} {/strip} -- cgit v1.3